source: trunk/grails-app/views/templateEditor/elements/_liTemplateEditable.gsp @ 980

Last change on this file since 980 was 980, checked in by j.a.m.wesbeek@…, 12 years ago
  • rewrote the css, javascript and views to use the famfamfam plugin instead
  • deleted the local famfamfam icons
  • Property svn:keywords set to Author Date Rev
File size: 1.2 KB
Line 
1<span class="listButtons">
2  <img onClick="editTemplate( ${template.id} );" src="${createLinkTo( dir: 'images/icons', file: 'application_edit.png', plugin: 'famfamfam' )}" alt="Edit template properties" title="Edit template properties">
3  <img onClick="editFields( ${template.id} );"src="${createLinkTo( dir: 'images/icons', file: 'application_form.png', plugin: 'famfamfam' )}" alt="Add/remove template fields" title="Add/remove template fields">
4  <img onClick="if( confirm( 'Are you sure?' ) ) { deleteTemplate( ${template.id} ); }" src="${createLinkTo( dir: 'images/icons', file: 'delete.png', plugin: 'famfamfam' )}" alt="Delete this template" title="Delete this template">
5</span>
6${template.name}
7
8
9<form class="templateField_form" id="template_${template.id}_form" action="updateTemplate">
10        <g:hiddenField name="id" value="${template.id}" />
11        <g:hiddenField name="version" value="${template.version}" />
12        <g:render template="elements/templateForm" model="['template': template]"/>
13        <div class="templateFieldButtons">
14                <input type="button" value="Save" onClick="updateTemplate( ${template.id} );">
15                <input type="button" value="Close" onClick="hideTemplateForm( ${template.id} );">
16        </div>
17</form>
Note: See TracBrowser for help on using the repository browser.