fix invititation form

(complements 9146e99bca2011c52e9a06f987251e2f5d72b11e)
This commit is contained in:
wvengen 2014-06-12 11:40:29 +02:00
parent 4b6231129c
commit b112028935

View file

@ -6,7 +6,7 @@
-# empty paragraph in case when invitation_form_text does not have <p></p> -# empty paragraph in case when invitation_form_text does not have <p></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| = simple_form_for @user, url: form_url do |form|
- unless @invite and @invite.group - unless @invite and @invite.group
- capt = capture do - capt = capture do