+ </div>
+
+ <!-- Filters -->
+ {% if form is not null %}
+ <div id="filters" class="side-nav fixed right-aligned">
+ <form action="{{ path('all') }}">
+
+ <h4 class="center">{{ 'entry.filters.title'|trans }}</h4>
+
+ <div class="row">
+ <div class="col s12">
+ <label>{{ 'entry.filters.status_label'|trans }}</label>
+ </div>
+
+ <div class="input-field col s6 with-checkbox">
+ {{ form_widget(form.isArchived) }}
+ {{ form_label(form.isArchived) }}
+ </div>
+
+ <div class="input-field col s6 with-checkbox">
+ {{ form_widget(form.isStarred) }}
+ {{ form_label(form.isStarred) }}
+ </div>
+
+ <div class="input-field col s6 with-checkbox">
+ {{ form_widget(form.isUnread) }}
+ {{ form_label(form.isUnread) }}
+ </div>
+
+ <div class="col s12">
+ <label>{{ 'entry.filters.preview_picture_help'|trans }}</label>
+ </div>
+
+ <div class="input-field col s12 with-checkbox">
+ {{ form_widget(form.previewPicture) }}
+ {{ form_label(form.previewPicture) }}
+ </div>
+
+ <div class="col s12">
+ {{ form_label(form.language) }}
+ </div>
+
+ <div class="input-field col s12">
+ {{ form_widget(form.language) }}
+ </div>
+
+ <div class="col s12">
+ {{ form_label(form.readingTime) }}
+ </div>
+ <div class="input-field col s6">
+ {{ form_widget(form.readingTime.left_number, {'type': 'number'}) }}
+ <label for="entry_filter_readingTime_left_number">{{ 'entry.filters.reading_time.from'|trans }}</label>
+ </div>
+ <div class="input-field col s6">
+ {{ form_widget(form.readingTime.right_number, {'type': 'number'}) }}
+ <label for="entry_filter_readingTime_right_number">{{ 'entry.filters.reading_time.to'|trans }}</label>
+ </div>
+
+ <div class="input-field col s12">
+ {{ form_widget(form.domainName, {'type': 'text', 'attr' : {'placeholder': 'website.com'} }) }}
+ {{ form_label(form.domainName) }}
+ </div>
+
+ <div class="col s12">
+ {{ form_label(form.createdAt) }}
+ </div>
+
+ <div class="input-field col s6">
+ {{ form_widget(form.createdAt.left_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.left_date.vars.value} }) }}
+ <label for="entry_filter_createdAt_left_date" class="active">{{ 'entry.filters.created_at.from'|trans }}</label>
+ </div>
+ <div class="input-field col s6">
+ {{ form_widget(form.createdAt.right_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.right_date.vars.value} }) }}
+ <label for="entry_filter_createdAt_right_date" class="active">{{ 'entry.filters.created_at.to'|trans }}</label>
+ </div>
+
+ <div class="col s6">
+ <a href="#!" class="center waves-effect waves-green btn-flat" id="clear_form_filters">{{ 'entry.filters.action.clear'|trans }}</a>
+ </div>
+
+ <div class="col s6">
+ <button class="btn waves-effect waves-light" type="submit" id="submit-filter" value="filter">{{ 'entry.filters.action.filter'|trans }}</button>
+ </div>
+ </div>
+
+ </form>
+ </div>