2021-11-26 23:31:53 +00:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
2021-11-29 17:01:08 +00:00
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" type="text/css">
|
|
|
|
{% endblock stylesheets %}
|
|
|
|
|
2021-11-26 23:31:53 +00:00
|
|
|
{% block body %}
|
2021-11-29 17:01:08 +00:00
|
|
|
<div class="section-widget section-widget-padded">
|
2021-12-01 12:44:56 +00:00
|
|
|
<form class="section-form" action="{{ path('edit_feeds') }}" method="post">
|
2021-11-29 17:01:08 +00:00
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
<legend class="section-form-legend">{{ "Edit feed navigation links" | trans }}</legend>
|
|
|
|
|
|
|
|
{# Since the form is not separated into individual groups, this happened #}
|
|
|
|
{{ form_start(edit_feeds) }}
|
|
|
|
{% for child in edit_feeds.children %}
|
|
|
|
{% if 'row_url' in child.vars.block_prefixes %}
|
|
|
|
<div class="section-widget section-widget-padded">
|
|
|
|
{{ form_label(child) }}
|
|
|
|
{{ form_widget(child) }}
|
|
|
|
{% elseif 'row_title' in child.vars.block_prefixes %}
|
|
|
|
{{ form_label(child) }}
|
|
|
|
{{ form_widget(child) }}
|
|
|
|
{% elseif 'row_order' in child.vars.block_prefixes %}
|
|
|
|
{{ form_label(child) }}
|
|
|
|
{{ form_widget(child) }}
|
|
|
|
{% elseif 'row_remove' in child.vars.block_prefixes %}
|
|
|
|
{{ form_label(child) }}
|
|
|
|
{{ form_widget(child) }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{{ form_end(edit_feeds) }}
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
2021-11-26 23:31:53 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|