added database driven system configurations with admin screen (#647)
This commit is contained in:
15
templates/system-configuration/index.html.twig
Normal file
15
templates/system-configuration/index.html.twig
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block page_title %}{{ 'title'|trans({}, 'system-configuration') }}{% endblock %}
|
||||
{% block page_subtitle %}{{ 'subtitle'|trans({}, 'system-configuration') }}{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
|
||||
{% for section in sections %}
|
||||
{{ include('default/_form.html.twig', {
|
||||
'title': section.model.section|trans({}, 'system-configuration'),
|
||||
'form': section.form,
|
||||
}) }}
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user