40 lines
1.7 KiB
Smarty
40 lines
1.7 KiB
Smarty
|
<div class="CDB-Text Dialog-header u-inner">
|
||
|
<div class="Dialog-headerIcon Dialog-headerIcon--neutral">
|
||
|
<i class="CDB-IconFont CDB-IconFont-defaultUser"></i>
|
||
|
</div>
|
||
|
<h2 class="Dialog-headerTitle">
|
||
|
<%= _t('components.modals.password-confirmation.modal-title') %>
|
||
|
</h2>
|
||
|
<p class="Dialog-headerText">
|
||
|
<%= _t('components.modals.password-confirmation.modal-description') %>
|
||
|
</p>
|
||
|
</div>
|
||
|
|
||
|
<div class="CDB-Text Dialog-body">
|
||
|
<form id="password-confirmation-form" method="POST" class="Form-row Form-row--centered has-label">
|
||
|
<div class="Form-rowLabel">
|
||
|
<% if (updatePassword) {%>
|
||
|
<label class="Form-label" for="password-confirmation"><%= _t('components.modals.password-confirmation.form.old-password-label') %></label>
|
||
|
<% } else { %>
|
||
|
<label class="Form-label" for="password-confirmation"><%= _t('components.modals.password-confirmation.form.password-label') %></label>
|
||
|
<% }%>
|
||
|
</div>
|
||
|
<div class="Form-rowData">
|
||
|
<input type="password" id="password-confirmation" name="password_confirmation" class="CDB-InputText CDB-Text Form-input Form-input--long js-password" value="" autofocus/>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
|
||
|
<div class="Dialog-footer u-inner">
|
||
|
<button type="button" class="CDB-Button CDB-Button--secondary js-cancel">
|
||
|
<span class="CDB-Button-Text CDB-Text is-semibold CDB-Size-small u-upperCase">
|
||
|
<%= _t('components.modals.password-confirmation.actions.cancel') %>
|
||
|
</span>
|
||
|
</button>
|
||
|
<button class="CDB-Button CDB-Button--primary js-ok<%= isConfirmDisabled ? ' is-disabled' : ''%>">
|
||
|
<span class="CDB-Button-Text CDB-Text is-semibold CDB-Size-small u-upperCase">
|
||
|
<%= _t('components.modals.password-confirmation.actions.confirm') %>
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|