aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorAlban Peignier2017-03-30 17:14:07 +0200
committerAlban Peignier2017-03-30 17:22:00 +0200
commite6083aa8e7a0d37c4100caec37fa65ae3232c4c1 (patch)
tree4e81b3b5bfd098780236b7bd2d63f84e145dda05 /app/views
parent1ff8d9641247120812d389814849db7b53c0817e (diff)
downloadchouette-core-e6083aa8e7a0d37c4100caec37fa65ae3232c4c1.tar.bz2
Manage both archived_at_not_null and archived_at_null in WorkbenchesController#show (without ransack help). Refs #3013
Diffstat (limited to 'app/views')
-rw-r--r--app/views/workbenches/_filters.html.slim4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/workbenches/_filters.html.slim b/app/views/workbenches/_filters.html.slim
index 5700b2eca..6b010bc99 100644
--- a/app/views/workbenches/_filters.html.slim
+++ b/app/views/workbenches/_filters.html.slim
@@ -13,7 +13,9 @@
.form-group.togglable
= f.label @wbench_refs.human_attribute_name(:status), required: false, class: 'control-label'
- = f.input :archived_at_not_null, label: ("<span>Conservé<span class='fa fa-archive'></span></span>").html_safe, as: :boolean, wrapper_html: { class: 'checkbox_list' }, input_html: { class: 'check_boxes' }
+ .filter_menu
+ = f.input :archived_at_not_null, label: ("<span>Conservé<span class='fa fa-archive'></span></span>").html_safe, as: :boolean, wrapper_html: { class: 'checkbox_list' }, input_html: { class: 'check_boxes' }
+ = f.input :archived_at_null, label: ("<span>En préparation<span class='fa'></span></span>").html_safe, as: :boolean, wrapper_html: { class: 'checkbox_list' }, input_html: { class: 'check_boxes' }
.form-group.togglable
= f.label 'Organisation(s)', required: false, class: 'control-label'