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