Archived
deleted crap files, removed (not-that-)epic-editor
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
<p id="markdown-note">Note: You can use <%= link_to "Markdown", "https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet", target: "_blank" %>!</p>
|
||||
<%= simple_form_for @post do |f|%>
|
||||
<%= f.input :title, :label => false %>
|
||||
<%= f.hidden_field :content, id: "epic-textarea", :label => false, input_html: {class: "full-width vertical"} %>
|
||||
<div id="epic"></div>
|
||||
<%= f.hidden_field :content, :label => false, input_html: {class: "full-width vertical"} %>
|
||||
<%= f.submit "Update Post", class: "btn blue left" %>
|
||||
<% end %>
|
||||
<%= button_to "Delete post", @post, :method => "delete", :confirm => "Delete post & comments forever?", class: "btn red right" %>
|
||||
@@ -2,7 +2,6 @@
|
||||
<p id="markdown-note">Note: You can use <%= link_to "Markdown", "https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet", target: "_blank" %>!</p>
|
||||
<%= simple_form_for @post do |f|%>
|
||||
<%= f.input :title, placeholder: "Title" %>
|
||||
<%= f.hidden_field :content, id: "epic-textarea", placeholder: "Text", input_html: {class: "full-width vertical"} %>
|
||||
<div id="epic"></div>
|
||||
<%= f.hidden_field :content, placeholder: "Text", input_html: {class: "full-width vertical"} %>
|
||||
<%= f.submit "Create Post", class: "btn blue left" %>
|
||||
<% end %>
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
<p id="markdown-note">Note: You can use <%= link_to "Markdown", "https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet", target: "_blank" %>!</p>
|
||||
<%= simple_form_for [@thread.forum, @thread] do |f|%>
|
||||
<%= f.input :title, label: false %>
|
||||
<%= f.hidden_field :content, id: "epic-textarea", label: false, input_html: {class: "full-width vertical"} %>
|
||||
<div id="epic"></div>
|
||||
<%= f.hidden_field :content, label: false, input_html: {class: "full-width vertical"} %>
|
||||
<%= f.submit "Update thread", class: "btn blue left" %>
|
||||
<% end %>
|
||||
<%= button_to "Delete thread", [@thread.forum, @thread], :method => "delete", :confirm => "Delete thread & comments forever?", class: "btn red right" %>
|
||||
@@ -16,7 +16,6 @@
|
||||
<div id="form_inputs">
|
||||
<%= f.text_field :title, placeholder: "Title" %>
|
||||
</div>
|
||||
<%= f.hidden_field :content, id: "epic-textarea", placeholder: "Text" %>
|
||||
<div id="epic"></div>
|
||||
<%= f.hidden_field :content, placeholder: "Text" %>
|
||||
<p><%= f.submit "Create thread", class: "btn blue" %></p>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user