From ec49ae6c46ad577b7c3f443e663b7f82dbe90c2d Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Wed, 12 Sep 2018 18:22:14 +0900 Subject: [PATCH] Add tooltip Signed-off-by: Kenji Okimoto --- app/views/shared/vue/_grep_pattern.html.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/shared/vue/_grep_pattern.html.haml b/app/views/shared/vue/_grep_pattern.html.haml index 00b2411..86ff93d 100644 --- a/app/views/shared/vue/_grep_pattern.html.haml +++ b/app/views/shared/vue/_grep_pattern.html.haml @@ -7,14 +7,16 @@ %label {{ grepType | humanize }} .form-group - %label + %label{"data" => {"toggle" => "tooltip", "placement" => "right"}, + "title" => "The field name to which the regular expression is applied."} Key %input.form-control{"v-bind:id" => 'inputId("key", index, subIndex)', "v-bind:name" => 'inputName("key", index, subIndex)', "v-model:lazy" => "key", "type" => "text"} .form-group - %label + %label{"data" => {"toggle" => "tooltip", "placement" => "right"}, + "title" => "The regular expression"} Pattern %input.form-control{"v-bind:id" => 'inputId("pattern", index, subIndex)', "v-bind:name" => 'inputName("pattern", index, subIndex)',