We're choosing the default `with_first_argument` style because it's the one we use the most.
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
<div data-alert class="callout success">
|
|
<%= t("management.email_verifications.document_found_in_census") %> <%= t("management.email_verifications.choose_options") %>
|
|
</div>
|
|
|
|
<ul>
|
|
<li>
|
|
<strong><%= t("management.email_verifications.if_existing_account") %></strong>
|
|
|
|
<%= form_for @email_verification,
|
|
as: :email_verification,
|
|
url: management_email_verifications_path do |f| %>
|
|
<%= f.hidden_field :document_type %>
|
|
<%= f.hidden_field :document_number %>
|
|
<%= f.text_field :email, label: t("management.email_verifications.introduce_email") %>
|
|
|
|
<%= f.submit t("management.email_verifications.send_email"), class: "button hollow" %>
|
|
<% end %>
|
|
</li>
|
|
|
|
<li>
|
|
<strong><%= t("management.email_verifications.if_no_existing_account") %></strong>
|
|
|
|
<p class="margin-top">
|
|
<%= link_to t("management.users.create_user"),
|
|
new_management_user_path(user: {
|
|
document_number: @email_verification.document_number,
|
|
document_type: @email_verification.document_type
|
|
}),
|
|
class: "button success" %>
|
|
</p>
|
|
</li>
|
|
</ul>
|