Ignore:
Timestamp:
13 Jan 2012, 06:50:00 (13 years ago)
Author:
Henrik Bettermann
Message:

Move form status message to site layout pagetemplates. This saves a lot of code.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates/containermanagepage.pt

    r7459 r7463  
    11<h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
    2 <div class="alert-message error" tal:define="status view/status" tal:condition="status"> Form Status:
    3   <span i18n:translate="" tal:content="view/status"> Form status summary
    4   </span>
    5 </div>
     2
    63<form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data">
    74  <table>
  • main/waeup.sirp/trunk/src/waeup/sirp/hostels/browser_templates/hostelmanagepage.pt

    r7459 r7463  
    22  tal:condition="view/label"
    33  tal:content="view/label">Label</h2>
    4 
    5   <div class="alert-message error"
    6       tal:define="status view/status"
    7       tal:condition="status">
    8       Form Status:
    9       <span i18n:translate="" tal:content="view/status">
    10         Form status summary
    11       </span>
    12       <ul tal:condition="view/errors">
    13         <li tal:repeat="error view/error_views">
    14            <span tal:replace="structure error">Error Type</span>
    15         </li>
    16       </ul>
    17   </div>
    184
    195  <form action="." tal:attributes="action request/URL" method="POST"
Note: See TracChangeset for help on using the changeset viewer.