Commits

Luke Plant committed 81b96d7

Increased distinction between adding new place and editing existing.

  • Participants
  • Parent commits b1881ca
  • Branches bookings

Comments (0)

Files changed (2)

File cciw/bookings/views.py

 
 class BookingAddPlace(BookingEditAddBase, BaseCreateView):
     __metaclass__ = AjaxMroFixer
-    metadata_title = "Booking - add place"
+    metadata_title = "Booking - add new place"
     form_class = AddPlaceForm
 
 

File templates/cciw/bookings/add_place.html

 
   {% else %}
 
+     {% if form.instance.id %}
+     <p>Details for <b>{{ form.instance.name }}</b>:</p>
+     {% else %}
      <p>Please enter the details needed to book a place on a camp. Required fields
        are starred.</p>
+     {% endif %}
 
   {% endif %}