source: WAeUP_SRP/trunk/skins/waeup_accommodation/allocate_reserved_bed_form.pt @ 11096

Last change on this file since 11096 was 1784, checked in by Henrik Bettermann, 18 years ago

replace content_lib_master by master_template

File size: 1.6 KB
Line 
1<tal:block define="rendered_main options/rendered;
2           portal_status_message options/psm;
3           data_storage options/ds;
4           mode options/mode;
5           formaction options/formaction;
6           matric_no options/matric_no|nothing;
7           name options/name|nothing;
8           creation creation|nothing;"
9           >
10  <metal:block define-macro="edit_form">
11    <metal:block use-macro="here/main_template/macros/master">
12      <metal:block fill-slot="header">
13      </metal:block>
14      <metal:block fill-slot="main">
15     
16     
17        <h3>Allocate or Release Reserved Bed! </h3>
18        <br />     
19     
20        <form action="" id="editForm" method="post"
21              enctype="multipart/form-data" class="workflow"
22              tal:attributes="action options/formaction"
23              >
24          <div tal:replace="structure rendered_main" />
25          <br />
26          <input type="submit" class="standalone"
27                 name="allocate"
28                 tal:attributes="value options/button"
29                 tal:condition="not:creation" />
30          <input type="submit" tal:condition="python:0 and mode !='view'"
31                 class="standalone"
32                 name="allocate_and_change"
33                 value="Allocate and Change Bed"
34                 />
35          <input type="submit" tal:condition="python:mode !='view'"
36                 class="standalone"
37                 name="release"
38                 value="Release Bed"
39                 />
40        </form>
41      </metal:block>
42      <metal:block fill-slot="sub">
43      </metal:block>
44    </metal:block>
45  </metal:block>
46</tal:block>
Note: See TracBrowser for help on using the repository browser.