source: trunk/grails-app/views/template/importTemplate.gsp @ 1257

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

Added an export and import functionality for templates, as described in ticket #76

File size: 561 bytes
Line 
1<%@ page contentType="text/html;charset=UTF-8" %>
2
3<html>
4  <head>
5        <meta name="layout" content="main"/>
6    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7    <title>Import templates</title>
8  </head>
9  <body>
10    <h1>Select XML file to import </h1>
11        <g:if test="${flash.message}">
12          <div>${flash.message}</div>
13        </g:if>
14        <g:form controller="template" method="post" action="handleImportedFile" enctype="multipart/form-data">
15          <input type="file" name="file"/><br />
16          <input type="submit" value="Import" />
17        </g:form>
18  </body>
19</html>
Note: See TracBrowser for help on using the repository browser.