2021-11-27 08:31:53 +09:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
2021-11-30 02:01:08 +09:00
|
|
|
{% block stylesheets %}
|
|
|
|
{{ parent() }}
|
|
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/css/pages/feeds.css') }}" type="text/css">
|
|
|
|
{% endblock stylesheets %}
|
|
|
|
|
2021-11-27 08:31:53 +09:00
|
|
|
{% block body %}
|
2022-01-20 08:54:45 +09:00
|
|
|
<div class="frame-section">
|
2021-12-01 21:44:56 +09:00
|
|
|
<form class="section-form" action="{{ path('edit_feeds') }}" method="post">
|
2021-11-30 02:01:08 +09: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) }}
|
2022-01-05 04:05:06 +09:00
|
|
|
{{ form_errors(edit_feeds) }}
|
2021-11-30 02:01:08 +09:00
|
|
|
{% for child in edit_feeds.children %}
|
2022-01-05 04:05:06 +09:00
|
|
|
{% if 'row_url' in child.vars.block_prefixes %}
|
2022-01-20 08:54:45 +09:00
|
|
|
<div class="frame-section frame-section-padding">
|
2022-01-05 04:05:06 +09:00
|
|
|
{{ 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 %}
|
2021-11-30 02:01:08 +09:00
|
|
|
{% endfor %}
|
|
|
|
{{ form_end(edit_feeds) }}
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
|
2021-11-27 08:31:53 +09:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|