Commits

Luke Plant committed 0f410a3

Fixed an HTML error

  • Participants
  • Parent commits 433e8cf
  • Branches bookings

Comments (0)

Files changed (1)

File templates/cciw/bookings/place_details_row_inc.html

     </td>
   </tr>
   <tr class="sectionbottom">
-      <td colspan="3">
-        {% if b.bookable %}
-          <img src="{% static "admin/img/icon-yes.gif" %}"> This place can be booked
-          {% if b.manually_approved %}<b> - MANUALLY APPROVED</b>{% endif %}
-        {% else %}
-          <img src="{% static "admin/img/icon-no.gif" %}"> This place cannot be booked:
-          <ul>
+    <td colspan="3">
+      {% if b.bookable %}
+        <img src="{% static "admin/img/icon-yes.gif" %}"> This place can be booked
+        {% if b.manually_approved %}<b> - MANUALLY APPROVED</b>{% endif %}
+      {% else %}
+        <img src="{% static "admin/img/icon-no.gif" %}"> This place cannot be booked:
+        <ul>
           {% for p in b.booking_problems %}
             <li>{{ p }}</li>
           {% endfor %}
-          </ul>
-        {% endif %}
-      </td>
-    </tr>
+        </ul>
+      {% endif %}
+    </td>
   </tr>
   {% if not forloop.last %}
   <tr class="spacer">