1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-12-18 05:32:23 -05:00
wallabag/app/views/add.twig
2014-01-09 21:20:35 +01:00

25 lines
550 B
Twig

{% extends layout %}
{% block menu %}
<nav role="navigation">
<ul>
<li><a href="/">{{ 'unread'|trans }}</a></li>
<li>{{ 'starred'|trans }}</li>
<li><a href="/archive">{{ 'archive'|trans }}</a></li>
<li><a href="{{ path('add') }}">{{ 'entry.add'|trans }}</a></li>
</ul>
</nav>
{% endblock %}
{% block content %}
<h2>{{ 'entry.add'|trans }}</h2>
<form action="#" method="post">
{{ form_widget(form) }}
<input type="submit" name="submit" />
</form>
<p><a href="/">back to home</a></p>
{% endblock %}