diff options
Diffstat (limited to 'main/app/sprinkles/account/templates/pages/account-settings.html.twig')
-rwxr-xr-x | main/app/sprinkles/account/templates/pages/account-settings.html.twig | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/main/app/sprinkles/account/templates/pages/account-settings.html.twig b/main/app/sprinkles/account/templates/pages/account-settings.html.twig new file mode 100755 index 0000000..61cd3d0 --- /dev/null +++ b/main/app/sprinkles/account/templates/pages/account-settings.html.twig @@ -0,0 +1,45 @@ +{% extends forcedLayout ? forcedLayout : "pages/abstract/default.html.twig" %} + +{% set page_active = "account-settings" %} + +{% block stylesheets_page %} + <!-- Page-specific CSS asset bundle --> + {{ assets.css('css/form-widgets') | raw }} +{% endblock %} + +{# Overrides blocks in head of base template #} +{% block page_title %}{{translate("ACCOUNT.SETTINGS")}}{% endblock %} + +{% block page_description %}{{translate("ACCOUNT.SETTINGS.DESCRIPTION")}}{% endblock %} + +{% block body_matter %} + + <div class="row"> + <div class="col-lg-6"> + {% block settings_profile_box %} + <div class="box box-primary"> + {% include "forms/settings-profile.html.twig" %} + </div> + {% endblock %} + </div> + <div class="col-lg-6"> + {% block settings_account_box %} + <div class="box box-primary"> + {% include "forms/settings-account.html.twig" %} + </div> + {% endblock %} + </div> + </div> +{% endblock %} +{% block scripts_page %} + <!-- Include validation rules --> + <script> + {% include "pages/partials/page.js.twig" %} + </script> + + <!-- Include form widgets JS --> + {{ assets.js('js/form-widgets') | raw }} + + <!-- Include page-specific JS --> + {{ assets.js('js/pages/account-settings') | raw }} +{% endblock %} |