From bebfc54365ea1d9685547f8be6f6b114b28f8186 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 25 Mar 2009 16:32:03 -0300 Subject: [PATCH] ActionItem988: add the checkbox for the display_in_menu field --- app/views/categories/_form.rhtml | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/app/views/categories/_form.rhtml b/app/views/categories/_form.rhtml index 5320797..75b8a85 100644 --- a/app/views/categories/_form.rhtml +++ b/app/views/categories/_form.rhtml @@ -21,6 +21,8 @@ <%= required f.text_field('name') %> + <%= labelled_check_box(_('Display in the menu'), 'category[display_in_menu]', '1', @category.display_in_menu) %> + <% f.fields_for :image_builder, @category.image do |i| %> <%= file_field_or_thumbnail(_('Image:'), @category.image, i) %> <% end %> -- libgit2 0.21.2