OpenProject is the leading open source project management software.
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.
 
 
 
 
 
 
openproject/app/views/users/form/_basic_attributes.html.erb

33 lines
916 B

<% unless @user.new_record? %>
<div class="form--field -required">
<%= f.text_field :login,
required: true,
size: 25,
container_class: '-middle' %>
</div>
<% end %>
<div class="form--field -required">
<%= f.text_field :firstname,
required: true,
container_class: '-middle' %>
</div>
<div class="form--field -required">
<%= f.text_field :lastname,
required: true,
container_class: '-middle' %>
</div>
<div class="form--field -required">
<%= f.text_field :mail,
required: true,
container_class: '-middle' %>
</div>
<div class="form--field">
<%= f.select :language,
lang_options_for_select,
prompt: "--- #{t(:actionview_instancetag_blank_option)} ---",
container_class: '-middle' %>
</div>