Skip to content

Commit d6d1a4d

Browse files
authored
Merge pull request #953 from portagenetwork/aaron/add-translations-to-send-email-confirmation-page
Enable Translations On `/users/confirmation/new` Page
2 parents a4a9d25 + 03811fe commit d6d1a4d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
### Changed
1010

11+
- Enable Translations On `/users/confirmation/new` Page [#953](https://github.com/portagenetwork/roadmap/pull/953)
12+
1113
- Email Confirmation Changes [#923](https://github.com/portagenetwork/roadmap/pull/923), [#952](https://github.com/portagenetwork/roadmap/pull/952)
1214

1315
- Disable Updating of User Emails [#917](https://github.com/portagenetwork/roadmap/pull/917)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<h2><%= _('Resend confirmation instructions') %></h2>
2+
3+
<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
4+
<%= render "devise/shared/error_messages", resource: resource %>
5+
6+
<div class="field">
7+
<%= f.label :email, _('Email') %><br />
8+
<%= f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
9+
</div>
10+
11+
<div class="actions">
12+
<%= f.submit _('Resend confirmation instructions') %>
13+
</div>
14+
<% end %>
15+
16+
<%= render "devise/shared/links" %>

0 commit comments

Comments
 (0)