From c99a540eb326a0c4c4e181e88f26a3f36fa366ed Mon Sep 17 00:00:00 2001 From: zmagod Date: Fri, 3 Feb 2017 16:53:42 +0100 Subject: [PATCH] adds hook to team name in the invitation template [fixes SCI-930] --- app/views/users/invitations/edit.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/users/invitations/edit.html.erb b/app/views/users/invitations/edit.html.erb index 12caeb76e..6335affeb 100644 --- a/app/views/users/invitations/edit.html.erb +++ b/app/views/users/invitations/edit.html.erb @@ -29,7 +29,8 @@ <%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %> -
+
<%= label :team, :name, t('users.registrations.new.team_name_label') %> <% if @team %> <%= text_field :team, :name, class: 'form-control', value: @team.name %>