Refactor question_form.html for consistent formatting and improved readability
This commit is contained in:
@@ -1,33 +1,29 @@
|
|||||||
{% extends "sbas/base.html" %}
|
{% extends 'sbas/base.html' %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% load partials %}
|
{% load partials %}
|
||||||
|
|
||||||
{% 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 %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="d-flex justify-content-between align-items-start mb-3 flex-column flex-md-row">
|
<div class="d-flex justify-content-between align-items-start mb-3 flex-column flex-md-row">
|
||||||
<div>
|
<div>
|
||||||
<h2>Submit Question</h2>
|
<h2>Submit Question</h2>
|
||||||
</div>
|
|
||||||
{{question}}
|
|
||||||
{% if question %}
|
|
||||||
{% include "sbas/question_detail.html#links-partial" %}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
{% if question %}
|
||||||
|
{% include 'sbas/question_detail.html#links-partial' %}
|
||||||
|
{% endif %}
|
||||||
|
</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>
|
</form>
|
||||||
<input type="submit" class="submit-button" value="Submit" name="submit">
|
{% endblock %}
|
||||||
</form>
|
|
||||||
{% endblock %}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user