]>
Commit | Line | Data |
---|---|---|
03e3753f JB |
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | ||
3 | {% block title %}{{ 'import.readability.page_title'|trans }}{% endblock %} | |
4 | ||
5 | {% block content %} | |
6 | <div class="row"> | |
7 | <div class="col s12"> | |
8 | <div class="card-panel settings"> | |
9 | <div class="row"> | |
10 | <blockquote>{{ import.description|trans }}</blockquote> | |
11 | <p>{{ 'import.readability.how_to'|trans }}</p> | |
12 | ||
13 | <div class="col s12"> | |
14 | {{ form_start(form, {'method': 'POST'}) }} | |
15 | {{ form_errors(form) }} | |
16 | <div class="row"> | |
17 | <div class="file-field input-field col s12"> | |
18 | {{ form_errors(form.file) }} | |
19 | <div class="btn"> | |
20 | <span>{{ form.file.vars.label|trans }}</span> | |
21 | {{ form_widget(form.file) }} | |
22 | </div> | |
23 | <div class="file-path-wrapper"> | |
24 | <input class="file-path validate" type="text"> | |
25 | </div> | |
26 | </div> | |
27 | <div class="input-field col s6 with-checkbox"> | |
28 | <h6>{{ 'import.form.mark_as_read_title'|trans }}</h6> | |
29 | {{ form_widget(form.mark_as_read) }} | |
30 | {{ form_label(form.mark_as_read) }} | |
31 | </div> | |
32 | </div> | |
33 | ||
34 | {{ form_widget(form.save, { 'attr': {'class': 'btn waves-effect waves-light'} }) }} | |
35 | ||
36 | {{ form_rest(form) }} | |
37 | </form> | |
38 | </div> | |
39 | </div> | |
40 | </div> | |
41 | </div> | |
42 | </div> | |
43 | {% endblock %} |