Sha256: 278316f1e640512d4d776dbed00d31325fb1b6adbc24c3f5a3725b0ba65196c9
Contents?: true
Size: 593 Bytes
Versions: 1
Compression:
Stored size: 593 Bytes
Contents
<%= page_id("#{resource_collection_name}_show") %> <%= page_title("Edit Post #{resource.title}") %> <h2 class='main_heading'>Edit Post</h2> <%= form_for(resource, as: :post, html: { remote: true }) do |f| %> <div id='edit_post_form'> <div class="post"> <h1 class='transit-editable' rel="post_title"><%= resource.title %></h1> <p class='timestamp'>Posted <%= resource.timestamp %></p> <%= render(template: 'transit/contexts/index', locals: { form: f }) %> </div> </div> <%= render(template: 'transit/interface/post_panel', locals: { form: f }) %> <%= f.hidden_field :title %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transit-0.0.2 | app/views/transit/posts/edit.html.erb |