Sha256: e5d7a463845a7f964a1b095b1b4092b983c4bf7676f2fee263cbbff955edcac4

Contents?: true

Size: 832 Bytes

Versions: 33

Compression:

Stored size: 832 Bytes

Contents

<% if @blog_category.errors.any? %>
<div id="error_explanation">
  <h2>Please correct the following errors:</h2>
  <% @blog_category.errors.to_a.in_groups(2, false).each do |group| %>
  <ul>
    <% group.each do |msg| %>
    <li><%= msg %></li>
    <% end %>
  </ul>
  <% end %>
</div>
<% end %>

<fieldset class="form_container">
  <%= legend_tag 'About This Blog Category' -%>

  <div class="form_column">
    <%= f.text_field :name -%>
    <%= f.select :parent_id, [['(None)', 'nil']] + BlogCategory.all.map{ |c| [c.name, c.id] } -%>
  </div>
  <div class="form_column">
    <%= f.text_area :description -%>
  </div>
  <div class="link_block">
    <%= f.submit 'Save', :class => 'link_button' -%>
    <%= link_to 'Cancel', admin_blog_categories_path, :class => 'link_button' -%>
  </div>
</fieldset>

<br style="clear: both;" />

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
blog_logic-1.2.2 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.2.1 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.2.0 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.9 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.8 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.7 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.6 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.5 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.4 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.3 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.2 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.1 app/views/admin/blog_categories/_form.html.erb
blog_logic-1.1.0 app/views/admin/blog_categories/_form.html.erb