aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
index 7706896f..505a739b 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
@@ -211,22 +211,24 @@
211 <!-- Sort --> 211 <!-- Sort -->
212 {% if sortForm is not null %} 212 {% if sortForm is not null %}
213 <div id="sort" class="side-nav right-aligned"> 213 <div id="sort" class="side-nav right-aligned">
214 <form action="{{ path('all') }}"> 214 <form action="{{ previousRoute }}">
215 <h4 class="center">{{ 'entry.sort.title'|trans }}</h4> 215 <h4 class="center">{{ 'entry.sort.title'|trans }}</h4>
216 216
217 <div class="row"> 217 <div class="row">
218 <div class="input-field col s6 with-checkbox"> 218 <div class="col s12">
219 {{ form_widget(sortForm.sortType) }}
220 {{ form_label(sortForm.sortType) }} 219 {{ form_label(sortForm.sortType) }}
221 </div> 220 </div>
222 221
222 <div class="input-field col s12">
223 {{ form_widget(sortForm.sortType) }}
224 </div>
225
223 <div class="col s12"> 226 <div class="col s12">
224 <div class="switch"> 227 {{ form_label(sortForm.sortOrder) }}
225 <label>Ascendant 228 </div>
226 {{ form_widget(sortForm.sortOrder) }} <span class="lever"></span> 229
227 Descendant 230 <div class="input-field col s12">
228 </label> 231 {{ form_widget(sortForm.sortOrder) }}
229 </div>
230 </div> 232 </div>
231 233
232 <div class="col s12"> 234 <div class="col s12">