Skip to content

Commit

Permalink
More explicit display of XSLT params
Browse files Browse the repository at this point in the history
  • Loading branch information
streino committed Nov 2, 2024
1 parent 7ab6839 commit 480688c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion isomorphe/templates/fragments/select_transformation.html.j2
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{% set params = transformation.params %}
{% if params %}
<div>
Paramètres
<ul>
{% for param in params %}
<li>
<div class="fr-input-group">
<label class="fr-label" for="query">{{ param.name|capitalize }}{% if param.required %} *{% endif %}</label>
<label class="fr-label" for="query">{{ param.name }} : {% if param.required %} *{% endif %}</label>
<input {% if param.required %}required{% endif %} class="fr-input" type="text" id="param-{{ param.name }}" name="param-{{ param.name }}" value="{{ param.default_value }}" />
</div>
</li>
{% endfor %}
</ul>
</div>
{% endif %}

0 comments on commit 480688c

Please sign in to comment.