aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Import/index.html.twig
blob: 2c8c158d70336d377bbefbfe03508ad5ecf67995 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "WallabagCoreBundle::layout.html.twig" %}

{% block title %}{% trans %}import{% endtrans %}{% endblock %}

{% block content %}

    <div id="set1" class="col s12">
        <form action="{{ path('import') }}" method="post" {{ form_enctype(form.import) }}>
            {{ form_errors(form.import) }}
            <div class="row">
                <div class="input-field col s12">
                    {{ form_errors(form.import.file) }}
                    {{ form_widget(form.import.file) }}
                    <label class="required">{% trans %}File{% endtrans %}</label>
                </div>
            </div>
            <div class="hidden">{{ form_rest(form.import) }}</div>
            <button class="btn waves-effect waves-light" type="submit" name="action">
                {% trans %}Upload file{% endtrans %}
            </button>
        </form>
    </div>
{% endblock %}