diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-02-21 17:25:23 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-02-21 17:25:23 +0100 |
commit | 8fc681c572314687d036e4d56486f013ff1d2048 (patch) | |
tree | 0bd0ce03e5d03fc97c186a31a8e959c140886c35 /templates | |
parent | 5989f8501dda05eaeba56431eececcc2e72b3317 (diff) |
add placeholder text for main input element
Diffstat (limited to 'templates')
-rw-r--r-- | templates/layouts/default.html.ep | 4 |
1 files 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</div> %= 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' % } </div> </div> |