PageRenderTime 203ms CodeModel.GetById 120ms app.highlight 1ms RepoModel.GetById 80ms app.codeStats 0ms

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

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