diff --git a/app/views/login/_accept_invitation_form.html.haml b/app/views/login/_accept_invitation_form.html.haml index b1eba6fa..7cebca91 100644 --- a/app/views/login/_accept_invitation_form.html.haml +++ b/app/views/login/_accept_invitation_form.html.haml @@ -6,7 +6,7 @@ -# empty paragraph in case when invitation_form_text does not have
%p -- form_url = local_assigns[:accept_invitation_path] +- form_url = local_assigns[:form_url] || accept_invitation_path = simple_form_for @user, url: form_url do |form| - unless @invite and @invite.group - capt = capture do