PageRenderTime 11ms CodeModel.GetById 8ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/grails-app/views/auxiliar/edita.gsp

http://github.com/jdmr/mateo
text | 44 lines | 44 code | 0 blank | 0 comment | 0 complexity | 38ac985abc112e3b5ed657950a414e0e MD5 | raw file
 1<%@ page import="contabilidad.Auxiliar" %>
 2<!doctype html>
 3<html>
 4	<head>
 5		<meta name="layout" content="main">
 6		<g:set var="entityName" value="${message(code: 'auxiliar.label', default: 'Auxiliar')}" />
 7		<title><g:message code="default.edit.label" args="[entityName]" /></title>
 8        <r:require module="tagit" />
 9	</head>
10	<body>
11		<a href="#edit-auxiliar" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
12		<div class="nav" role="navigation">
13			<ul>
14				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
15				<li><g:link class="list" action="lista"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
16				<li><g:link class="create" action="nuevo"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
17			</ul>
18		</div>
19		<div id="edit-auxiliar" class="content scaffold-edit" role="main">
20			<h1><g:message code="default.edit.label" args="[entityName]" /></h1>
21			<g:if test="${flash.message}">
22			<div class="message" role="status">${flash.message}</div>
23			</g:if>
24			<g:hasErrors bean="${auxiliar}">
25			<ul class="errors" role="alert">
26				<g:eachError bean="${auxiliar}" var="error">
27				<li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
28				</g:eachError>
29			</ul>
30			</g:hasErrors>
31			<g:form method="post" >
32				<g:hiddenField name="id" value="${auxiliar?.id}" />
33				<g:hiddenField name="version" value="${auxiliar?.version}" />
34				<fieldset class="form">
35					<g:render template="form"/>
36				</fieldset>
37				<fieldset class="buttons">
38					<g:actionSubmit class="save" action="actualiza" value="${message(code: 'default.button.update.label', default: 'Update')}" />
39					<g:actionSubmit class="delete" action="elimina" value="${message(code: 'default.button.delete.label', default: 'Delete')}" formnovalidate="" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
40				</fieldset>
41			</g:form>
42		</div>
43	</body>
44</html>