adds hook to team name in the invitation template [fixes SCI-930]

This commit is contained in:
zmagod 2017-02-03 16:53:42 +01:00
parent 65bbd81497
commit c99a540eb3

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