PageRenderTime 102ms CodeModel.GetById 61ms app.highlight 0ms RepoModel.GetById 40ms app.codeStats 0ms

/grails-app/views/salida/nueva.gsp

http://github.com/jdmr/mateo
text | 39 lines | 39 code | 0 blank | 0 comment | 0 complexity | f93d378cc0cb619158d305be604de121 MD5 | raw file
 1<%@ page import="inventario.Salida" %>
 2<!doctype html>
 3<html>
 4	<head>
 5		<meta name="layout" content="main">
 6		<g:set var="entityName" value="${message(code: 'salida.label', default: 'Salida')}" />
 7		<title><g:message code="default.create.label" args="[entityName]" /></title>
 8	</head>
 9	<body>
10		<a href="#create-salida" 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			</ul>
16		</div>
17		<div id="create-salida" class="content scaffold-create" role="main">
18			<h1><g:message code="default.create.label" args="[entityName]" /></h1>
19			<g:if test="${flash.message}">
20			<div class="message" role="status">${flash.message}</div>
21			</g:if>
22			<g:hasErrors bean="${salida}">
23			<ul class="errors" role="alert">
24				<g:eachError bean="${salida}" var="error">
25				<li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
26				</g:eachError>
27			</ul>
28			</g:hasErrors>
29			<g:form action="crea" >
30				<fieldset class="form">
31					<g:render template="form"/>
32				</fieldset>
33				<fieldset class="buttons">
34					<g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" />
35				</fieldset>
36			</g:form>
37		</div>
38	</body>
39</html>