Commit bebfc54365ea1d9685547f8be6f6b114b28f8186

Authored by Antonio Terceiro
1 parent 75399cd7

ActionItem988: add the checkbox for the display_in_menu field

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
app/views/categories/_form.rhtml
... ... @@ -21,6 +21,8 @@
21 21  
22 22 <%= required f.text_field('name') %>
23 23  
  24 + <%= labelled_check_box(_('Display in the menu'), 'category[display_in_menu]', '1', @category.display_in_menu) %>
  25 +
24 26 <% f.fields_for :image_builder, @category.image do |i| %>
25 27 <%= file_field_or_thumbnail(_('Image:'), @category.image, i) %>
26 28 <% end %>
... ...