blob: 247f31bdcee261191fa730b30d234c7fbd53a04d (
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 %>
|