Changeset 1053


Ignore:
Timestamp:
Jun 10, 2007, 2:50:29 AM (14 years ago)
Author:
Dagfinn Ilmari Mannsåker
Message:

Sync up up label tags and form element id attributes (closes #217)

Location:
trunk/templates
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/edit_form.tt

    r1031 r1053  
    4848
    4949      <div class="edit_form_group" id="content_group">
    50         <label for="content">
     50        <label for="content_textarea">
    5151          [% IF conflict %]
    5252            Current content:
  • trunk/templates/missing_metadata.tt

    r893 r1053  
    3232<div>
    3333        <label for="metadata_value">Metadata Value:</label>
    34         <input name="metadata_value" value="[% metadata_value %]" />
     34        <input name="metadata_value" id="metadata_value" value="[% metadata_value %]" />
    3535        &nbsp; &nbsp; &nbsp;
    3636        <i>Optional, eg 'pub' when metadata value is Category</i>
     
    3838<div>
    3939        <label for="exclude_locales">Exclude Locales:</label>
    40         <input type="checkbox" name="exclude_locales" [% IF exclude_locales %]checked="true"[% END %] />
     40        <input type="checkbox" name="exclude_locales" id="exclude_locales" [% IF exclude_locales %]checked="true"[% END %] />
    4141</div>
    4242<div>
    4343        <label for="exclude_categories">Exclude Categories:</label>
    44         <input type="checkbox" name="exclude_categories" [% IF exclude_categories %]checked="true"[% END %] />
     44        <input type="checkbox" name="exclude_categories" id="exclude_categories" [% IF exclude_categories %]checked="true"[% END %] />
    4545</div>
    4646<div>
  • trunk/templates/moderate_confirm.tt

    r852 r1053  
    2525[% IF moderation_action == 'set_moderation' %]
    2626  <label for="moderation_flag">Moderation Required:</label>
    27   <input type="checkbox" name="moderation_flag" [% IF moderation_flag %]checked="yes"[% END %] />
     27  <input type="checkbox" name="moderation_flag" id="moderation_flag" [% IF moderation_flag %]checked="yes"[% END %] />
    2828  <br />
    2929[% ELSE %]
    3030  <input type="hidden" name="version" value="[% version %]" />
    3131[% END %]
    32   <strong>Password:</strong>
    33   <input type="password" name="password" />
     32  <strong><label for="password">Password:</label></strong>
     33  <input type="password" name="password" id="password" />
    3434  <input type="submit" value="Go!" />
    3535</form>
  • trunk/templates/preferences.tt

    r1050 r1053  
    8080    <p>
    8181      <label for="default_edit_type">Default edit type:</label>
    82       <select name="default_edit_type">
     82      <select name="default_edit_type" id="default_edit_type">
    8383        [% IF default_edit_type == 'normal' %]
    8484          <option value="normal" selected="1">Normal edit</option>
     
    9393    <p>
    9494      <label for="cookie_expires">Preferences expire:</label>
    95       <select name="cookie_expires">
     95      <select name="cookie_expires" id="cookie_expires">
    9696        [% IF cookie_expires == 'never' %]
    9797          <option value="month">in one month</option>
Note: See TracChangeset for help on using the changeset viewer.