Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form method="post" action="{{ path("createBook") }}">
- <input type="text" name="title" placeholder="title">
- <input type="text" name="description" placeholder="description">
- <input type="number" name="rating" placeholder="rating">
- <select name="author">
- {% for author in authors %}
- <option value="{{ author.id }}">
- {{ author.name }}
- </option>
- {% endfor %}
- </select>
- <input type="submit">
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement