diff --git a/smash/web/templates/subjects/visitdetails.html b/smash/web/templates/subjects/visitdetails.html
index 70b4beb38d3983fb6870878f7de99b712330b3d7..2f48544c33e4c202aa8bdfad5bde3474a7e8481b 100644
--- a/smash/web/templates/subjects/visitdetails.html
+++ b/smash/web/templates/subjects/visitdetails.html
@@ -3,9 +3,9 @@
 {% load filters %}
 
 {% block styles %}
-    {{ block.super }}
-    <!-- DataTables -->
-    <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}">
+{{ block.super }}
+<!-- DataTables -->
+<link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}">
 {% endblock styles %}
 
 {% block ui_active_tab %}'subjects'{% endblock ui_active_tab %}
@@ -15,125 +15,123 @@
 {% block title %}{{ block.super }} - List of subject's visits {% endblock %}
 
 {% block breadcrumb %}
-    {% include "subjects/breadcrumb.html" %}
+{% include "subjects/breadcrumb.html" %}
 {% endblock breadcrumb %}
 
 {% block maincontent %}
 
-    {% block content %}
-        <div class="box box-info">
-            <div class="box-header with-border">
-                <a href="{% url 'web.views.visits' %}" class="btn btn-block btn-default"
-                   onclick="history.back()">Back</a>
-                <a href="{% url 'web.views.visit_add' id %}" type="button" class="btn btn-block btn-default">Add
-                    visit</a>
-            </div>
-
-            <div class="box-body">
-                <form class="form-horizontal">
-                    {% for element in display %}
-                        <div class="box box-widget widget-user-2">
-                            <div class="widget-user-header bg-green">
-                                <h3 class="widget-user-username">{{ element.4 }}</h3>
-                                <h5 class="widget-user-desc">
-                                    {% if element.2 %}(Finished)
-                                    {% else %}(Not finished)
-                                    {% endif %}
-                                    <a href="{% url 'web.views.visit_details' element.3 %}"><font color="#D3D3D3">Details
-                                        >>></font></a>
-                                </h5>
-                            </div>
-                            <div class="box-footer">
-                                {% for field in element.0 %}
-                                    <div class="col-md-6 form-group  {% if field.errors %}has-error{% endif %}">
-                                        <label class="col-sm-4 control-label">{{ field.label }}</label>
-
-                                        <div class="col-sm-8">
-                                            {{ field|add_class:'form-control' }}
-                                        </div>
-
-                                        {% if field.errors %}
-                                            <span class="help-block">{{ field.errors }}</span>{% endif %}
-                                    </div>
-                                {% endfor %}
-                            </div>
+{% block content %}
+<div class="box box-info">
+    <div class="box-header with-border">
+        <a href="{% url 'web.views.visits' %}" class="btn btn-block btn-default"
+           onclick="history.back()">Back</a>
+        <a href="{% url 'web.views.visit_add' id %}" type="button" class="btn btn-block btn-default">Add
+            visit</a>
+    </div>
+
+    <div class="box-body">
+        <form class="form-horizontal">
+            {% for element in display %}
+            <div class="box box-widget widget-user-2">
+                <div class="widget-user-header bg-green">
+                    <h3 class="widget-user-username">{{ element.4 }}</h3>
+                    <h5 class="widget-user-desc">
+                        {% if element.2 %}(Finished)
+                        {% else %}(Not finished)
+                        {% endif %}
+                        <a href="{% url 'web.views.visit_details' element.3 %}"><font color="#D3D3D3">Details
+                            >>></font></a>
+                    </h5>
+                </div>
+                <div class="box-footer">
+                    {% for field in element.0 %}
+                    <div class="col-md-6 form-group  {% if field.errors %}has-error{% endif %}">
+                        <label class="col-sm-4 control-label">{{ field.label }}</label>
+
+                        <div class="col-sm-8">
+                            {{ field|disable|add_class:'form-control' }}
                         </div>
 
-                        <div class="box box-widget widget-user-2">
-                            <div class="widget-user-header bg-default">
-                                <h3 class="widget-user-username">Visit's appointments</h3>
-                                <!--<h5 class="widget-user-desc">
-                                </h5>-->
-                            </div>
-                            <div class="box-footer">
-                                {% if element.1 %}
-                                    <table id="table" class="table table-bordered table-striped">
-                                        <thead>
-                                        <tr>
-                                            <th>No.</th>
-                                            <th>Type</th>
-                                            <th>Date</th>
-                                            <th>Time</th>
-                                            <th>Length [min]</th>
-                                            <th>Responsible</th>
-                                            <th>Plan/Modify</th>
-                                        </tr>
-                                        </thead>
-                                        <tbody>
-                                        {% for app in element.1 %}
-                                            <tr>
-                                                <td>{{ forloop.counter }}</td>
-                                                <td style="background-color:{{ app.color }} !important">
-                                                    <font COLOR="{{ app.font_color }}">
-                                                        {% for type in app.appointment_types.all %}
-                                                            {{ type.code }},
-                                                        {% endfor %}
-                                                    </font>
-                                                </td>
-                                                <td>{{ app.datetime_when | date:"d-M-Y" }}</td>
-                                                <td>{{ app.datetime_when | time:"H:i" }}</td>
-                                                <td>{{ app.length }}</td>
-                                                <td>
-                                                    {% if app.flying_team %} Flying team
-                                                    {% else %} {{ app.worker_assigned.first_name }}
-                                                        {{ app.worker_assigned.last_name }}
-                                                    {% endif %}
-                                                </td>
-                                                <td>
-                                                    {% ifequal app.status "SCHEDULED" %}
-                                                        <a href="{% url 'web.views.appointment_edit' app.id %}"
-                                                           type="button" class="btn btn-block btn-default">Edit</a>
-                                                    {% else %}
-                                                        {{ app.status }}
-                                                    {% endifequal %}
-                                                </td>
-                                            </tr>
-                                        {% endfor %}
-
-                                        </tbody>
-                                    </table>
-                                {% else %}
-                                    No appointments found.
+                        {% if field.errors %}
+                        <span class="help-block">{{ field.errors }}</span>{% endif %}
+                    </div>
+                    {% endfor %}
+                </div>
+            </div>
+
+            <div class="box box-widget widget-user-2">
+                <div class="widget-user-header bg-default">
+                    <h3 class="widget-user-username">Visit's appointments</h3>
+                </div>
+                <div class="box-footer">
+                    {% if element.1 %}
+                    <table id="table" class="table table-bordered table-striped">
+                        <thead>
+                        <tr>
+                            <th>No.</th>
+                            <th>Type</th>
+                            <th>Date</th>
+                            <th>Time</th>
+                            <th>Length [min]</th>
+                            <th>Responsible</th>
+                            <th>Plan/Modify</th>
+                        </tr>
+                        </thead>
+                        <tbody>
+                        {% for app in element.1 %}
+                        <tr>
+                            <td>{{ forloop.counter }}</td>
+                            <td style="background-color:{{ app.color }} !important">
+                                <font COLOR="{{ app.font_color }}">
+                                    {% for type in app.appointment_types.all %}
+                                    {{ type.code }},
+                                    {% endfor %}
+                                </font>
+                            </td>
+                            <td>{{ app.datetime_when | date:"d-M-Y" }}</td>
+                            <td>{{ app.datetime_when | time:"H:i" }}</td>
+                            <td>{{ app.length }}</td>
+                            <td>
+                                {% if app.flying_team %} Flying team
+                                {% else %} {{ app.worker_assigned.first_name }}
+                                {{ app.worker_assigned.last_name }}
                                 {% endif %}
-                            </div>
-                        </div>
+                            </td>
+                            <td>
+                                {% ifequal app.status "SCHEDULED" %}
+                                <a href="{% url 'web.views.appointment_edit' app.id %}"
+                                   type="button" class="btn btn-block btn-default">Edit</a>
+                                {% else %}
+                                {{ app.status }}
+                                {% endifequal %}
+                            </td>
+                        </tr>
+                        {% endfor %}
+
+                        </tbody>
+                    </table>
+                    {% else %}
+                    No appointments found.
+                    {% endif %}
+                </div>
+            </div>
 
-                    {% endfor %}
-                </form>
+            {% endfor %}
+        </form>
 
-            </div><!-- /.box-body -->
+    </div><!-- /.box-body -->
 
-        </div>
+</div>
 
-    {% endblock %}
+{% endblock %}
 
 
 {% endblock maincontent %}
 
 {% block scripts %}
-    {{ block.super }}
+{{ block.super }}
 
-    <script src="{% static 'AdminLTE/plugins/datatables/jquery.dataTables.min.js' %}"></script>
-    <script src="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.min.js' %}"></script>
+<script src="{% static 'AdminLTE/plugins/datatables/jquery.dataTables.min.js' %}"></script>
+<script src="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.min.js' %}"></script>
 
 {% endblock scripts %}