summaryrefslogtreecommitdiff
path: root/templates/trainsearch.html.ep
blob: 5d6d3f94a7c39bc786a47cddcd69af343e8577bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<div class="container">
  <div class="input-field">
    %= form_for _trainsearch => begin
      <div>
        <div class="field">
          <div class="desc">Zug</div>
          <div>
            %= text_field 'train1', placeholder => 'RE 1234', id => 'train1_input', autofocus => 'autofocus'
          </div>
        </div>
        <div class="field">
          %= submit_button 'Strecke zeigen'
        </div>
        <div class="break"></div>
        <div class="field">
          <div class="desc">
            Zweiter Zug (optional)
          </div>
          <div>
            %= text_field 'train2', placeholder => 'S 5678', id => 'train2_input'
          </div>
        </div>
        <div class="field">
          %= submit_button 'Begegnungen suchen (beta)'
        </div>
      </div>
    % end
  </div>
</div>