PageRenderTime 52ms CodeModel.GetById 30ms app.highlight 1ms RepoModel.GetById 19ms app.codeStats 0ms

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

http://github.com/jdmr/mateo
text | 76 lines | 58 code | 18 blank | 0 comment | 0 complexity | 7a4d51369a3b07ea5b07ec866b893a59 MD5 | raw file
 1<%@ page import="general.Proveedor" %>
 2
 3
 4
 5<div class="fieldcontain ${hasErrors(bean: proveedorInstance, field: 'nombre', 'error')} required">
 6	<label for="nombre">
 7		<g:message code="proveedor.nombre.label" default="Nombre" />
 8		<span class="required-indicator">*</span>
 9	</label>
10	<g:textField name="nombre" maxlength="64" required="" value="${proveedorInstance?.nombre}"/>
11</div>
12
13<div class="fieldcontain ${hasErrors(bean: proveedorInstance, field: 'nombreCompleto', 'error')} required">
14	<label for="nombreCompleto">
15		<g:message code="proveedor.nombreCompleto.label" default="Nombre Completo" />
16		<span class="required-indicator">*</span>
17	</label>
18	<g:textField name="nombreCompleto" maxlength="128" required="" value="${proveedorInstance?.nombreCompleto}"/>
19</div>
20
21<div class="fieldcontain ${hasErrors(bean: proveedorInstance, field: 'rfc', 'error')} required">
22	<label for="rfc">
23		<g:message code="proveedor.rfc.label" default="Rfc" />
24		<span class="required-indicator">*</span>
25	</label>
26	<g:textField name="rfc" maxlength="13" required="" value="${proveedorInstance?.rfc}"/>
27</div>
28
29<div class="fieldcontain ${hasErrors(bean: proveedorInstance, field: 'curp', 'error')} ">
30	<label for="curp">
31		<g:message code="proveedor.curp.label" default="Curp" />
32		
33	</label>
34	<g:textField name="curp" maxlength="18" value="${proveedorInstance?.curp}"/>
35</div>
36
37<div class="fieldcontain ${hasErrors(bean: proveedorInstance, field: 'direccion', 'error')} ">
38	<label for="direccion">
39		<g:message code="proveedor.direccion.label" default="Direccion" />
40		
41	</label>
42	<g:textArea name="direccion" cols="40" rows="5" maxlength="500" value="${proveedorInstance?.direccion}"/>
43</div>
44
45<div class="fieldcontain ${hasErrors(bean: proveedorInstance, field: 'telefono', 'error')} ">
46	<label for="telefono">
47		<g:message code="proveedor.telefono.label" default="Telefono" />
48		
49	</label>
50	<g:textField name="telefono" maxlength="25" value="${proveedorInstance?.telefono}"/>
51</div>
52
53<div class="fieldcontain ${hasErrors(bean: proveedorInstance, field: 'fax', 'error')} ">
54	<label for="fax">
55		<g:message code="proveedor.fax.label" default="Fax" />
56		
57	</label>
58	<g:textField name="fax" maxlength="25" value="${proveedorInstance?.fax}"/>
59</div>
60
61<div class="fieldcontain ${hasErrors(bean: proveedorInstance, field: 'contacto', 'error')} ">
62	<label for="contacto">
63		<g:message code="proveedor.contacto.label" default="Contacto" />
64		
65	</label>
66	<g:textField name="contacto" maxlength="64" value="${proveedorInstance?.contacto}"/>
67</div>
68
69<div class="fieldcontain ${hasErrors(bean: proveedorInstance, field: 'correo', 'error')} ">
70	<label for="correo">
71		<g:message code="proveedor.correo.label" default="Correo" />
72		
73	</label>
74	<g:field type="email" name="correo" maxlength="128" value="${proveedorInstance?.correo}"/>
75</div>
76