source: trunk/grails-app/views/templateEditor/elements/_liFieldSelected.gsp @ 959

Last change on this file since 959 was 959, checked in by j.a.m.wesbeek@…, 12 years ago
  • set keyword expansion
  • Property svn:keywords set to Author Date Rev
File size: 991 bytes
Line 
1<span class="listButtons">
2  <g:if test="${template.inUse()}">
3        <img class="disabled" src="${createLinkTo( dir: 'images', file: 'icons/famfamfam/delete.png')}" alt="This field can not be removed from the template, as the template is still in use." title="This field can not be removed from the template, as the template is still in use.">
4  </g:if>
5  <g:else>
6        <img onClick="removeTemplateField( ${templateField.id} ); moveFieldListItem( ${templateField.id}, '#availableTemplateFields' );" src="${createLinkTo( dir: 'images', file: 'icons/famfamfam/delete.png')}" alt="Remove this template field from the template" title="Remove this template field from the template">
7  </g:else>
8</span>
9
10  <span class="ui-icon ui-icon-arrowthick-2-n-s"></span>
11  <b>${templateField.name}</b>
12  (<g:if test="${templateField.unit}">${templateField.unit}, </g:if><g:render template="elements/${templateField.type.toString().toLowerCase().replaceAll(/ /,'_')}" model="[templateField: templateField]"/>)
13   
14
Note: See TracBrowser for help on using the repository browser.