Skip to content
Snippets Groups Projects
Commit c15cd6c3 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

button to add general appointment added

parent a21815ba
No related branches found
No related tags found
1 merge request!28button to add general appointment added
Pipeline #
......@@ -79,6 +79,14 @@
<div id="calendar"></div>
</div>
</div>
<div class="col-md-3">
<a href="{% url 'web.views.appointment_add_general' %}" type="button"
class="btn btn-block btn-default">Add General appointment</a>
</div>
<div class="col-md-3">
<a href="{% url 'web.views.subjects' %}" type="button"
class="btn btn-block btn-default">Add Subject appointment</a>
</div>
</div>
</div>
{% endblock maincontent %}
......
......@@ -26,7 +26,7 @@ urlpatterns = [
url(r'^appointments/details/(?P<id>\d+)$', views.appointment.appointment_details,
name='web.views.appointment_details'),
url(r'^appointments/add/(?P<visit_id>\d+)$', views.appointment.appointment_add, name='web.views.appointment_add'),
url(r'^appointments/add/general$', views.appointment.appointment_add, name='web.views.appointment_add'),
url(r'^appointments/add/general$', views.appointment.appointment_add, name='web.views.appointment_add_general'),
url(r'^appointments/edit/(?P<id>\d+)$', views.appointment.appointment_edit, name='web.views.appointment_edit'),
url(r'^visits$', views.visit.visits, name='web.views.visits'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment