mirror of https://github.com/docusealco/docuseal
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.
23 lines
1.1 KiB
23 lines
1.1 KiB
<div class="form-control">
|
|
<%= f.label :role, class: 'label' %>
|
|
<%= f.select :role, nil, {}, class: 'base-select' do %>
|
|
<% Whitelabel.manageable_roles(current_user.role).each do |role_slug| %>
|
|
<option value="<%= role_slug %>"><%= t("role_#{role_slug}", default: role_slug.humanize) %></option>
|
|
<% end %>
|
|
<% end %>
|
|
<% if Docuseal.multitenant? %>
|
|
<label class="label">
|
|
<span class="label-text-alt">
|
|
<%= t('click_here_to_learn_more_about_user_roles_and_permissions_html') %>
|
|
</span>
|
|
</label>
|
|
<% end %>
|
|
<% if Whitelabel.show_pro_upsells? %>
|
|
<a class="text-sm mt-3 px-4 py-2 bg-base-300 rounded-full block" target="_blank" href="<%= Docuseal.multitenant? ? console_redirect_index_path(redir: "#{Docuseal::CONSOLE_URL}/plans") : "#{Docuseal::CLOUD_URL}/sign_up?#{{ redir: "#{Docuseal::CONSOLE_URL}/on_premises" }.to_query}" %>">
|
|
<%= svg_icon('info_circle', class: 'w-4 h-4 inline align-text-bottom') %>
|
|
<%= t('unlock_more_user_roles_with_docuseal_pro') %>
|
|
<span class="link font-medium"><%= t('learn_more') %></span>
|
|
</a>
|
|
<% end %>
|
|
</div>
|