Skip to content

Instantly share code, notes, and snippets.

@jerronimo
Last active August 29, 2015 14:06
Show Gist options
  • Save jerronimo/b7079df0e5f91f4599dc to your computer and use it in GitHub Desktop.
Save jerronimo/b7079df0e5f91f4599dc to your computer and use it in GitHub Desktop.
<form method="POST" action="{{ path('stories_add') }}" class="form-stories-test" role="form">
<p class="form-group">
<label for="name">Name</label>
<input type="text" name="name" id="name" class="form-control" />
</p>
<p class="form-group">
<label for="title">Title</label>
<input type="text" name="title" id="title" class="form-control" />
</p>
<p>
<label for="theme">theme</label>
<select name="theme" id="theme" class="form-control">
{% for theme in themes %}
<option value="{{ theme.id }}">{{ theme.name }}</option>
{% endfor %}
</select>
</p>
<p>
<label for="category">category</label>
<select name="category" id="category" class="form-control">
{% for category in categories %}
<option value="{{ category.id }}">{{ category.title }}</option>
{% endfor %}
</select>
</p>
<p>
<label for="textFoto">textFoto</label>
<textarea rows="3" name="textFoto" id="textFoto" class="form-control"></textarea>
</p>
<p>
<label for="unTitled">unTitled</label>
<textarea rows="3" name="unTitled" id="unTitled" class="form-control"></textarea>
</p>
<p>
<label for="message">message</label>
<textarea rows="3" type="text" name="message" id="message" class="form-control"></textarea>
</p>
<p>
<input type="submit" value="Save" class="btn btn-success"/>
</p>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment