PageRenderTime 108ms CodeModel.GetById 60ms app.highlight 1ms RepoModel.GetById 40ms app.codeStats 6ms

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

http://github.com/jdmr/mateo
text | 28 lines | 21 code | 7 blank | 0 comment | 0 complexity | 841272c0f16d5653505e563298fd70a1 MD5 | raw file
 1<%@ page import="inventario.FolioInventario" %>
 2
 3
 4
 5<div class="fieldcontain ${hasErrors(bean: folioInventario, field: 'nombre', 'error')} ">
 6	<label for="nombre">
 7		<g:message code="folioInventario.nombre.label" default="Nombre" />
 8		
 9	</label>
10	<g:textField name="nombre" maxlength="32" value="${folioInventario?.nombre}"/>
11</div>
12
13<div class="fieldcontain ${hasErrors(bean: folioInventario, field: 'valor', 'error')} required">
14	<label for="valor">
15		<g:message code="folioInventario.valor.label" default="Valor" />
16		<span class="required-indicator">*</span>
17	</label>
18	<g:field type="number" name="valor" required="" value="${fieldValue(bean: folioInventario, field: 'valor')}"/>
19</div>
20
21<div class="fieldcontain ${hasErrors(bean: folioInventario, field: 'almacen', 'error')} required">
22	<label for="almacen">
23		<g:message code="folioInventario.almacen.label" default="Almacen" />
24		<span class="required-indicator">*</span>
25	</label>
26	<g:select id="almacen" name="almacen.id" from="${inventario.Almacen.list()}" optionKey="id" required="" value="${folioInventario?.almacen?.id}" class="many-to-one"/>
27</div>
28