remove mini markdown renderer everywhere
was still used for comment emails etc
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<h1>Edit Info</h1>
|
||||
<%= form_for @info do |f|%>
|
||||
<%= f.text_field :title%>
|
||||
<%= render partial: "md_editor", locals: {name: "info[content]", content: @info.content, mini: false} %>
|
||||
<%= render partial: "md_editor", locals: {name: "info[content]", content: @info.content} %>
|
||||
<p><%= f.submit "Update Info", class: "btn blue left" %></p>
|
||||
<% end %>
|
||||
<p><%= button_to "Delete Info", @info, method: "delete", data: {confirm: "Delete Info forever?"}, class: "btn red right" %></p>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<h1>New Info</h1>
|
||||
<%= form_for @info, url: info_index_path do |f|%>
|
||||
<%= f.text_field :title, placeholder: "Title" %>
|
||||
<%= render partial: "md_editor", locals: {name: "info[content]", content: @info.content, mini: false} %>
|
||||
<%= render partial: "md_editor", locals: {name: "info[content]", content: @info.content} %>
|
||||
<p><%= f.submit "Create Info", class: "btn blue left" %></p>
|
||||
<div class="clear"></div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user