Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.29 KB | None | 0 0
  1. {% extends 'vehicles/vehicleTemplate.twig' %}
  2. {% block subcontent %}
  3. <div id="form_container">
  4.     <div>
  5.     {% if prompt == true %}
  6. <h2 style="color:#ffb833">{{ message }}</h2>
  7. {% endif %}
  8.     </div>
  9.         <form  enctype="multipart/form-data"   method="post" action="/vehicles/submitVehicle">
  10.             <div class="form_description">
  11.                 <p>Add new vehicle type to system</p>
  12.             </div>                     
  13.             <ul >
  14.                 <li>
  15.                     Select a picture to upload</br >
  16.                     <input type="hidden" name="MAX_FILE_SIZE" value="30000" />
  17.                     <input type="file" name="imgVehicle" accept="image/*" />
  18.                 </li>
  19.                 <li id="li_1" >
  20.                     <label class="description" for="element_1">Name </label>
  21.                         <div>
  22.                             <input name="txtVehicleName"  type="text" maxlength="255" value="Give it a name!"/>
  23.                         </div>
  24.                 </li>
  25.                 <li id="li_2" >
  26.                     <label class="description" for="element_2">Description </label>
  27.                     <div>
  28.                         <textarea rows="4" cols="50" name="txtVehicleDescription">
  29.                                                 Default description for new vehicle
  30.                         </textarea>
  31.                     </div>
  32.                 </li>
  33.                 <li class="buttons">
  34.                 <input type="hidden" name="form_id" value="55930" />
  35.                 <input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
  36.         </li>
  37.             </ul>
  38.         </form>
  39.     </div>
  40. </div>
  41. {% endblock subcontent %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement