Last change
on this file since 1440 was
1440,
checked in by joachim, 18 years ago
|
book_reserverved_bed enhanced:
- reserve and change button added
1.) all beds which are reserved for this student are unreserved.
2.) the selected bed is reserved for this student.
3.) The new bed-koordinate is reflected in the accommodation object.
The reserve functionallity is unchanged.
|
-
Property svn:keywords set to
Id
|
File size:
1.3 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/content_lib_master/macros/master"> |
---|
12 | <metal:block fill-slot="header"> |
---|
13 | </metal:block> |
---|
14 | <metal:block fill-slot="main"> |
---|
15 | <form action="" id="editForm" method="post" |
---|
16 | enctype="multipart/form-data" class="workflow" |
---|
17 | tal:attributes="action options/formaction" |
---|
18 | > |
---|
19 | <div tal:replace="structure rendered_main" /> |
---|
20 | <br /> |
---|
21 | <input type="submit" class="standalone" |
---|
22 | name="reserve" |
---|
23 | tal:attributes="value options/button" |
---|
24 | tal:condition="not:creation" /> |
---|
25 | <input type="submit" tal:condition="python:mode !='view'" |
---|
26 | class="standalone" |
---|
27 | name="reserve_and_change" |
---|
28 | value="Reserve and Change Bed" |
---|
29 | /> |
---|
30 | </form> |
---|
31 | </metal:block> |
---|
32 | <metal:block fill-slot="sub"> |
---|
33 | </metal:block> |
---|
34 | </metal:block> |
---|
35 | </metal:block> |
---|
36 | </tal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.