PageRenderTime 44ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/grails-app/views/almacen/_form.gsp

http://github.com/jdmr/mateo
text | 20 lines | 15 code | 5 blank | 0 comment | 0 complexity | 8ec274a3826f0a3991d2606da2ad6899 MD5 | raw file
  1. <%@ page import="inventario.Almacen" %>
  2. <div class="fieldcontain ${hasErrors(bean: almacen, field: 'codigo', 'error')} required">
  3. <label for="codigo">
  4. <g:message code="almacen.codigo.label" default="Codigo" />
  5. <span class="required-indicator">*</span>
  6. </label>
  7. <g:textField name="codigo" maxlength="18" required="" value="${almacen?.codigo}"/>
  8. </div>
  9. <div class="fieldcontain ${hasErrors(bean: almacen, field: 'nombre', 'error')} required">
  10. <label for="nombre">
  11. <g:message code="almacen.nombre.label" default="Nombre" />
  12. <span class="required-indicator">*</span>
  13. </label>
  14. <g:textField name="nombre" maxlength="64" required="" value="${almacen?.nombre}"/>
  15. </div>