Fixed new user invite.
This commit is contained in:
parent
fc8418bc8e
commit
6f7682d6a0
16 changed files with 59 additions and 91 deletions
10
app/views/invites/new.html.haml
Normal file
10
app/views/invites/new.html.haml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
%p
|
||||
Hier kannst du eine Person in die Gruppe
|
||||
%b=h @invite.group.name
|
||||
einladen, die noch nicht Mitglied der Foodcoop ist.
|
||||
= simple_form_for @invite do |form|
|
||||
= form.hidden_field :user_id
|
||||
= form.hidden_field :group_id
|
||||
= form.input :email
|
||||
= form.submit "Einladung abschicken"
|
||||
= link_to "oder zurück", :back
|
||||
Loading…
Add table
Add a link
Reference in a new issue