Sha256: a80152d168b39c874a61dddc0d1106df2bd3e062ca21e3f9b96e81562f05062a
Contents?: true
Size: 1.08 KB
Versions: 16
Compression:
Stored size: 1.08 KB
Contents
= remote_form_for [:admin, @preset], resource: 'admin-preset', label: t(:'preset.pagination') do = fields_for :preset do |f| .row .col-md-3 = f.fields_for :pagination do |p| = p.label t(:'preset.per_page.default') = p.select :default, @per_page_values, { selected: @preset['pagination']['default'] }, class: 'form-control' .col-md-3 = f.fields_for :pagination do |p| = p.label t(:'preset.per_page.students') = p.select :students, @per_page_values, { selected: @preset['pagination']['students'] }, class: 'form-control' .col-md-3 = f.fields_for :pagination do |p| = p.label t(:'preset.per_page.teachers') = p.select :teachers, @per_page_values, { selected: @preset['pagination']['teachers'] }, class: 'form-control' .col-md-3 = f.fields_for :pagination do |p| = p.label t(:'preset.per_page.changes') = p.select :changes, @per_page_values, { selected: @preset['pagination']['changes'] }, class: 'form-control' br = buttons_for @preset, resource: 'admin-preset'
Version data entries
16 entries across 16 versions & 2 rubygems