lib/views/partials/_post_form.haml in schnitzelpress-0.0.13 vs lib/views/partials/_post_form.haml in schnitzelpress-0.1.0
- old
+ new
@@ -9,10 +9,12 @@
.row
.four.columns
= form_field @post, :slug, :label => 'URL Slug', :placeholder => "Your post's URL slug.", :hint => @post.previous_slugs.any? ? "Previous slugs: #{@post.previous_slugs.join ', '}" : nil
.four.columns
= form_field @post, :published_at, :placeholder => 'Try "now", "in 3 days", ...'
- .four.columns
+ .two.columns
= form_field @post, :status, :type => :dropdown, :options => [[:draft, "Draft"], [:published, "Published"]]
+ .two.columns
+ = form_field @post, :disqus
.buttons
%input{:type => 'submit', :value => @post.new_record? ? 'Create Post' : 'Update Post' }