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

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

change which hopefully fixes the first time run errors about AssayModule?.url, and further implementation of #268 (with a nice refactoring)

  • Property svn:keywords set to Author Date Rev
File size: 1.1 KB
RevLine 
[556]1<span class="listButtons">
[1159]2  <img onClick="showTemplateFieldForm( 'templateField_' + ${templateField.id}); 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( ${templateField.id} ); }" src="${resource( dir: 'images/icons', file: 'delete.png', plugin: 'famfamfam' )}" alt="Delete this template field" title="Delete this template field">
4  <img onClick="addTemplateField( ${templateField.id}, null, true );" src="${resource( dir: 'images/icons', file: 'add.png', plugin: 'famfamfam' )}" alt="Add field to template" title="Add field to template">
[556]5</span>
[544]6
[556]7<b>${templateField.name}</b>
[1386]8(<g:if test="${templateField.unit}">${templateField.unit}, </g:if>${templateField.type.name})
[556]9
10<form class="templateField_form" id="templateField_${templateField.id}_form" action="updateField">
[558]11        <g:render template="elements/fieldForm" model="['templateField': templateField, 'ontologies': ontologies, 'fieldTypes': fieldTypes]"/>
[544]12</form>
Note: See TracBrowser for help on using the repository browser.