2012-10-08 11:51:56 +02:00
|
|
|
- content_for :javascript do
|
|
|
|
:javascript
|
2013-09-20 23:15:44 +02:00
|
|
|
$(#{FoodsoftConfig[:use_nick] ? 'user_nick' : 'user_first_name'}).focus();
|
2012-10-08 11:51:56 +02:00
|
|
|
|
2013-02-05 12:54:55 +01:00
|
|
|
- title t('.title', name: FoodsoftConfig[:name])
|
|
|
|
= t('.body', group: h(@invite.group.name), foodcoop: h(FoodsoftConfig[:name])).html_safe
|
2012-10-08 11:51:56 +02:00
|
|
|
= simple_form_for @user, url: accept_invitation_path do |form|
|
2012-08-06 12:00:40 +02:00
|
|
|
= render partial: 'shared/user_form_fields', locals: {f: form}
|
2012-10-08 11:51:56 +02:00
|
|
|
.form-actions
|
2013-02-05 12:54:55 +01:00
|
|
|
= submit_tag t('.submit'), class: 'btn'
|
2012-10-08 11:51:56 +02:00
|
|
|
|