From 98afc0f37abf992f25788dc4e57e5ccaae92b47a Mon Sep 17 00:00:00 2001
From: Romano Licker
- <%= form.radio_button 'setting', :sub_item %> - <%= form.label 'setting_sub_item', l(:label_wiki_show_submenu_item), {:id => 'with-select'} %> <% disabled = @possible_parent_menu_items.empty? %> + <%= form.radio_button 'setting', :sub_item, :disabled => disabled %> + <%= form.label 'setting_sub_item', l(:label_wiki_show_submenu_item), {:id => 'with-select'} %> <%= select_tag "parent_wiki_menu_item", options_for_select(@possible_parent_menu_items), :disabled => disabled %>