Sha256: 41d24af60b8d2d4aa750613adf852d80217485661218f6a2efc3d2c9f8efde69

Contents?: true

Size: 894 Bytes

Versions: 1

Compression:

Stored size: 894 Bytes

Contents

<div data-hook="admin_permission_form_fields">
  <div data-hook="permission_title" class="form-group">
    <%= f.label :title, Spree.t(:permission_title) %> <span class="required">*</span>
    <%= f.text_field :title, class: 'form-control' %>
  </div>
  <div data-hook="permission_priority" class="form-group">
    <%= f.label :priority, Spree.t(:permission_priority) %> <span class="required">*</span>
    <%= f.number_field :priority, in: 0..9, step: 1, class: 'form-control' %>
  </div>
  <div data-hook="permission_visible" class="checkbox">
    <label>
    <%= f.check_box :visible, value: true %><%= Spree.t(:permission_visible) %>
    </label>
  </div>
  <div data-hook="permission_boolean" class="checkbox">
    <label>
    <%= f.check_box :boolean, value: true %> <%= Spree.t(:permission_boolean) %>
    </label>
  </div>

  <div data-hook="additional_permission_fields"></div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_admin_roles_and_access-2.0.0 app/views/spree/admin/permissions/_form.html.erb