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

/grails-app/views/tipoCliente/show.gsp

http://github.com/jdmr/mateo
text | 81 lines | 64 code | 17 blank | 0 comment | 0 complexity | ec4cd8d936bf864abaab41f7907378b0 MD5 | raw file
 1
 2<%@ page import="general.TipoCliente" %>
 3<!doctype html>
 4<html>
 5	<head>
 6		<meta name="layout" content="main">
 7		<g:set var="entityName" value="${message(code: 'tipoCliente.label', default: 'TipoCliente')}" />
 8		<title><g:message code="default.show.label" args="[entityName]" /></title>
 9	</head>
10	<body>
11		<a href="#show-tipoCliente" 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="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
16				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
17			</ul>
18		</div>
19		<div id="show-tipoCliente" 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 tipoCliente">
25			
26				<g:if test="${tipoClienteInstance?.nombre}">
27				<li class="fieldcontain">
28					<span id="nombre-label" class="property-label"><g:message code="tipoCliente.nombre.label" default="Nombre" /></span>
29					
30						<span class="property-value" aria-labelledby="nombre-label"><g:fieldValue bean="${tipoClienteInstance}" field="nombre"/></span>
31					
32				</li>
33				</g:if>
34			
35				<g:if test="${tipoClienteInstance?.descripcion}">
36				<li class="fieldcontain">
37					<span id="descripcion-label" class="property-label"><g:message code="tipoCliente.descripcion.label" default="Descripcion" /></span>
38					
39						<span class="property-value" aria-labelledby="descripcion-label"><g:fieldValue bean="${tipoClienteInstance}" field="descripcion"/></span>
40					
41				</li>
42				</g:if>
43			
44				<g:if test="${tipoClienteInstance?.margenUtilidad}">
45				<li class="fieldcontain">
46					<span id="margenUtilidad-label" class="property-label"><g:message code="tipoCliente.margenUtilidad.label" default="Margen Utilidad" /></span>
47					
48						<span class="property-value" aria-labelledby="margenUtilidad-label"><g:fieldValue bean="${tipoClienteInstance}" field="margenUtilidad"/></span>
49					
50				</li>
51				</g:if>
52			
53				<g:if test="${tipoClienteInstance?.base}">
54				<li class="fieldcontain">
55					<span id="base-label" class="property-label"><g:message code="tipoCliente.base.label" default="Base" /></span>
56					
57						<span class="property-value" aria-labelledby="base-label"><g:formatBoolean boolean="${tipoClienteInstance?.base}" /></span>
58					
59				</li>
60				</g:if>
61			
62				<g:if test="${tipoClienteInstance?.empresa}">
63				<li class="fieldcontain">
64					<span id="empresa-label" class="property-label"><g:message code="tipoCliente.empresa.label" default="Empresa" /></span>
65					
66						<span class="property-value" aria-labelledby="empresa-label"><g:link controller="empresa" action="show" id="${tipoClienteInstance?.empresa?.id}">${tipoClienteInstance?.empresa?.encodeAsHTML()}</g:link></span>
67					
68				</li>
69				</g:if>
70			
71			</ol>
72			<g:form>
73				<fieldset class="buttons">
74					<g:hiddenField name="id" value="${tipoClienteInstance?.id}" />
75					<g:link class="edit" action="edit" id="${tipoClienteInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
76					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
77				</fieldset>
78			</g:form>
79		</div>
80	</body>
81</html>