source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/baseeditpage.pt @ 7117

Last change on this file since 7117 was 7112, checked in by Henrik Bettermann, 13 years ago

Add passport picture uploader to student base data pages.

File size: 1.6 KB
Line 
1<h2 i18n:translate=""
2    tal:condition="view/label"
3    tal:content="view/label">Label</h2>
4
5<form action="." tal:attributes="action request/URL" method="post"
6      class="edit-form" enctype="multipart/form-data">
7
8  <div class="form-status"
9    tal:define="status view/status"
10    tal:condition="status">
11    <span i18n:translate="" tal:content="view/status">
12      Form status summary
13    </span>
14  </div>
15
16  <input type="hidden" name="student_id" value=""
17         tal:attributes="value context/student_id" />
18
19  <table class="form-fields zebra">
20    <tbody>
21      <tal:block repeat="widget view/widgets">
22        <tr>
23          <td class="label">
24            <label tal:attributes="for widget/name">
25              <span class="required" tal:condition="widget/required">*</span>
26              <span i18n:translate="" tal:content="widget/label">label</span>:
27            </label>
28          </td>
29          <td class="field">
30            <span class="widget" tal:content="structure widget">
31              <input type="text" />
32            </span>
33            <tal:error tal:condition="widget/error">
34              <span tal:replace="structure widget/error">error</span>
35            </tal:error>
36            <tal:hint tal:condition="widget/hint">
37              <span class="hint" tal:content="structure widget/hint">hint</span>
38            </tal:hint>
39          </td>
40        </tr>
41      </tal:block>
42      <tal:files content="structure provider:files" />
43    </tbody>
44  </table>
45
46  <div class="actionButtons" tal:condition="view/availableActions">
47    <input tal:repeat="action view/actions"
48           tal:replace="structure action/render"
49           />
50  </div>
51</form>
Note: See TracBrowser for help on using the repository browser.