Skip to content

Commit

Permalink
missing jinja files
Browse files Browse the repository at this point in the history
  • Loading branch information
CPrich905 committed Dec 30, 2024
1 parent 1b0147a commit eb1c7c7
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
19 changes: 19 additions & 0 deletions quotas/jinja2/quota-definitions/bulk-create-definition-edit.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{% extends "layouts/form.jinja" %}

{% set page_title = "Edit quota definition period" %}
{% set page_subtitle = "Quota order number: "~request.session.quota_order_number%}
{% block content %}
<h1 class="govuk-heading-xl">
{% block page_title_heading %}
{{ page_title }}
{% endblock %}
<span class="govuk-caption-xl">
{% block page_subtitle %}
{{ page_subtitle }}
{% endblock %}
</span>
</h1>
{% call django_form() %}
{{ crispy(form) }}
{% endcall %}
{% endblock %}
2 changes: 1 addition & 1 deletion quotas/jinja2/quota-definitions/bulk-create-start.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</h1>
<p class="govuk-body">
You can create up to 20 quota definition periods for the same quota order number.
Subsequent periodswill be calculated from the first date range entered and the data will be duplicated across all definition periods.
Subsequent periods will be calculated from the first date range entered and the data will be duplicated across all definition periods.
</p>
<p>
Changes can be made to individual definition periods on the review page before submission
Expand Down
17 changes: 17 additions & 0 deletions quotas/jinja2/quota-definitions/bulk-create-step.jinja
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% extends "layouts/form.jinja" %}
{% from "components/details/macro.njk" import govukDetails %}

{% block content %}
<div class="govuk-grid-uk">
<div class="govuk-grid-colum-two-thirds">

{% if step_metadata[wizard.steps.current].info %}
<p class="govuk-body">{{ step_metadata[wizard.steps.current].info }}</p>
{% endif %}
{% call django_form(action=view.get_step_url(wizard.steps.current)) %}
{{ wizard.management_form }}
{% block form %}{{ crispy(form) }}{% endblock %}
{% endcall %}
</div>
</div>
{% endblock %}

0 comments on commit eb1c7c7

Please sign in to comment.