mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-07-05 07:00:14 +02:00
482ca8be7e
Add a 50/50 or 66/33 split layout to every backoffice page with Dutch instructions explaining how to use Tijd voor de Test. Content covers the overall workflow, quiz finalize/activate flow, and both candidate participation methods (own device vs. shared laptop). Help text lives in dedicated partials under templates/backoffice/help/ and is loaded via Twig include(), keeping page templates clean. All strings use a separate 'instructions' translation domain (instructions+intl-icu.nl.xliff) isolated from the main messages domain. Also updates 'Finalize'-related Dutch translations to use 'Afronden' and adds tooltips to the finalize/unfinalize buttons.
30 lines
933 B
Twig
30 lines
933 B
Twig
{% extends 'backoffice/base.html.twig' %}
|
|
|
|
{% block breadcrumbs %}
|
|
<nav aria-label="breadcrumb" class="mb-3">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item"><a href="{{ path('tvdt_backoffice_index') }}">{{ 'Home'|trans }}</a></li>
|
|
<li class="breadcrumb-item active" aria-current="page">{{ 'Create a season'|trans }}</li>
|
|
</ol>
|
|
</nav>
|
|
{% endblock %}
|
|
|
|
{% block body %}
|
|
<div class="row">
|
|
<div class="col-md-6 col-12">
|
|
<h2 class="mb-3">{{ 'Create a season'|trans }}</h2>
|
|
{{ form_start(form) }}
|
|
{{ form_row(form.name) }}
|
|
<button type="submit" class="btn btn-primary">{{ 'Submit'|trans }}</button>
|
|
{{ form_end(form) }}
|
|
</div>
|
|
<div class="col-md-6 col-12">
|
|
{{ include('backoffice/help/season_add.html.twig') }}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block title %}
|
|
|
|
{% endblock %}
|