%if c.visual.repository_fields:
%if c.repo_fields:
${_('Label')} |
${_('Key')} |
${_('Type')} |
${_('Action')} |
%for field in c.repo_fields:
${field.field_label} |
${field.field_key} |
${field.field_type} |
${h.secure_form(h.url('delete_repo_fields', repo_name=c.repo_info.repo_name, field_id=field.repo_field_id),method='delete')}
${h.hidden('del_repo_field',field.repo_field_id)}
${h.end_form()}
|
%endfor
%endif
${h.secure_form(h.url('create_repo_fields', repo_name=c.repo_name),method='put')}
${h.end_form()}
%else:
${_('Extra fields are disabled. You can enable them from the Admin/Settings/Visual page.')}
%endif