aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/time_table_combinations
diff options
context:
space:
mode:
authorZog2018-02-12 16:10:01 +0100
committerZog2018-02-20 14:32:41 +0100
commiteed186f44ee13c73dd6ba3df78f72a89cde3d30d (patch)
treeb38e47a5da12e1865c5a9bb037cddc0019ddc539 /app/views/time_table_combinations
parent338a4df2491bebe0acd30c384665dd420899910c (diff)
downloadchouette-core-eed186f44ee13c73dd6ba3df78f72a89cde3d30d.tar.bz2
Refs #5901; Makes TimeTable search accent insensitive
Diffstat (limited to 'app/views/time_table_combinations')
-rw-r--r--app/views/time_table_combinations/_form.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/time_table_combinations/_form.html.slim b/app/views/time_table_combinations/_form.html.slim
index 426624ee3..6a0fda01e 100644
--- a/app/views/time_table_combinations/_form.html.slim
+++ b/app/views/time_table_combinations/_form.html.slim
@@ -7,7 +7,7 @@
abbr title='Champ requis' *
= f.input :combined_type, as: :boolean, checked_value: 'time_table', unchecked_value: 'calendar', required: false, label: content_tag(:span, t("time_table_combinations.combined_type.#{@combination.combined_type}"), class: 'switch-label', data: { checkedValue: 'Calendriers', uncheckedValue: 'Modèles de calendriers' }), wrapper_html: { class: 'col-sm-8 col-xs-7' }
- = f.input :time_table_id, as: :select, input_html: {class: 'tt_combination_target', style: "width: 100%", data: { 'select2-ajax': 'true', 'select2ed-placeholder': 'Indiquez un calendrier...', term: 'comment_or_objectid_cont_any', url: referential_autocomplete_time_tables_path(@referential, format: :json, :source_id => @combination.source_id)}}, wrapper_html: {class: @combination.combined_type != 'time_table' ? 'hidden' : ''}
+ = f.input :time_table_id, as: :select, input_html: {class: 'tt_combination_target', style: "width: 100%", data: { 'select2-ajax': 'true', 'select2ed-placeholder': 'Indiquez un calendrier...', term: 'unaccented_comment_or_objectid_cont_any', url: referential_autocomplete_time_tables_path(@referential, format: :json, :source_id => @combination.source_id)}}, wrapper_html: {class: @combination.combined_type != 'time_table' ? 'hidden' : ''}
= f.input :calendar_id, as: :select, input_html: { class: 'tt_combination_target', style: "width: 100%", data: { 'select2-ajax': 'true', 'select2ed-placeholder': 'Indiquez un modèle de calendrier...', term: 'name_cont', url: autocomplete_calendars_path}}, wrapper_html: {class: @combination.combined_type != 'calendar' ? 'hidden' : ''}