src/CoreBundle/Resources/views/Admin/Settings/default.html.twig
{% extends "@ChamiloCore/Layout/layout_one_col.html.twig" %}
{% from '@ChamiloCore/Admin/Settings/actions.html.twig' import update %}
{% set namespace = app.request.get('namespace') %}
{% block content %}
<div class="flex">
<div class="w-1/5">
{% include '@ChamiloCore/Admin/Settings/menu.html.twig' %}
</div>
<div class="w-4/5">
<div class="q-card p-4">
<form class="w-full form-horizontal"
action="{{ path('chamilo_platform_settings_search', {'keyword': keyword}) }}"
method="post"
>
{{ form_widget(search_form) }}
</form>
{#<div class="page-header">#}
{#<h3>{{ namespace }} {{ 'Settings' | trans }}</h3>#}
{#</div>#}
<hr />
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-body">
{{ form_errors(form) }}
<form
class="form-horizontal"
action="{{ path('chamilo_platform_settings', { 'namespace': namespace, 'keyword': keyword } ) }}"
method="post"
novalidate
>
{{ form_rest(form) }}
{{ update() }}
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}