]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig
Add originUrl property to Entry, handle that in EntryRestController, handle migration
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Entry / edit.html.twig
CommitLineData
b17874a7
AD
1{% extends "WallabagCoreBundle::layout.html.twig" %}
2
0d42217e 3{% block title %}{{ 'entry.edit.page_title'|trans }}{% endblock %}
b17874a7
AD
4
5{% block content %}
6
7 <div class="row">
8 <div class="col s12">
9 <div class="card-panel">
10
11 <form name="entry" method="post" action="">
12 <div class="card-content">
b17874a7
AD
13 {% if form_errors(form) %}
14 <span class="black-text">{{ form_errors(form) }}</span>
15 {% endif %}
16
17 {% if form_errors(form.title) %}
18 <span class="black-text">{{ form_errors(form.title) }}</span>
19 {% endif %}
20
21 <div class="input-field s12">
22 {{ form_label(form.title) }}
23 {{ form_widget(form.title) }}
24 </div>
25
0d42217e
JB
26 <div class="input-field s12">
27 {{ form_label(form.url) }}
28 {{ form_widget(form.url) }}
29 </div>
b17874a7 30 <br>
0d42217e
JB
31
32 {{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
b17874a7 33 </div>
0d42217e 34 {{ form_rest(form) }}
b17874a7
AD
35 </form>
36
37 </div>
38 </div>
39 </div>
40
41{% endblock %}