- <%= form_for resource, as: resource_name, url: invitation_path(resource_name), html: {method: :put, id: "invitation_create_account_form"} do |f| %>
- <%= devise_error_messages! %>
- <%= f.hidden_field :invitation_token %>
-
- <%= f.label(:password, _('New password'), class: 'control-label') %>
- <%= f.password_field(:password, class: 'form-control', "aria-required": true) %>
-
-
- <%= f.label(:password_confirmation, _('Password confirmation'), class: 'control-label') %>
- <%= f.password_field(:password_confirmation, class: 'form-control', "aria-required": true) %>
-
-
- <%= f.label(:firstname, _('First name'), class: 'control-label') %>
- <%= f.text_field(:firstname, class: "form-control", "aria-required": true,
- spellcheck: true, value: @user.firstname) %>
-
-
- <%= f.label(:surname, _('Last name'), class: 'control-label') %>
- <%= f.text_field(:surname, class: "form-control", "aria-required": true, value: @user.surname) %>
-
-
- <%= render partial: "shared/org_selectors/local_only",
- locals: {
- form: f,
- orgs: @all_orgs,
- default_org: nil,
- required: true
- } %>
-
- <%= _("If your organisation is not in the list, please select 'Autre/Other'. Once your account is created, you will be able your organisation from your profile.") %>
-
-
- <%= f.button(_('Create account'), class: "btn btn-default", type: "submit") %>
- <% end %>
-