implements edit mode for post mode menu
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
</aside>
|
||||
|
||||
<section id="content">
|
||||
<%= render "posts/partials/index/edit" %>
|
||||
<%= render "wiki_pages/excerpt", :post_set => @post_set %>
|
||||
<%= render "posts/partials/index/posts", :post_set => @post_set %>
|
||||
</section>
|
||||
|
||||
8
app/views/posts/partials/index/_edit.html.erb
Normal file
8
app/views/posts/partials/index/_edit.html.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<div id="quick-edit-div">
|
||||
<h1>Edit</h1>
|
||||
|
||||
<%= form_tag("/posts", :class => "simple_form", :method => :put, :id => "quick-edit-form") do %>
|
||||
<%= text_area_tag "post[tag_string]", "" %>
|
||||
<%= submit_tag "Submit" %>
|
||||
<% end %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user