<%= manage_form_for @structure do |f| %>
<%= f.input :title, :input_html => { :class => 'name text' } %> <%= f.input :redirect_url %>
<%= render :partial => 'manage/headers/form', :object => f %>
<% if @structure.moveable? %> <%= f.input :parent_id, :collection => nested_set_options(Structure) {|i| "#{'–' * i.depth} #{i.title}"}, :include_blank => false %> <% end %> <%= f.input :kind, :collection => StructureType.all, :include_blank => false %> <%= f.input :position, :collection => PositionType.all, :include_blank => false %>
<%= f.input :is_visible %>
<%= f.button :submit %> <% end %>