remove unecessary check

This commit is contained in:
David Ray 2014-02-28 12:17:48 -05:00
parent 4d1e9cf78e
commit 5f27b01452

View file

@ -24,13 +24,11 @@
{% include "schedule/_edit_grid.html" %} {% include "schedule/_edit_grid.html" %}
{% endfor %} {% endfor %}
</div> </div>
{% if request.user.is_staff %}
<form id="schedule-builder" action="." method="post" enctype="multipart/form-data">{% csrf_token %} <form id="schedule-builder" action="." method="post" enctype="multipart/form-data">{% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" name="submit" value="Submit" /> <input type="submit" name="submit" value="Submit" />
<input type="submit" id="delete" name="delete" value="Delete Schedule" /> <input type="submit" id="delete" name="delete" value="Delete Schedule" />
</form> </form>
{% endif %}
<div class="modal fade hide in" id="slotEditModal"></div> <div class="modal fade hide in" id="slotEditModal"></div>
</div> </div>
{% endblock %} {% endblock %}