cirandas.net

ref: master

plugins/networks/views/networks_plugin_node/edit.html.erb


<%= t('views.node.edit.title', :node => link_to(@node.name, @node.url, :target => '_blank')) %>

<%= button :back, t('views.node.edit.back'), :controller => :networks_plugin_network, :action => :structure, :node_id => @node.parent.id %> <%= form_for @node,as: :profile_data, :html => { :id => 'profile-data', :multipart => true } do |f| %>

<%= t('views.node.edit.node_info') %>

<%= error_messages_for :node %>
<%= f.label :name, _('Name:') %> <%= f.text_field :name %>
<%= fields_for :home_page, @node.home_page do |ff| %> <%= ff.label :body, t('views.node.edit.presentation_text') %> <%= ff.text_area :body, :class => 'mceEditor' %> <% end %>
<% f.fields_for :image_builder, @node.image do |fi| %> <%= file_field_or_thumbnail _('Image:'), @node.image, fi %> <%= _("Max size: %s (.jpg, .gif, .png)") % Image.max_size.to_humanreadable %> <% end %>
<%= submit_button :save, _('Save') %> <% end %>

<%= t('views.node.edit.orders_management') %>

<%= render 'orders_management' %>

<%= _('Location') %>

<%= render 'location' %>