Ignore:
Timestamp:
9 Jun 2011, 12:27:17 (13 years ago)
Author:
Henrik Bettermann
Message:

Control workflow in views.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/form_edit.pt

    r6204 r6303  
    55    tal:condition="view/label"
    66    tal:content="view/label">Label</h2>
     7
     8  <h3>Application Status:
     9    <span tal:replace="view/getApplicationState">Application State</span></h3>
    710
    811  <div class="form-status"
     
    4952        </tr>
    5053      </tal:block>
     54        <tr tal:condition="view/getTransitions">
     55        <td class="label"><label>Application Transition:</label></td>
     56        <td>
     57            <select id="transition" name="transition">
     58                <option tal:repeat="transition view/getTransitions" tal:attributes="value transition/name">
     59                    <span tal:replace="transition/title">TRANSITIONTITLE
     60                    </span>
     61                </option>
     62            </select>
     63        </td>
     64        </tr>
    5165    </tbody>
    5266  </table>
Note: See TracChangeset for help on using the changeset viewer.