Fix #4382: Name change should ask for confirmation.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<%= edit_form_for(@change_request) do |f| %>
|
||||
<%= f.input :desired_name, label: "Name" %>
|
||||
<%= f.input :desired_name_confirmation, label: "Confirm name" %>
|
||||
<%= f.submit "Submit" %>
|
||||
<%= f.submit "Submit", "data-confirm": "Are you sure you want to change your name?" %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user