mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-10 14:16:28 +08:00
Update team name placeholder & sublabel on sign up pages
This commit is contained in:
parent
00bdc3dab6
commit
95340bcf36
3 changed files with 8 additions and 4 deletions
|
|
@ -31,9 +31,11 @@
|
|||
<div class="form-group" id="team_name_form">
|
||||
<%= label :team, :name, t('users.registrations.new.team_name_label') %>
|
||||
<% if @team %>
|
||||
<%= text_field :team, :name, class: 'form-control', value: @team.name %>
|
||||
<%= text_field :team, :name, class: 'form-control', value: @team.name,
|
||||
placeholder: t('users.registrations.new.team_name_placeholder') %>
|
||||
<% else %>
|
||||
<%= text_field :team, :name, class: 'form-control' %>
|
||||
<%= text_field :team, :name, class: 'form-control',
|
||||
placeholder: t('users.registrations.new.team_name_placeholder') %>
|
||||
<% end %>
|
||||
<span><small><%= t 'users.registrations.new.team_name_help' %></small></span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@
|
|||
<% if Rails.configuration.x.new_team_on_signup %>
|
||||
<div class="form-group" id="team_name_form">
|
||||
<%= f.label :name, t('users.registrations.new.team_name_label') %>
|
||||
<%= f.text_field :name, autofocus: true, class: 'form-control' %>
|
||||
<%= f.text_field :name, autofocus: true, class: 'form-control',
|
||||
placeholder: t('users.registrations.new.team_name_placeholder') %>
|
||||
<span><small><%= t 'users.registrations.new.team_name_help' %></small></span>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
|
|||
|
|
@ -1386,7 +1386,8 @@ en:
|
|||
new:
|
||||
head_title: "Sign up"
|
||||
team_name_label: "Team name"
|
||||
team_name_help: "Team name is required in order to create your own Team. After you create your own Team, you will be able to join other Teams as well."
|
||||
team_name_placeholder: "e.g. John's lab"
|
||||
team_name_help: "This is the name of your lab or your group. You can invite other members to your team if needed."
|
||||
new_with_provider:
|
||||
head_title: "Complete the Sign up"
|
||||
statistics:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue