You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/app/views/users/_role_select.html.erb

14 lines
522 B

<div class="form-control">
<%= f.label :role, class: 'label' %>
<%= f.select :role, nil, {}, class: 'base-select' do %>
<option value="admin"><%= t('admin') %></option>
<option value="editor" disabled><%= t('editor') %></option>
<option value="viewer" disabled><%= t('viewer') %></option>
<% end %>
<label class="label">
<span class="label-text-alt">
Editor and viewer roles require a richer ability layer (see lib/ability.rb). Only admin is currently wired up.
</span>
</label>
</div>