Files
grecia/app/views/verification/residence/_errors.html.erb
Senén Rodero Rodríguez 588fac6055 Rename method and placeholder
As `residence_in_madrid` is too specific.

We should port this commit to main repo.
2021-03-02 13:15:15 +01:00

15 lines
526 B
Plaintext

<% if @residence.errors[:local_residence].present? %>
<div id="error_explanation" data-alert class="callout alert" data-closable>
<button class="close-button" aria-label="<%= t("application.close") %>" type="button" data-close>
<span aria-hidden="true">&times;</span>
</button>
<%= t("verification.residence.new.error_verifying_census") %>
</div>
<% else %>
<%= render "shared/errors",
resource: @residence,
message: t("verification.residence.new.form_errors") %>
<% end %>