Title
<%= d.text_field :title %>
Abstract
<%= d.text_area :abstract %>
Body
<%= d.text_area :body, :class => 'with_editor' %>
<%= d.submit 'save' %>
<% end %>
<% end %>
% content_for :subnavigation do %> <%= link_to 'metadata', '#', :id => 'button', :class => "unselected" %> <%= link_to 'Show', @node %> <%= link_to 'Preview', preview_page_path(@draft) %> <%= button_to 'Publish', publish_node_path(@node), method: :put, form: { data: { confirm: "Publish this draft?" } } %> <%= link_to 'Revisions', node_revisions_path(@node) %> <% end %>