From 0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Wed, 9 Mar 2016 08:59:08 +0100 Subject: Convert english translation file - convert english translation to translate key - remove baggy template for login (never used since user isn't logged in and it'll use the default theme: material) - fix tests about text in response (now checking translation key instead of translated text) - remove all ugly `` --- .../Resources/views/themes/material/Entry/edit.html.twig | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig index c002c4c3..1c5e2aab 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig @@ -1,6 +1,6 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{% trans %}Edit an entry{% endtrans %}{% endblock %} +{% block title %}{{ 'entry.edit.page_title'|trans }}{% endblock %} {% block content %} @@ -10,7 +10,6 @@
- {% if form_errors(form) %} {{ form_errors(form) }} {% endif %} @@ -24,17 +23,20 @@ {{ form_widget(form.title) }}
+
+ {{ form_label(form.url) }} + {{ form_widget(form.url) }} +
+
{{ form_widget(form.is_public) }} {{ form_label(form.is_public) }}

- + + {{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} - + {{ form_rest(form) }}
-- cgit v1.2.3