a TON of bugfixes and new features

This commit is contained in:
jomo
2014-04-28 03:01:33 +02:00
parent a6ba503e73
commit 65f5adf65d
59 changed files with 1023 additions and 970 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
<h1>New Post</h1>
<%= simple_form_for @post do |f|%>
<%= f.input :title, placeholder: "Title" %>
<p id="markdown-note">Note: You can use <%= link_to "Markdown", "https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet", target: "_blank" %>!</p>
<%= f.text_area :content, placeholder: "Text", input_html: {class: "full-width vertical"} %>
<%= form_for @post do |f|%>
<%= f.text_field :title, placeholder: "Title" %>
<%= render partial: "mdhelp" %>
<%= f.text_area :content, placeholder: "Text", input_html: {class: "vertical"} %>
<p><%= f.submit "Create Post", class: "btn blue left" %></p>
<% end %>