mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-02-13 07:38:12 -05:00
17 lines
1.1 KiB
Plaintext
17 lines
1.1 KiB
Plaintext
![]() |
form(ng-submit='renameProfile.$valid && $close(newName)' name='renameProfile')
|
|||
|
.modal-header
|
|||
|
button.close(type='button', data-dismiss='modal')
|
|||
|
span(aria-hidden='true') ×
|
|||
|
span.sr-only {{'dialog_close' | tr}}
|
|||
|
h4.modal-title {{'options_modalHeader_renameProfile' | tr}}
|
|||
|
.modal-body
|
|||
|
.form-group(ng-class='{"has-error": !renameProfile.profileNewName.$valid}')
|
|||
|
label(for='profile-new-name') {{'options_renameProfileName' | tr}}
|
|||
|
input#profile-new-name.form-control(type='text' name='profileNewName' required ng-model='newName'
|
|||
|
ui-validate='{conflict: "notConflict($value)"}' ng-init='newName = fromName')
|
|||
|
.help-block(ng-show='renameProfile.profileNewName.$error.required') {{'options_profileNameEmpty' | tr}}
|
|||
|
.help-block(ng-show='renameProfile.profileNewName.$error.conflict') {{'options_profileNameConflict' | tr}}
|
|||
|
.modal-footer
|
|||
|
button.btn.btn-default(type='button' ng-click='$dismiss()') {{'dialog_cancel' | tr}}
|
|||
|
button.btn.btn-primary(type='submit' ng-disabled='!renameProfile.$valid') {{'options_renameProfile' | tr}}
|