Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends 'vehicles/vehicleTemplate.twig' %}
- {% block subcontent %}
- <div id="form_container">
- <div>
- {% if prompt == true %}
- <h2 style="color:#ffb833">{{ message }}</h2>
- {% endif %}
- </div>
- <form enctype="multipart/form-data" method="post" action="/vehicles/submitVehicle">
- <div class="form_description">
- <p>Add new vehicle type to system</p>
- </div>
- <ul >
- <li>
- Select a picture to upload</br >
- <input type="hidden" name="MAX_FILE_SIZE" value="30000" />
- <input type="file" name="imgVehicle" accept="image/*" />
- </li>
- <li id="li_1" >
- <label class="description" for="element_1">Name </label>
- <div>
- <input name="txtVehicleName" type="text" maxlength="255" value="Give it a name!"/>
- </div>
- </li>
- <li id="li_2" >
- <label class="description" for="element_2">Description </label>
- <div>
- <textarea rows="4" cols="50" name="txtVehicleDescription">
- Default description for new vehicle
- </textarea>
- </div>
- </li>
- <li class="buttons">
- <input type="hidden" name="form_id" value="55930" />
- <input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
- </li>
- </ul>
- </form>
- </div>
- </div>
- {% endblock subcontent %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement