source: trunk/grails-app/views/templateEditor/elements/_liTemplateNonEditable.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: 1.2 KB
1<g:set var="numUses" value="${template.numUses()}" />
2<span class="listButtons">
3  <img onClick="editTemplate( ${} );" src="${createLinkTo( dir: 'images', file: 'icons/famfamfam/application_edit.png')}" alt="Edit template properties" title="Edit template properties">
4  <img onClick="editFields( ${} );"src="${createLinkTo( dir: 'images', file: 'icons/famfamfam/application_form.png')}" alt="Add/remove template fields" title="Add/remove template fields">
5  <img class="disabled" src="${createLinkTo( dir: 'images', file: 'icons/famfamfam/delete.png')}" alt="Deleting this template is not possible. Template is used in ${numUses} objects." title="Deleting this template is not possible. Template is used in ${numUses} objects.">
10<form class="templateField_form" id="template_${}_form" action="updateTemplate">
11        <g:hiddenField name="id" value="${}" />
12        <g:hiddenField name="version" value="${template.version}" />
13        <g:render template="elements/templateForm" model="['template': template]"/>
14        <div class="templateFieldButtons">
15                <input type="button" value="Save" onClick="updateTemplate( ${} );">
16                <input type="button" value="Close" onClick="hideTemplateForm( ${} );">
17        </div>
Note: See TracBrowser for help on using the repository browser.