Refactor question_form.html for consistent formatting and improved readability
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{% extends "sbas/base.html" %}
|
{% extends 'sbas/base.html' %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% load partials %}
|
{% load partials %}
|
||||||
@@ -6,8 +6,7 @@
|
|||||||
{% block js %}
|
{% block js %}
|
||||||
<!-- <script type="text/javascript" src="/admin/jsi18n/"></script> -->
|
<!-- <script type="text/javascript" src="/admin/jsi18n/"></script> -->
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript"></script>
|
||||||
</script>
|
|
||||||
|
|
||||||
{{ form.media }}
|
{{ form.media }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
@@ -16,18 +15,15 @@
|
|||||||
<div>
|
<div>
|
||||||
<h2>Submit Question</h2>
|
<h2>Submit Question</h2>
|
||||||
</div>
|
</div>
|
||||||
{{question}}
|
|
||||||
{% if question %}
|
{% if question %}
|
||||||
{% include "sbas/question_detail.html#links-partial" %}
|
{% include 'sbas/question_detail.html#links-partial' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form action="" method="post" enctype="multipart/form-data" id="anatomyquestion-form">
|
<form action="" method="post" enctype="multipart/form-data" id="anatomyquestion-form">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
<table>
|
<table>{{ form.as_table }}</table>
|
||||||
{{ form.as_table }}
|
<input type="submit" class="submit-button" value="Submit" name="submit" />
|
||||||
</table>
|
|
||||||
<input type="submit" class="submit-button" value="Submit" name="submit">
|
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user