diff options
Diffstat (limited to 'template/en/default/admin/custom_fields/edit.html.tmpl')
-rw-r--r-- | template/en/default/admin/custom_fields/edit.html.tmpl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/template/en/default/admin/custom_fields/edit.html.tmpl b/template/en/default/admin/custom_fields/edit.html.tmpl index def825e7c..6ffa3d89d 100644 --- a/template/en/default/admin/custom_fields/edit.html.tmpl +++ b/template/en/default/admin/custom_fields/edit.html.tmpl @@ -69,7 +69,7 @@ </tr> <tr> <th align="right">Type:</th> - <td>Free Text</td> + <td>[% field_types.${field.type} FILTER html %]</td> <th align="right"><label for="obsolete">Is obsolete:</label></th> <td><input type="checkbox" id="obsolete" name="obsolete" value="1" @@ -85,6 +85,15 @@ <th> </th> <td> </td> </tr> + [% IF field.type == constants.FIELD_TYPE_SINGLE_SELECT %] + <tr> + <th> </th> + <td colspan="3"> + <a href="editvalues.cgi?field=[% field.name FILTER url_quote %]">Edit + legal values for this field</a>. + </td> + </tr> + [% END %] </table> <br> <input type="hidden" name="action" value="update"> |