PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 1ms RepoModel.GetById 39ms app.codeStats 0ms

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

http://github.com/jdmr/mateo
text | 36 lines | 29 code | 7 blank | 0 comment | 0 complexity | 83f1cd8022ef440e576f764a4ed3dda0 MD5 | raw file
 1<%@ page import="inventario.LoteSalida" %>
 2
 3
 4
 5<div class="fieldcontain ${hasErrors(bean: loteSalida, field: 'cantidad', 'error')} required">
 6	<label for="cantidad">
 7		<g:message code="loteSalida.cantidad.label" default="Cantidad" />
 8		<span class="required-indicator">*</span>
 9	</label>
10	<g:field type="number" name="cantidad" required="" value="${fieldValue(bean: loteSalida, field: 'cantidad')}"/>
11</div>
12
13<div class="fieldcontain ${hasErrors(bean: loteSalida, field: 'iva', 'error')} required">
14	<label for="iva">
15		<g:message code="loteSalida.iva.label" default="Iva" />
16		<span class="required-indicator">*</span>
17	</label>
18	<g:field type="number" name="iva" required="" value="${fieldValue(bean: loteSalida, field: 'iva')}"/>
19</div>
20
21<div class="fieldcontain ${hasErrors(bean: loteSalida, field: 'producto', 'error')} required">
22	<label for="producto">
23		<g:message code="loteSalida.producto.label" default="Producto" />
24		<span class="required-indicator">*</span>
25	</label>
26	<g:select id="producto" name="producto.id" from="${inventario.Producto.list()}" optionKey="id" required="" value="${loteSalida?.producto?.id}" class="many-to-one"/>
27</div>
28
29<div class="fieldcontain ${hasErrors(bean: loteSalida, field: 'salida', 'error')} required">
30	<label for="salida">
31		<g:message code="loteSalida.salida.label" default="Salida" />
32		<span class="required-indicator">*</span>
33	</label>
34	<g:select id="salida" name="salida.id" from="${inventario.Salida.list()}" optionKey="id" required="" value="${loteSalida?.salida?.id}" class="many-to-one"/>
35</div>
36