Skip to content

Commit

Permalink
Update template
Browse files Browse the repository at this point in the history
  • Loading branch information
metaodi committed Mar 15, 2024
1 parent a0d6447 commit 534b114
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/index.html
Expand Up @@ -5,7 +5,7 @@ <h1>{% block title %} Vernehmlassung 2000 {% endblock %}</h1>
<form method="get">
<div class="form-group">
<label for="consultation_id" value="{{ request.args['consultation_id'] }}">Fedlex Nummer der Vernehmlassung</label>
<input type="text" class="form-control" name="consultation_id" aria-describedby="fedlexlHelp" value="{{ consultation_id }}" placeholder="172.010.1">
<input type="text" class="form-control" name="consultation_id" aria-describedby="fedlexlHelp" value="{{ consultation_id if consultation_id}}" placeholder="172.010.1">
<small id="fedlexHelp" class="form-text text-muted">SR-Nummer für die eine Vernehmlassung gestartet werden sll (z.B. 172.010.1).</small>
</div>
<button type="submit" class="btn btn-primary">Gesetzestext laden</button>
Expand All @@ -14,9 +14,7 @@ <h1>{% block title %} Vernehmlassung 2000 {% endblock %}</h1>
{% for key in content %}
<div class="form-group">
<label for="exampleFormControlTextarea1">Example textarea</label>
<textarea class="form-control" id="{{key}}_text" name="{{key}}_text" rows="3">
{{ content[key]['text'] }}
</textarea>
<textarea class="form-control" id="{{key}}_text" name="{{key}}_text" rows="3">{{ content[key]['text'] }}</textarea>
</div>
<div class="form-group">
<input class="form-control form-control-lg" id="{{key}}_comment" name="{{key}}_comment"type="text" placeholder="Kommentar">
Expand Down

0 comments on commit 534b114

Please sign in to comment.