source: trunk/grails-app/views/templateEditor/elements/_liFieldNotInUse.gsp @ 1175

Last change on this file since 1175 was 1175, checked in by robert@…, 12 years ago

The templateeditor is now capable of adding new items to a stringlist (that is in use), or adding new ontologies to a ontologyterm field that is in use. See ticket #74

  • Property svn:keywords set to Author Date Rev
File size: 1.2 KB
1<span class="listButtons">
2  <img onClick="showTemplateFieldForm( 'templateField_' + ${}); this.blur(); return false;" src="${resource( dir: 'images/icons', file: 'application_edit.png', plugin: 'famfamfam' )}" alt="Edit template field properties" title="Edit template field properties">
3  <img onClick="if( confirm( 'Are you sure?' ) ) { deleteTemplateField( ${} ); }" src="${resource( dir: 'images/icons', file: 'delete.png', plugin: 'famfamfam' )}" alt="Delete this template field" title="Delete this template field">
4  <img onClick="addTemplateField( ${}, null, true );" src="${resource( dir: 'images/icons', file: 'add.png', plugin: 'famfamfam' )}" alt="Add field to template" title="Add field to template">
8(<g:if test="${templateField.unit}">${templateField.unit}, </g:if><g:render template="elements/${templateField.type.toString().toLowerCase().replaceAll(/ /,'_')}" model="[templateField: templateField]" />)
10<form class="templateField_form" id="templateField_${}_form" action="updateField">
11        <g:render template="elements/fieldForm" model="['templateField': templateField, 'ontologies': ontologies, 'fieldTypes': fieldTypes]"/>
Note: See TracBrowser for help on using the repository browser.