PageRenderTime 18ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

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

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