details
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<%= simple_form_for @post do |f|%>
|
||||
<%= f.input :title, :label => false %>
|
||||
<%= f.input :content, :label => false %>
|
||||
<%= f.input :content, :label => false, input_html: {class: "full-width vertical"} %>
|
||||
<%= f.submit "Update Post", :id => "edit_create_post" %>
|
||||
<% end %>
|
||||
<div id="delete_post">
|
||||
|
||||
@@ -15,5 +15,5 @@
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
<%= link_to 'Make new Post', new_blogpost_path if mod? %>
|
||||
<%= button_to 'Make new Post', new_blogpost_path, method: "get" if mod? %>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<h1>New Post</h1>
|
||||
<%= simple_form_for @post do |f|%>
|
||||
<%= f.input :title, :label => false %>
|
||||
<%= f.input :content, :label => false %>
|
||||
<%= f.input :content, :label => false, input_html: {class: "full-width vertical"} %>
|
||||
<%= f.submit "Update Post", :id => "edit_create_post" %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user