Skip to content
Snippets Groups Projects
Commit 63ad6b6e authored by Carlos Vega's avatar Carlos Vega
Browse files

removed unnecessary code. Fixed issue #222 in template doctors/edit.html as well

parent a1d4e126
No related branches found
No related tags found
1 merge request!168Fixes issue #222 in which the voucher partner and health partner shown the option to select a role
Pipeline #6604 passed
......@@ -38,7 +38,6 @@
{{ field.label }}
</label>
{{field.field.widget.attrs.class}}
<div class="col-sm-8">
{{ field|add_class:'form-control' }}
</div>
......
......@@ -6,6 +6,11 @@
{{ block.super }}
<!-- DataTables -->
<link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}">
<style type="text/css">
.hidden_form_field{
display: none;
}
</style>
{% endblock styles %}
{% block ui_active_tab %}'workers'{% endblock ui_active_tab %}
......@@ -29,7 +34,7 @@
<div class="box-body">
{% for field in form %}
<div class="col-md-6 form-group {% if field.errors %}has-error{% endif %}">
<div class="col-md-6 form-group {% if field.errors %}has-error{% endif %} {{ field.field.widget.attrs.class }}">
<label for="{# TODO #}" class="col-sm-4 control-label">
{{ field.label }}
</label>
......
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