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/applicants/browser_templates
Files:
5 edited

Legend:

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

    r7459 r7463  
    1212      <span tal:replace="msg">message</span><br />
    1313    </div>
    14   </div>
    15 
    16   <div class="alert-message error"
    17     tal:define="status view/status"
    18     tal:condition="status">
    19     Form Status:
    20     <span i18n:translate="" tal:content="view/status">
    21       Form status summary
    22     </span>
    2314  </div>
    2415
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantregister.pt

    r7459 r7463  
    55    tal:condition="view/label"
    66    tal:content="view/label">Label</h2>
    7 
    8   <div class="alert-message error"
    9     tal:define="status view/status"
    10     tal:condition="status">
    11     Form Status:
    12     <span i18n:translate="" tal:content="view/status">
    13       Form status summary
    14     </span>
    15   </div>
    167
    178  <table class="form-table">
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontaineraddpage.pt

    r7459 r7463  
    55    tal:condition="view/label"
    66    tal:content="view/label">Label</h2>
    7 
    8   <div class="alert-message error"
    9     tal:define="status view/status"
    10     tal:condition="status">
    11     Form Status:
    12     <span i18n:translate="" tal:content="view/status">
    13       Form status summary
    14     </span>
    15   </div>
    167
    178  <table class="form-table">
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantscontainermanagepage.pt

    r7459 r7463  
    11<form action="." tal:attributes="action request/URL" method="POST"  class="edit-form" enctype="multipart/form-data">
    22  <h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
    3   <div class="alert-message error"  tal:define="status view/status"  tal:condition="status"> Form Status:
    4     <span i18n:translate="" tal:content="view/status"> Form status summary
    5     </span>
    6   </div>
     3
    74  <ul class="tabs" data-tabs="tabs">
    85    <li class="active">
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser_templates/applicantsrootmanagepage.pt

    r7459 r7463  
    11<h2 i18n:translate="" tal:condition="view/label" tal:content="view/label">Label</h2>
    2 <div tal:define="status view/status" tal:condition="status" class="alert-message error">
    3   <div i18n:translate="" tal:content="view/status"> Form status summary
    4   </div>
    5   <ul class="errors" tal:condition="view/errors">
    6     <li tal:repeat="error view/error_views">
    7       <span tal:replace="structure error">Error Type
    8       </span>
    9     </li>
    10   </ul>
    11 </div>
     2
    123<form action="." tal:attributes="action request/URL" method="POST"  enctype="multipart/form-data">
    134  <ul class="tabs" data-tabs="tabs">
Note: See TracChangeset for help on using the changeset viewer.