PageRenderTime 37ms CodeModel.GetById 34ms app.highlight 1ms RepoModel.GetById 1ms 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
 3
 4
 5<div class="fieldcontain ${hasErrors(bean: almacen, field: 'codigo', 'error')} required">
 6	<label for="codigo">
 7		<g:message code="almacen.codigo.label" default="Codigo" />
 8		<span class="required-indicator">*</span>
 9	</label>
10	<g:textField name="codigo" maxlength="18" required="" value="${almacen?.codigo}"/>
11</div>
12
13<div class="fieldcontain ${hasErrors(bean: almacen, field: 'nombre', 'error')} required">
14	<label for="nombre">
15		<g:message code="almacen.nombre.label" default="Nombre" />
16		<span class="required-indicator">*</span>
17	</label>
18	<g:textField name="nombre" maxlength="64" required="" value="${almacen?.nombre}"/>
19</div>
20