This commit is contained in:
Diatrex 2020-08-14 17:13:02 +03:00
commit 5deed7b1fb

View File

@ -60,7 +60,7 @@
<div class="tab-content py-3 px-3 px-sm-0" id="nav-tabContent"> <div class="tab-content py-3 px-3 px-sm-0" id="nav-tabContent">
<div class="tab-pane fade show active" id="nav-profile" role="tabpanel" <div class="tab-pane fade show active" id="nav-profile" role="tabpanel"
aria-labelledby="nav-profile-tab"> aria-labelledby="nav-profile-tab">
<div class="col-12"> <div>
{% set userForm = form('userProfile').entry(user.id).get() %} {% set userForm = form('userProfile').entry(user.id).get() %}
{{ userForm.open()|raw }} {{ userForm.open()|raw }}
<div class="form-group"> <div class="form-group">
@ -85,12 +85,14 @@
{{ userForm.actions|raw }} {{ userForm.actions|raw }}
</div> </div>
{{ userForm.close()|raw }} {{ userForm.close()|raw }}
<div class="col-12"> <div class="d-flex align-items-center justify-content-between flex-wrap">
<label class="text-muted"> <label class="text-muted">
{{ trans('visiosoft.module.profile::message.disable_account') }} {{ trans('visiosoft.module.profile::message.disable_account') }}
</label> </label>
<button type="button" class="btn btn-danger float-right" <button type="button" class="btn btn-danger"
onclick="window.location.href='/profile/closeAccount'">{{ trans("visiosoft.module.profile::field.disable_account.name") }}</button> onclick="window.location.href='/profile/closeAccount'">
{{ trans("visiosoft.module.profile::field.disable_account.name") }}
</button>
</div> </div>