|
|
|
@ -31,9 +31,9 @@ |
|
|
|
|
<%= form.label 'index_page', l(:label_wiki_show_index_page_link) %> |
|
|
|
|
</p> |
|
|
|
|
<p> |
|
|
|
|
<%= 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 %> |
|
|
|
|
</p> |
|
|
|
|
</fieldset> |
|
|
|
|