mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-27 18:32:16 +00:00
Start work on event checklist
This commit is contained in:
6
RIGS/templates/partials/checklist_checkbox.html
Normal file
6
RIGS/templates/partials/checklist_checkbox.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{% load widget_tweaks %}
|
||||
{% load help_text from filters %}
|
||||
<div class="form-check">
|
||||
{% render_field formitem|attr:'required=true' class+="form-check-input" %}
|
||||
<label class="form-check-label" for="{{ formitem.id_for_label }}">{{formitem.help_text|safe}}</label>
|
||||
</div>
|
||||
@@ -16,6 +16,13 @@
|
||||
{% endif%}
|
||||
<hr>
|
||||
<h5>Event Checklist:</h5>
|
||||
Coming Soon
|
||||
{% if event.eventchecklist %}
|
||||
<span class="fas fa-check text-success"></span> Completed <div class="btn-group"><a href="{% url 'ec_detail' event.eventchecklist.pk %}" class="btn btn-primary"><span class="fas fa-eye"></span> <span
|
||||
class="hidden-xs">View</span><a href="{% url 'ec_edit' event.eventchecklist.pk %}" class="btn btn-warning"><span class="fas fa-edit"></span> <span
|
||||
class="hidden-xs">Edit</span></a></div>
|
||||
{% else %}
|
||||
<a href="{% url 'event_ec' event.pk %}" class="btn btn-success"><span class="fas fa-paperclip"></span> <span
|
||||
class="hidden-xs">Create Risk Assessment</span></a>
|
||||
{% endif%}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user