aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/lines
diff options
context:
space:
mode:
authorvlatka pavisic2016-11-09 15:04:07 +0100
committervlatka pavisic2016-11-09 15:04:07 +0100
commit56c0f55d2d8d566b931664b85c76dbe3a58e31cc (patch)
tree717b761de93b13a72f6fde9fa05b5b7cf57131ec /app/views/lines
parentd67ed4c32b338070e4e4ff33f89fe64011e14c3b (diff)
downloadchouette-core-56c0f55d2d8d566b931664b85c76dbe3a58e31cc.tar.bz2
Refs #1872 : Route direction and wayback enumerations
Diffstat (limited to 'app/views/lines')
-rw-r--r--app/views/lines/_form.html.slim8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/lines/_form.html.slim b/app/views/lines/_form.html.slim
index 113a5c46c..ace0c4548 100644
--- a/app/views/lines/_form.html.slim
+++ b/app/views/lines/_form.html.slim
@@ -19,11 +19,11 @@
.footnotes_block
h3 = t("footnotes.index.title")
-
+
#footnotes
= form.semantic_fields_for :footnotes do |f|
= render "footnotes/footnote_fields", :f => f
-
+
.add_footnote
= link_to_add_association t("footnotes.actions.add_footnote"), form, :footnotes , :partial => "footnotes/footnote_fields", :"data-association-insertion-method" => "append", :"data-association-insertion-node" => "div#footnotes", class: 'add'
@@ -32,7 +32,7 @@
= form.action :cancel, as: :link
javascript:
- $(function() {
+ $(function() {
$("#line_group_of_line_tokens").tokenInput("#{name_filter_referential_group_of_lines_path(@line_referential, format: :json)}", {
crossDomain: false,
prePopulate: $('#group_of_line_tokens').data('pre'),
@@ -42,4 +42,4 @@ javascript:
noResultsText: "#{I18n.t('no_result_text')}",
searchingText: "#{I18n.t('searching_term')}"
});
- }); \ No newline at end of file
+ });