Sha256: a72ac3995ca1a5df94a2be594e60865575dc20eaaeb1df226760f5faf861ac7d
Contents?: true
Size: 832 Bytes
Versions: 1
Compression:
Stored size: 832 Bytes
Contents
<%= form.text_field :title %> <%= form.text_field :author %> <%= form.text_field :tag_names, :label => 'Tags' %> <%= form.text_area :content, :class => 'rich_text' %> <%= form.text_field :excerpt %> <% if defined?(ComfortableMexicanSofa) %> <% content_for :right_column do %> <%= render :partial => 'cms_admin/files/index' %> <% end %> <%= cms_hook :blog_post, :locals => { :form => form } %> <%= form.simple_field nil, nil, :class => 'submit_element' do %> <%= form.check_box :is_published, :disable_builder => true %> <%= form.label_for :is_published %> <%= form.submit (@post.new_record? ? 'Create post' : 'Update post'), :disable_builder => true %> <% end %> <% else %> <%= form.check_box :is_published %> <%= form.submit (@post.new_record? ? 'Create post' : 'Update post') %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
comfy_blog-0.0.0 | app/views/blog/admin/posts/_form.html.erb |