diff options
Diffstat (limited to 'template/en/default/admin/custom_fields/create.html.tmpl')
-rw-r--r-- | template/en/default/admin/custom_fields/create.html.tmpl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/template/en/default/admin/custom_fields/create.html.tmpl b/template/en/default/admin/custom_fields/create.html.tmpl index b366371bd..e8b66deca 100644 --- a/template/en/default/admin/custom_fields/create.html.tmpl +++ b/template/en/default/admin/custom_fields/create.html.tmpl @@ -79,10 +79,11 @@ <tr> <th align="right"><label for="type">Type:</label></th> <td> - [%# Only one field type is valid right now. But let's prepare the UI - # for future new types. %] <select id="type" name="type"> - <option value="FIELD_TYPE_FREETEXT">Free Text</option> + [% FOREACH type = field_types.keys %] + [% NEXT IF type == constants.FIELD_TYPE_UNKNOWN %] + <option value="[% type FILTER html %]">[% field_types.$type FILTER html %]</option> + [% END %] </select> </td> |