PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

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

http://github.com/jdmr/mateo
text | 74 lines | 60 code | 14 blank | 0 comment | 0 complexity | a66d5e35c1f3eb35488eab3a636e7528 MD5 | raw file
 1
 2<%@ page import="contabilidad.Auxiliar" %>
 3<!doctype html>
 4<html>
 5	<head>
 6		<meta name="layout" content="main">
 7		<g:set var="entityName" value="${message(code: 'auxiliar.label', default: 'Auxiliar')}" />
 8		<title><g:message code="default.show.label" args="[entityName]" /></title>
 9	</head>
10	<body>
11		<a href="#show-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="show-auxiliar" class="content scaffold-show" role="main">
20			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
21			<g:if test="${flash.message}">
22			<div class="message" role="status">${flash.message}</div>
23			</g:if>
24			<ol class="property-list auxiliar">
25			
26				<g:if test="${auxiliar?.numero}">
27				<li class="fieldcontain">
28					<span id="numero-label" class="property-label"><g:message code="auxiliar.numero.label" default="Numero" /></span>
29					
30						<span class="property-value" aria-labelledby="numero-label"><g:fieldValue bean="${auxiliar}" field="numero"/></span>
31					
32				</li>
33				</g:if>
34			
35				<g:if test="${auxiliar?.descripcion}">
36				<li class="fieldcontain">
37					<span id="descripcion-label" class="property-label"><g:message code="auxiliar.descripcion.label" default="Descripcion" /></span>
38					
39						<span class="property-value" aria-labelledby="descripcion-label"><g:fieldValue bean="${auxiliar}" field="descripcion"/></span>
40					
41				</li>
42				</g:if>
43			
44				<g:if test="${auxiliar?.cuentas}">
45				<li class="fieldcontain">
46					<span id="cuentas-label" class="property-label"><g:message code="auxiliar.cuentas.label" default="Cuentas" /></span>
47					
48						<g:each in="${auxiliar.cuentas}" var="c">
49						<span class="property-value" aria-labelledby="cuentas-label"><g:link controller="cuenta" action="show" id="${c.id}">${c?.encodeAsHTML()}</g:link></span>
50						</g:each>
51					
52				</li>
53				</g:if>
54			
55				<g:if test="${auxiliar?.organizacion}">
56				<li class="fieldcontain">
57					<span id="organizacion-label" class="property-label"><g:message code="auxiliar.organizacion.label" default="Organizacion" /></span>
58					
59						<span class="property-value" aria-labelledby="organizacion-label"><g:link controller="organizacion" action="show" id="${auxiliar?.organizacion?.id}">${auxiliar?.organizacion?.encodeAsHTML()}</g:link></span>
60					
61				</li>
62				</g:if>
63			
64			</ol>
65			<g:form>
66				<fieldset class="buttons">
67					<g:hiddenField name="id" value="${auxiliar?.id}" />
68					<g:link class="edit" action="edita" id="${auxiliar?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
69					<g:actionSubmit class="delete" action="elimina" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
70				</fieldset>
71			</g:form>
72		</div>
73	</body>
74</html>