Sha256: 6213934412bd1346a2c9cfbaa54e73add458e46abc7f866a00989d7b690e2530
Contents?: true
Size: 1.55 KB
Versions: 3
Compression:
Stored size: 1.55 KB
Contents
<section> <header> <h1>#{get_breadcrumbs}</h1> </header> <div class="body"> #{form_for( @category, :method => :post, :action => Categories::Controller::Categories.r(:save), :id => :category_form, :'data-autosave-url' => Categories::Controller::Categories.r(:autosave) ) do |f| f.input_hidden(:category_group_id, @category_group_id) f.input_hidden(:id , @category.id) f.input_hidden(:csrf_token , get_csrf_token) f.input_text( lang('categories.labels.name'), :name, :title => lang('categories.descriptions.name'), :required => :required, :maxlength => 255 ) f.input_text( lang('categories.labels.slug'), :slug, :title => lang('categories.descriptions.slug'), :maxlength => 255 ) f.select( lang('categories.labels.parent'), :parent_id, :values => parent_categories(@category.id, @category_group_id), :size => 1, :selected => @category.parent_id ) f.textarea( lang('categories.labels.description'), :description, :rows => 8 ) f.g.input( :type => 'submit', :value => lang('categories.buttons.save'), :class => 'button' ) end} </div> </section>
Version data entries
3 entries across 3 versions & 1 rubygems