Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implements a first version of the forms. Missing: a) tests and b) che…
…ck db constraints (duplicate email "", etc)
- Loading branch information
Showing
8 changed files
with
70 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<i class="icon-angle-left left"></i> <%= link_to t("devise_views.users.registrations.edit.back_link"), :back, class: "left back" %> | ||
|
||
<h1><%= t("devise_views.users.registrations.delete_form.title") %></h1> | ||
|
||
<%= form_for(resource, as: resource_name, | ||
url: users_registrations_path, | ||
html: { method: :delete }) do |f| %> | ||
<%= devise_error_messages! %> | ||
<p> | ||
<%= t("devise_views.users.registrations.delete_form.info") %> | ||
</p> | ||
|
||
<div class="row"> | ||
<div class="small-12 column"> | ||
<%= f.text_field :erase_reason, | ||
autofocus: true, | ||
placeholder: t("devise_views.users.registrations.delete_form.erase_reason_label"), | ||
label: t("devise_views.users.registrations.delete_form.erase_reason_label") %> | ||
</div> | ||
|
||
<div class="small-12 column"> | ||
<%= f.submit t("devise_views.users.registrations.delete_form.submit"), class: "button radius danger" %> | ||
</div> | ||
</div> | ||
<% end %> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters