From: Eugen Rochko Date: Tue, 23 Apr 2019 02:39:21 +0000 (+0200) Subject: Fix sign up button not saying sign up when invite is used (#10623) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=041fb0e840d85a6e9be2ff97fb80c3bf36f94644;p=mastodon.git Fix sign up button not saying sign up when invite is used (#10623) Fix #10616 --- diff --git a/app/views/auth/registrations/new.html.haml b/app/views/auth/registrations/new.html.haml index bd6e3a13f..b4a7cced5 100644 --- a/app/views/auth/registrations/new.html.haml +++ b/app/views/auth/registrations/new.html.haml @@ -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'