snapshot: preserve builder section-rules layout refinement
This commit is contained in:
@@ -197,20 +197,8 @@
|
||||
</div>
|
||||
<form method="post" action="/admin-tools/form-builder/?form_type={{ form_type }}&option_category={{ selected_option_category }}">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="section_rules_section" value="{{ active_section_rules_section }}" />
|
||||
<nav class="structure-section-nav" aria-label="{% trans 'Abschnittsregeln' %}">
|
||||
{% for section in section_rule_items %}
|
||||
<a class="structure-section-pill{% if active_section_rules_section == section.key %} is-active{% endif %}" href="/admin-tools/form-builder/?form_type={{ form_type }}&option_category={{ selected_option_category }}&module=section-rules§ion_rules_section={{ section.key }}">
|
||||
<span class="structure-section-pill-copy">
|
||||
<strong>{{ section.title }}</strong>
|
||||
<span>{% blocktrans trimmed with count=section.field_count %}{{ count }} Feld/Felder{% endblocktrans %}</span>
|
||||
</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</nav>
|
||||
<div class="section-rule-grid" id="section-rule-grid">
|
||||
{% for section in section_rule_items %}
|
||||
{% if active_section_rules_section == section.key %}
|
||||
<article
|
||||
class="section-rule-card{% if section.locked %} is-locked{% endif %}"
|
||||
data-section-key="{{ section.key }}"
|
||||
@@ -226,7 +214,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="section-rule-copy">
|
||||
<strong>{{ section.title }}</strong>
|
||||
<strong>{{ section.display_title }}</strong>
|
||||
<span>{% blocktrans trimmed with count=section.field_count %}{{ count }} Feld/Felder in diesem Abschnitt.{% endblocktrans %}</span>
|
||||
</div>
|
||||
<div class="section-rule-toggle">
|
||||
@@ -245,7 +233,6 @@
|
||||
</span>
|
||||
</div>
|
||||
</article>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="options-actions options-actions-sticky">
|
||||
|
||||
Reference in New Issue
Block a user