blob: 3af3fc9359918cd41304475e06381ee1019a4403 (
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
24
|
<%= form_for [refinery, :blog_admin, @category] do |f| -%>
<%= render :partial => "/refinery/admin/error_messages",
:locals => {
:object => f.object,
:include_object_name => true
} %>
<div class='field'>
<%= f.label :title -%>
<%= f.text_field :title, :class => 'larger widest' -%>
</div>
<div class='field'>
<%= f.label :sidebar_position -%>
<%= f.select :sidebar_position, make_choice_from(t('.sidebar_positions')) -%>
</div>
<%= render :partial => "/refinery/admin/form_actions",
:locals => {
:f => f,
:continue_editing => false,
:delete_title => t('delete', :scope => 'refinery.blog.admin.categories.category')
} %>
<% end %>
|