From 8fc681c572314687d036e4d56486f013ff1d2048 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 21 Feb 2019 17:25:23 +0100 Subject: add placeholder text for main input element --- templates/layouts/default.html.ep | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index d4f2407..8468391 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -67,10 +67,10 @@ Bitte eine Station aus der Liste auswählen %= select_field station => stash('stationlist') % } % elsif (stash('station')) { - %= text_field 'station', class => 'station' + %= text_field 'station', class => 'station', placeholder => 'Name oder DS100-Kürzel' % } % else { - %= text_field 'station', class => 'station', autofocus => 'autofocus' + %= text_field 'station', class => 'station', placeholder => 'Name oder DS100-Kürzel', autofocus => 'autofocus' % } -- cgit v1.2.3