Sha256: 5a3bc0550fdb6d8374d4f4becf893ca0f9dfd046bf1018a100f73ecd37cf5a03
Contents?: true
Size: 704 Bytes
Versions: 9
Compression:
Stored size: 704 Bytes
Contents
.field = f.label :name, class: 'label' .control = f.text_field :name, class: 'input', required: true, data: { validation_path: name_validation_path } .field = f.label :description, class: 'label' .control = f.text_area :description, class: 'input', required: true .field = f.label :role_ids, class: 'label' .control = f.select 'role_ids', options_for_select(::Authz::Role.all.pluck(:name, :id), f.object.role_ids), {}, { multiple: true } .field = f.label :controller_action_ids, class: 'label' .control = f.select 'controller_action_ids', options_for_select(::Authz::ControllerAction.all.map{|ca| [ca.to_s, ca.id]}, f.object.controller_action_ids), {}, { multiple: true }
Version data entries
9 entries across 9 versions & 1 rubygems