mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
parent
40459e8b2e
commit
2c9a8b555b
3 changed files with 34 additions and 22 deletions
|
@ -59,7 +59,8 @@
|
|||
.col-md-8.text-right
|
||||
= button_tag(t(:save), class: 'btn btn-warning')
|
||||
|
||||
:coffee
|
||||
$("#admin_user_password").removeAttr('required')
|
||||
$("#admin_user_password_confirmation").removeAttr('required')
|
||||
|
||||
:javascript
|
||||
window.addEventListener('load', function() {
|
||||
$("#admin_user_password").removeAttr('required');
|
||||
$("#admin_user_password_confirmation").removeAttr('required');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue