source: main/waeup.kofa/branches/uli-py3/src/waeup/kofa/students/browser_templates/bedticketaddpage.pt @ 17421

Last change on this file since 17421 was 15709, checked in by Henrik Bettermann, 5 years ago

Implement bed selector.

File size: 1.9 KB
Line 
1<form method="POST" i18n:domain="waeup.kofa">
2  <table class="form-table">
3    <tbody>
4      <tal:show_available_beds condition="view/show_available_beds">
5        <tr>
6          <td i18n:translate="" colspan="2">
7            Select your bed before booking acommodation.
8            Your choice cannot be changed afterwards.
9          </td>
10        </tr>
11        <tr>
12          <td i18n:translate="">
13            Desired Bed Space:
14          </td>
15          <td>
16          <span class="form-inline">
17            <select class="form-control" id="bed" name="bed">
18              <option tal:repeat="bed view/getAvailableBeds"
19                      tal:attributes="value bed/bed_id">
20              <span tal:replace="bed/temp_bed_coordinates">BED</span>
21              </option>
22            </select>
23          </span>
24          </td>
25        </tr>
26      </tal:show_available_beds>
27      <tal:with_ac condition="view/with_ac">
28        <tr>
29          <td i18n:translate="">
30          Activation Code:
31          </td>
32          <td>
33          <span tal:replace="view/ac_prefix">PIN Prefix</span> -
34          <input name="ac_series" type="text" maxlength="3"
35                 class="ac-input ac-series"
36                 value="" tal:attributes="value view/ac_series"/> -
37          <input name="ac_number" type="text" maxlength="10"
38                 class="ac-input ac-number"
39                 value="" tal:attributes="value view/ac_number" />
40          <font color="red"><span tal:replace="view/notice">Notice</span>
41          </font>
42          </td>
43        </tr>
44        <tr>
45          <td>&nbsp;</td>
46          <td i18n:translate="">
47          The activation code can be found on the payment slip.
48          </td>
49        </tr>
50      </tal:with_ac>
51    </tbody>
52  </table>
53  <br />
54  <input type="submit" name="SUBMIT" class="btn btn-primary"
55         tal:attributes="value view/buttonname" />
56</form>
Note: See TracBrowser for help on using the repository browser.