dkiker / ITech

Repository for the Internet Technology project
1 stars 0 forks source link

Add a Trip Page Functionality #4

Closed dkiker closed 8 years ago

dkiker commented 8 years ago

Work on Add a trip page to meet design specification

dkiker commented 8 years ago

It might be a good idea to preset Field Title & Help Text in similar manner to this (see screenshot). Field name, actual field, question mark icon with "alt" attribute showing the help text. In addition, and further to our discussion, fields should be presented in the following order: 1)Trip Name * 2) Trip Picture (optional) 3) Select City to view on map 4) Places Field

screen shot 2016-03-10 at 17 50 19

dkiker commented 8 years ago

In addition, url should accept a parameter in the end (optional parameter) which will be the name of the city that the map will be focused on page load. This way it will be possible to directly pass to add a trip from home page.

Skeftical commented 8 years ago

We cannot use that specific order since selecting a city to view is not part of the form

dkiker commented 8 years ago

Hi Fotis, you can always do following while looping through the fields (in your html page). {% for field in other_form %} print fields as per your normal procedure {% ifequal field.label "our_select_image_field_name" %} our select location element {% endifequal %} {% endfor %} rest of the code