Update team name placeholder & sublabel on sign up pages

This commit is contained in:
Luka Murn 2018-10-24 13:43:56 +02:00
parent 00bdc3dab6
commit 95340bcf36
3 changed files with 8 additions and 4 deletions

View file

@ -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>

View file

@ -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 %>

View file

@ -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: