mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-10 13:59:56 +08:00
adds hook to team name in the invitation template [fixes SCI-930]
This commit is contained in:
parent
65bbd81497
commit
c99a540eb3
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@
|
||||||
<%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
|
<%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control" %>
|
||||||
</div>
|
</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') %>
|
<%= label :team, :name, t('users.registrations.new.team_name_label') %>
|
||||||
<% if @team %>
|
<% if @team %>
|
||||||
<%= text_field :team, :name, class: 'form-control', value: @team.name %>
|
<%= text_field :team, :name, class: 'form-control', value: @team.name %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue