mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-27 10:22:17 +00:00
Initial work at integrating the risk assessment
#136. No clever database structure as yet...
This commit is contained in:
10
RIGS/templates/partials/yes_no_radio.html
Normal file
10
RIGS/templates/partials/yes_no_radio.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<label for="{{ formitem.id_for_label }}"
|
||||
class="col-sm-8 control-label">{{label}}{% if note %}<br><small>{{note}}</small>{%endif%}</label>
|
||||
<div class="col-4 pb-3">
|
||||
{% for radio in formitem %}
|
||||
<div class="custom-control custom-radio">
|
||||
{{ radio.tag }}
|
||||
<label class="custom-control-label" for="{{ radio.id_for_label }}">{{ radio.choice_label }}</label>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user