Show
Ignore:
Timestamp:
07/20/08 01:04:38 (16 months ago)
Author:
bchoate
Message:

Updates to support display of custom fields on registration form. BugId:80702

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/tmpl/comment/register.tmpl

    r2088 r2821  
    8787    </mtapp:setting> 
    8888 
     89    <mt:Loop name="field_loop"> 
     90        <mt:If name="__first__"> 
     91        <input type="hidden" name="_type" value="author" id="obj_type" /> 
     92        <input type="hidden" name="customfield_beacon" value="1" id="customfield_beacon" /> 
     93        </mt:If> 
     94        <!-- start-customfield_<$mt:Var name="basename"$> --> 
     95        <mtapp:setting 
     96            id="$field_id" 
     97            label="$name" 
     98            hint="$description" 
     99            shown="$show_field" 
     100            show_hint="$show_hint" 
     101            required="$required"> 
     102 
     103        <$mt:Var name="field_html"$> 
     104 
     105        </mtapp:setting> 
     106        <!-- end-customfield_<$mt:Var name="basename"$> --> 
     107    </mt:Loop> 
     108 
    89109    <div class="actions-bar"> 
    90110        <div class="actions-bar-inner pkg actions">