Revision 1eef5c9a
Added by Marek Hulán over 7 years ago
app/views/roles/_form.html.erb | ||
---|---|---|
<div class="tab-content">
|
||
<div class="tab-pane active" id="primary">
|
||
<%= text_f f, :name, :class => @role.builtin? ? "disabled" : "" %>
|
||
<%= textarea_f f, :description, :rows=> 5, :size => "col-md-4", :help_block => _("General role description") %>
|
||
<%= textarea_f f, :description, :rows=> 5, :size => "col-md-4" %>
|
||
<%= hidden_field_tag :original_role_id, @original_role_id if @cloned_role %>
|
||
|
||
<% if show_location_tab? || show_organization_tab? %>
|
app/views/users/_form.html.erb | ||
---|---|---|
<%= text_f f, :firstname %>
|
||
<%= text_f f, :lastname %>
|
||
<%= text_f f, :mail %>
|
||
<%= textarea_f f, :description, :rows=> 5, :size => "col-md-4", :help_block => _("General user description") %>
|
||
<%= textarea_f f, :description, :rows=> 5, :size => "col-md-4" %>
|
||
|
||
<%= selectable_f(f, :locale, FastGettext.human_available_locales,
|
||
{ :include_blank => _('Browser locale') } , { :label => _('Language') } ) %>
|
Also available in: Unified diff
Fixes #18768 - remove generic inline helps