Sha256: c4d34fc6b48a1d83633dda6f29039d34c1d077da0bb85ab63f5941ec6087d947
Contents?: true
Size: 928 Bytes
Versions: 8
Compression:
Stored size: 928 Bytes
Contents
#{ form_for(@menu, :method => :post, :action => @form_save_url, :id => :menu_form) do |f| f.input_hidden(:csrf_token, get_csrf_token) f.input_hidden(:id , @menu.id) f.input_text( lang('menus.labels.name'), :name, :placeholder => lang('menus.placeholders.name') ) f.input_text( lang('menus.labels.slug'), :slug, :placeholder => lang('menus.placeholders.slug') ) f.input_text( lang('menus.labels.css_class'), :css_class, :placeholder => lang('menus.placeholders.css_class') ) f.input_text( lang('menus.labels.css_id'), :css_id, :placeholder => lang('menus.placeholders.css_id') ) f.textarea( lang('menus.labels.description'), :description, :rows => 8 ) f.g.div(:class => "clearfix") do f.g.div(:class => "button") do f.g.input(:type => :submit, :value => lang('menus.buttons.save')) end end end }
Version data entries
8 entries across 8 versions & 1 rubygems