mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
feat: add configurable help text for relationships
Displayed at the top of relationship forms
This commit is contained in:
@@ -15,6 +15,14 @@
|
||||
|
||||
<h1>Add Relationship</h1>
|
||||
|
||||
{% with config.RELATIONSHIP_FORM_HELP as help_text %}
|
||||
{% if help_text %}
|
||||
<div class="alert alert-info mt-3 pb-0">
|
||||
{{ help_text|linebreaks }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<hr>
|
||||
|
||||
<form class="form"
|
||||
|
||||
@@ -18,6 +18,14 @@
|
||||
|
||||
<h1>Update Relationship</h1>
|
||||
|
||||
{% with config.RELATIONSHIP_FORM_HELP as help_text %}
|
||||
{% if help_text %}
|
||||
<div class="alert alert-info mt-3 pb-0">
|
||||
{{ help_text|linebreaks }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<hr>
|
||||
|
||||
<form class="form"
|
||||
|
||||
Reference in New Issue
Block a user