diff --git a/smash/web/templates/doctors/add.html b/smash/web/templates/doctors/add.html index d3fe6a0f8b68c7ef929d05408f91739d6903092c..b09413fcd98af0c3890f1b993a015af65118bfc0 100644 --- a/smash/web/templates/doctors/add.html +++ b/smash/web/templates/doctors/add.html @@ -38,7 +38,6 @@ {{ field.label }} </label> - {{field.field.widget.attrs.class}} <div class="col-sm-8"> {{ field|add_class:'form-control' }} </div> diff --git a/smash/web/templates/doctors/edit.html b/smash/web/templates/doctors/edit.html index 0cec140da7cc8be3611b371522c56ca36be31e1f..c8435067c97ba02e96a5bec0735a6ed752bbe04b 100644 --- a/smash/web/templates/doctors/edit.html +++ b/smash/web/templates/doctors/edit.html @@ -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>