foodsoft/app/views/login/accept_invitation.html.haml

12 lines
450 B
Text
Raw Normal View History

- content_for :javascript do
:javascript
2013-09-20 23:15:44 +02:00
$(#{FoodsoftConfig[:use_nick] ? 'user_nick' : 'user_first_name'}).focus();
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
= 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}
.form-actions
2013-02-05 12:54:55 +01:00
= submit_tag t('.submit'), class: 'btn'