PageRenderTime 50ms CodeModel.GetById 22ms RepoModel.GetById 0ms 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. <%@ page import="general.TipoCliente" %>
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <meta name="layout" content="main">
  6. <g:set var="entityName" value="${message(code: 'tipoCliente.label', default: 'TipoCliente')}" />
  7. <title><g:message code="default.show.label" args="[entityName]" /></title>
  8. </head>
  9. <body>
  10. <a href="#show-tipoCliente" 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="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
  15. <li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
  16. </ul>
  17. </div>
  18. <div id="show-tipoCliente" class="content scaffold-show" role="main">
  19. <h1><g:message code="default.show.label" args="[entityName]" /></h1>
  20. <g:if test="${flash.message}">
  21. <div class="message" role="status">${flash.message}</div>
  22. </g:if>
  23. <ol class="property-list tipoCliente">
  24. <g:if test="${tipoClienteInstance?.nombre}">
  25. <li class="fieldcontain">
  26. <span id="nombre-label" class="property-label"><g:message code="tipoCliente.nombre.label" default="Nombre" /></span>
  27. <span class="property-value" aria-labelledby="nombre-label"><g:fieldValue bean="${tipoClienteInstance}" field="nombre"/></span>
  28. </li>
  29. </g:if>
  30. <g:if test="${tipoClienteInstance?.descripcion}">
  31. <li class="fieldcontain">
  32. <span id="descripcion-label" class="property-label"><g:message code="tipoCliente.descripcion.label" default="Descripcion" /></span>
  33. <span class="property-value" aria-labelledby="descripcion-label"><g:fieldValue bean="${tipoClienteInstance}" field="descripcion"/></span>
  34. </li>
  35. </g:if>
  36. <g:if test="${tipoClienteInstance?.margenUtilidad}">
  37. <li class="fieldcontain">
  38. <span id="margenUtilidad-label" class="property-label"><g:message code="tipoCliente.margenUtilidad.label" default="Margen Utilidad" /></span>
  39. <span class="property-value" aria-labelledby="margenUtilidad-label"><g:fieldValue bean="${tipoClienteInstance}" field="margenUtilidad"/></span>
  40. </li>
  41. </g:if>
  42. <g:if test="${tipoClienteInstance?.base}">
  43. <li class="fieldcontain">
  44. <span id="base-label" class="property-label"><g:message code="tipoCliente.base.label" default="Base" /></span>
  45. <span class="property-value" aria-labelledby="base-label"><g:formatBoolean boolean="${tipoClienteInstance?.base}" /></span>
  46. </li>
  47. </g:if>
  48. <g:if test="${tipoClienteInstance?.empresa}">
  49. <li class="fieldcontain">
  50. <span id="empresa-label" class="property-label"><g:message code="tipoCliente.empresa.label" default="Empresa" /></span>
  51. <span class="property-value" aria-labelledby="empresa-label"><g:link controller="empresa" action="show" id="${tipoClienteInstance?.empresa?.id}">${tipoClienteInstance?.empresa?.encodeAsHTML()}</g:link></span>
  52. </li>
  53. </g:if>
  54. </ol>
  55. <g:form>
  56. <fieldset class="buttons">
  57. <g:hiddenField name="id" value="${tipoClienteInstance?.id}" />
  58. <g:link class="edit" action="edit" id="${tipoClienteInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
  59. <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?')}');" />
  60. </fieldset>
  61. </g:form>
  62. </div>
  63. </body>
  64. </html>