aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/time_table_combinations
diff options
context:
space:
mode:
authorcedricnjanga2017-08-30 18:05:16 +0200
committercedricnjanga2017-08-30 18:16:58 +0200
commit6f9ab93c2af49d093a305d1dea904d5d53e74cb6 (patch)
tree57f9ffb9fb65c1188fe3edc8fa9acba54d2b1c96 /app/views/time_table_combinations
parent323c26dfe6fef74842f21b7c9ee53593065e438e (diff)
downloadchouette-core-6f9ab93c2af49d093a305d1dea904d5d53e74cb6.tar.bz2
Refs #4177
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 581f00457..8e2d77d46 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', 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: 'comment_cont_or_objectid_cont', 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' : ''}