Merge pull request #474 from ZmagoD/zd_SCI_930_val2

adds hook to team name in the invitation template [fixes SCI-930]
This commit is contained in:
mlorb 2017-02-06 16:05:41 +01:00 committed by GitHub
commit 2d41ae7bf8

View file

@ -29,7 +29,8 @@
<%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
</div>
<div class="form-group">
<div class="form-group"
data-hook="confirm-invitation-team-name">
<%= label :team, :name, t('users.registrations.new.team_name_label') %>
<% if @team %>
<%= text_field :team, :name, class: 'form-control', value: @team.name %>