Sha256: c87204b80e6f914424faf5cfa4bb36dddee61bfeb3c6e6152a5f32d908591a94
Contents?: true
Size: 1.23 KB
Versions: 19
Compression:
Stored size: 1.23 KB
Contents
<%= f.inputs :name => "Menu", :for => :menu do |menu_fields| %> <%= menu_fields.input :tree_id, :as => :select, :label => :menu, :collection => Menu.roots.collect{|m| [m.title, m.tree_id]}, :selected => Menu.root.tree_id %> <%= menu_fields.input :title, :label => "Menu Title" %> <%= menu_fields.input :meta_description, :label => "Meta Description" %> <%= menu_fields.input :meta_keywords, :label => "Meta Keywords", :hint => "Enter Keywords with a comma separating each key" %> <%= menu_fields.input :menu_identifier, :label => "Menu Identifier (Site Map ID)" %> <%= menu_fields.input :url, :label => "Custom URL", :wrapper_html => { :class => "string"} %> <%= menu_fields.input :special_action, :label => "Special Action", :as => :select, :collection => Cable.special_actions %> <%= menu_fields.input :template, :as => :select, :collection => Cable.templates, :selected => menu_fields.object.template %> <%= menu_fields.input :show_in_menu, :as => :boolean, :wrapper_html => { :class => "yes_no" } %> <%= menu_fields.input :show_on_landing_page, :as => :boolean, :wrapper_html => { :class => "yes_no" }, :hint => "Set this to true if you would like the resource to show up on it's parent landing page" %> <% end %>
Version data entries
19 entries across 19 versions & 1 rubygems