Skip to content

Commit

Permalink
Fix sign up button not saying sign up when invite is used (mastodon#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored Apr 23, 2019
1 parent 74ef196 commit 2980017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/auth/registrations/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
= f.input :agreement, as: :boolean, wrapper: :with_label, label: t('auth.checkbox_agreement_html', rules_path: about_more_path, terms_path: terms_path)

.actions
= f.button :button, sign_up_message, type: :submit
= f.button :button, @invite.present? ? t('auth.register') : sign_up_message, type: :submit

.form-footer= render 'auth/shared/links'

0 comments on commit 2980017

Please sign in to comment.