Changeset 9413 for main/waeup.kofa/trunk


Ignore:
Timestamp:
25 Oct 2012, 09:41:26 (12 years ago)
Author:
Henrik Bettermann
Message:

Display reasons for form validation error. This is important to understand invariant or constraint errors.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/static/waeup-base.css

    r8685 r9413  
    235235  width: 250px;
    236236}
     237
     238.alert-message.error ul {
     239    margin: 0 0 0px 25px
     240}
     241
     242.alert-message.error, .alert-message.error error, .alert-message.error l {
     243    color: white;
     244}
     245
     246#alert-error .error{
     247    color: white;
     248}
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/staffsitelayout.pt

    r8736 r9413  
    107107            FORM STATUS SUMMARY
    108108          </span>
     109          <ul id="alert-error" tal:condition="view/errors">
     110            <li tal:repeat="error view/error_views">
     111               <span tal:replace="structure error">Error Type</span>
     112            </li>
     113          </ul>
    109114        </div>
    110115        <div class="pull-right">
Note: See TracChangeset for help on using the changeset viewer.