Advertisement
sanjiisan

Untitled

Sep 13th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. <form method="post" action="{{ path("createBook") }}">
  2. <input type="text" name="title" placeholder="title">
  3. <input type="text" name="description" placeholder="description">
  4. <input type="number" name="rating" placeholder="rating">
  5.  
  6.  
  7. <select name="author">
  8. {% for author in authors %}
  9. <option value="{{ author.id }}">
  10. {{ author.name }}
  11. </option>
  12. {% endfor %}
  13. </select>
  14. <input type="submit">
  15. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement