diff --git a/app/views/branded/shared/_create_account_form.html.erb b/app/views/branded/shared/_create_account_form.html.erb index 2a21f0a..f4fda63 100644 --- a/app/views/branded/shared/_create_account_form.html.erb +++ b/app/views/branded/shared/_create_account_form.html.erb @@ -1,4 +1,4 @@ -<%= form_for resource, as: 'user', namespace: 'new_user', url: registration_path("user"), html: {autocomplete: "off", id: "create_account_form"} do |f| %> +<%= form_for resource, as: 'user', url: registration_path("user"), html: {autocomplete: "off", id: "create_account_form"} do |f| %>
<%= f.label(:firstname, _('First Name'), class: "control-label") %> @@ -13,9 +13,9 @@ <%= f.email_field(:email, class: "form-control", "aria-required": true) %>
- <%= render partial: "shared/my_org", - locals: {f: f, default_org: @default_org, - orgs: Org.where("parent_id IS NULL").order("sort_name ASC, name ASC"), + <%= render partial: "shared/my_org", + locals: {f: f, default_org: @default_org, + orgs: Org.where("parent_id IS NULL").order("sort_name ASC, name ASC"), allow_other_orgs: true, required: true} %>
@@ -37,6 +37,6 @@

<%= raw d_('dmpopidor', "The information collected that concerns you will be processed and is destined for the Inist-CNRS (UPS76) and the correspondent for Computing and Liberties (CIL). For the following goal: management of user accounts. The recipients of this data are the administrators of the Inist-CNRS. The duration of conservation of the data is 5 years following the last login.") %>

<%= raw d_('dmpopidor', "You have the right of access, of correction, of portability, or of removal of this data, or of a limitation of their processing. You can oppose the processing of the data that concerns you and you have the right to withdraw your agreement at any time, by contacting: %{contact_url}. You can also direct a complaint at a controlling body.") % {contact_url: Rails.configuration.branding[:organisation][:email]} %>

- + <%= f.button(_('Create account'), class: "btn btn-default", type: "submit") %> <% end %>