foodsoft/app/views/login/accept_invitation.html.haml
2013-02-05 12:54:55 +01:00

11 lines
399 B
Text

- content_for :javascript do
:javascript
$('user_nick').focus();
- 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|
= render partial: 'shared/user_form_fields', locals: {f: form}
.form-actions
= submit_tag t('.submit'), class: 'btn'