Changeset 1070 for trunk/templates

Show
Ignore:
Timestamp:
06/12/07 22:47:03 (18 months ago)
Author:
dom
Message:

Add general validation framework, and add test for lat/long and os_x/os_y (closes #22)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/edit_form.tt

    r1053 r1070  
    1010      You will need to manually merge your changes into the new version. 
    1111    </div> 
     12  [% END %] 
     13 
     14  [% IF validate_failed %] 
     15    <div class="warning_text"> 
     16      <p> 
     17        Your input was invalid: 
     18      </p> 
     19      <ul> 
     20      [% FOREACH error = validate_failed %]  
     21        <li>[% error %]</li> 
     22      [% END %] 
     23      </ul> 
     24      <p> 
     25        Please correct your input data and try again. 
     26      </p> 
    1227  [% END %] 
    1328