Sha256: 3c699e76d47ce21d6300e1a07d75cb6296cc93193a82e4fbddc397a4638b0ee4

Contents?: true

Size: 517 Bytes

Versions: 8

Compression:

Stored size: 517 Bytes

Contents

<h2>Edit Article</h2>

<%= split_form_for @article, :url => [:admin, @section, @article], :html => {:multipart => true, :method => :put} do |f| -%>
  <%= f.hidden_field :updated_at, :value => @article.updated_at %>
  <%= render :partial => 'form', :locals => {:f => f} %>  

  <%= content_for :sidebar do %>
    <div id="save">
      <p class="buttons">
        <%= submit_tag "Save", name: "save_revision" %>
        <%= link_to "Cancel", [:admin, @section, :articles] %>
      </p>
    </div>
  <% end %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adva-0.3.2 app/views/admin/page/articles/edit.html.erb
adva-0.3.1 app/views/admin/page/articles/edit.html.erb
adva-0.3.0 app/views/admin/page/articles/edit.html.erb
adva-0.2.4 app/views/admin/page/articles/edit.html.erb
adva-0.2.3 app/views/admin/page/articles/edit.html.erb
adva-0.2.2 app/views/admin/page/articles/edit.html.erb
adva-0.2.1 app/views/admin/page/articles/edit.html.erb
adva-0.2.0 app/views/admin/page/articles/edit.html.erb