engelsystem/resources/views/pages/settings/language.twig

22 lines
703 B
Twig
Raw Permalink Normal View History

{% extends 'pages/settings/settings.twig' %}
{% import 'macros/form.twig' as f %}
{% import 'macros/base.twig' as m %}
{% block title %}{{ __('settings.language') }}{% endblock %}
{% block row_content %}
<form action="" enctype="multipart/form-data" method="post">
{{ csrf() }}
<div class="row">
<div class="col-md-12">
{{ m.info(__('settings.language.info')) }}
{{ f.select('select_language', __('settings.language'), languages, {
'selected': current_language,
}) }}
{{ f.submit(__('form.save'), {'icon_left': 'save'}) }}
</div>
</div>
</form>
{% endblock %}