]>
Commit | Line | Data |
---|---|---|
f92fcb53 JB |
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | ||
3 | {% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %} | |
4 | ||
5 | {% block content %} | |
6 | ||
7 | <div class="row"> | |
8 | <div class="col s12"> | |
9 | <div class="card-panel"> | |
10 | <div class="row"> | |
11 | <div class="input-field col s12"> | |
12 | <h4>{{ 'site_credential.new_site_credential'|trans }}</h4> | |
13 | ||
14 | <div id="set6" class="col s12"> | |
15 | {{ form_start(form) }} | |
16 | {{ form_errors(form) }} | |
17 | ||
18 | <div class="row"> | |
19 | <div class="input-field col s12"> | |
20 | {{ form_label(form.host) }} | |
21 | {{ form_errors(form.host) }} | |
22 | {{ form_widget(form.host) }} | |
23 | </div> | |
24 | </div> | |
25 | ||
26 | <div class="row"> | |
27 | <div class="input-field col s12"> | |
28 | {{ form_label(form.username) }} | |
29 | {{ form_errors(form.username) }} | |
30 | {{ form_widget(form.username) }} | |
31 | </div> | |
32 | </div> | |
33 | ||
34 | <div class="row"> | |
35 | <div class="input-field col s12"> | |
36 | {{ form_label(form.password) }} | |
37 | {{ form_errors(form.password) }} | |
38 | {{ form_widget(form.password) }} | |
39 | </div> | |
40 | </div> | |
41 | ||
42 | {{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} | |
43 | {{ form_rest(form) }} | |
44 | </form> | |
fc6d92c6 | 45 | <p><a class="waves-effect waves-light btn blue-grey" href="{{ path('site_credentials_index') }}">{{ 'site_credential.form.back_to_list'|trans }}</a></p> |
f92fcb53 JB |
46 | </div> |
47 | </div> | |
48 | </div> | |
49 | </div> | |
50 | </div> | |
51 | </div> | |
52 | ||
53 | {% endblock %} |