aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin/blog/categories/_form.html.erb
blob: 28227ae42c57c72af9234711e057423ecf3558bc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<% form_for [:admin, @blog_category] do |f| -%>
  <% if Rails.version < '3.0.0'%>
    <%= f.error_messages %>
  <% else %>
    <%= render :partial => "/shared/admin/error_messages",
               :locals => {
                 :object => f.object,
                 :include_object_name => true
               } %>
  <% end %>

  <div class='field'>
    <%= f.label :title -%>
    <%= f.text_field :title, :class => 'larger widest' -%>
  </div>

  <%= render :partial => "/shared/admin/form_actions",
              :locals => {
                :f => f,
                :continue_editing => false,
                :delete_title => t('admin.blog.categories.category.delete')
              } %>
<% end %>