PageRenderTime 142ms CodeModel.GetById 60ms app.highlight 1ms RepoModel.GetById 80ms app.codeStats 0ms

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

http://github.com/jdmr/mateo
text | 48 lines | 48 code | 0 blank | 0 comment | 0 complexity | 6b1a878bfb6d0f5bb8adac07f26a8437 MD5 | raw file
 1<!doctype html>
 2<html>
 3	<head>
 4		<meta name="layout" content="main">
 5		<g:set var="entityName" value="${message(code: 'transaccion.label', default: 'Transacciè´¸n')}" />
 6		<title><g:message code="default.edit.label" args="[entityName]" /></title>
 7	</head>
 8	<body>
 9		<a href="#edit-cuenta" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
10		<div class="nav" role="navigation">
11			<ul>
12				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
13				<li><g:link class="list" action="lista"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
14				<li><g:link class="create" action="nueva"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
15			</ul>
16		</div>
17		<div id="edit-transaccion" class="content scaffold-edit" role="main">
18			<h1><g:message code="default.edit.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="${transaccion}">
23			<ul class="errors" role="alert">
24				<g:eachError bean="${transaccion}" 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 method="post" >
30				<g:hiddenField name="id" value="${transaccion?.id}" />
31				<g:hiddenField name="version" value="${transaccion?.version}" />
32				<fieldset class="form">
33                    <div class="fieldcontain ${hasErrors(bean: transaccion, field: 'descripcion', 'error')} required">
34                        <label for="descripcion">
35                            <g:message code="transaccion.descripcion.label" default="descripcion" />
36                            <span class="required-indicator">*</span>
37                        </label>
38                        <g:textField name="descripcion" maxlength="200" required="" value="${transaccion?.descripcion}"/>
39                    </div>
40				</fieldset>
41				<fieldset class="buttons">
42					<g:actionSubmit class="save" action="actualiza" value="${message(code: 'default.button.update.label', default: 'Update')}" />
43					<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?')}');" />
44				</fieldset>
45			</g:form>
46		</div>
47	</body>
48</html>