fix invititation form
(complements 9146e99bca2011c52e9a06f987251e2f5d72b11e)
This commit is contained in:
parent
4b6231129c
commit
b112028935
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
-# empty paragraph in case when invitation_form_text does not have <p></p>
|
||||
%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
|
||||
|
|
Loading…
Reference in a new issue