Skip to content
Snippets Groups Projects
Commit e16e172f authored by Rachel TORCHET's avatar Rachel TORCHET
Browse files

Update PK administration mode list and add empty form to formset steps

Former-commit-id: 2b7cd50f2a63ea32f8094a25d1f19dadb7b95251
parent a641956e
No related branches found
No related tags found
No related merge requests found
......@@ -221,7 +221,7 @@ ADMINISTRATION_MODE = [
("Enteral",
[('', "Oral"), ('', "Sublingual"), ('', "Rectal")]),
("Parenteral",
[('', "Inhalational"), ('', "Intravenous"), ('', "Intramuscular"), ('', "Subcutaneous"), ('', "Intra-arterial"), ('', "Intra-articular"), ('', "Intrathecal"), ('', "Intradermal"), ('', "Inhalation"), ('', "Transdermal")]),
[('', "Inhalational"), ('', "Intravenous"), ('', "Intramuscular"), ('', "Subcutaneous"), ('', "Intra-arterial"), ('', "Intra-articular"), ('', "Intrathecal"), ('', "Intradermal"), ('', "Transdermal")]),
("Local",
[('', "Skin topical"), ('', "Intranasal"), ('', "Ocular drops"), ('', "Mucosal-throat"), ('', "Vagina"), ('', "Mouth"), ('', "Ear"), ('', "Transdermal")]),
]
......
......@@ -76,6 +76,9 @@
</table>
<input class="submit_button" type="submit" value="{% trans "Next step" %}"/>
</form>
<div style="display:none;">
Empty form: {{ wizard.form.empty_form }}
</div>
</div>
</div>
......
......@@ -214,11 +214,19 @@
<div>
<input type="button" id="ck-button-long" class="add-test" value="Add Test" onclick="cloneMoreEmpty('.div_test:last', 'TestsForm');"/>
</div>
{% endfor %}
{% endif %}
</table>
<input class="submit_button" type="submit" name="{{ wizard.steps.next }}" value="{% trans "Submit" %}"/>
</form>
<div style="display:none;">
Empty form:
{% for field in wizard.form.empty_form %}
test: {{ field }}
{% endfor %}
</div>
</div>
</div>
{% endblock %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment