Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
submeta
Commits
903599cb
Commit
903599cb
authored
Jul 01, 2021
by
Gabriel-31415
Browse files
add consu opcional no edital, ajuste no complemento
parent
bfd27198
Changes
3
Show whitespace changes
Inline
Side-by-side
resources/views/evento/formulario/participantes.blade.php
View file @
903599cb
...
...
@@ -102,7 +102,7 @@
<div
class=
"col-md-12"
><h5>
Endereço
</h5></div>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'CEP'])
<input
type=
"text"
class=
"form-control"
value=
"{{old('cep')[$i] ?? "
"
}}"
name=
"cep[{{$i}}]"
placeholder=
"CEP"
/>
<input
type=
"text"
class=
"form-control
cep
"
value=
"{{old('cep')[$i] ?? "
"
}}"
name=
"cep[{{$i}}]"
placeholder=
"CEP"
/>
@error('cep.'.$i)
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
...
...
@@ -167,14 +167,15 @@
@endcomponent
</div>
<div
class=
"col-12"
>
@component('componentes.input', ['label' => 'Complemento',])
<div
class=
"form-group"
>
<label
class=
" control-label"
for=
"firstname"
>
Complemento
</label>
<input
type=
"text"
class=
"form-control"
value=
"{{old('complemento')[$i] ?? "
"
}}"
name=
"complemento[{{$i}}]"
placeholder=
"Complemento"
/>
@error('complemento.'.$i)
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
@endcomponent
</div>
</div>
<div
class=
"col-md-12"
><h5>
Dados do curso
</h5></div>
<div
class=
"col-6"
>
...
...
resources/views/projeto/editaFormulario/participantes.blade.php
View file @
903599cb
...
...
@@ -403,7 +403,7 @@
<div
class=
"col-md-12"
><h5>
Endereço
</h5></div>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'CEP'])
<input
type=
"text"
class=
"form-control"
value=
"{{old('cep')[$i] ?? "
"
}}"
name=
"cep[{{$i}}]"
placeholder=
"CEP"
/>
<input
type=
"text"
class=
"form-control
cep
"
value=
"{{old('cep')[$i] ?? "
"
}}"
name=
"cep[{{$i}}]"
placeholder=
"CEP"
/>
@error('cep.'.$i)
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
...
...
@@ -468,14 +468,15 @@
@endcomponent
</div>
<div
class=
"col-12"
>
@component('componentes.input', ['label' => 'Complemento',])
<div
class=
"form-group"
>
<label
class=
" control-label"
for=
"firstname"
>
Complemento
</label>
<input
type=
"text"
class=
"form-control"
value=
"{{old('complemento')[$i] ?? "
"
}}"
name=
"complemento[{{$i}}]"
placeholder=
"Complemento"
/>
@error('complemento.'.$i)
<span
class=
"invalid-feedback"
role=
"alert"
style=
"overflow: visible; display:block"
>
<strong>
{{ $message }}
</strong>
</span>
@enderror
@endcomponent
</div>
</div>
<div
class=
"col-md-12"
><h5>
Dados do curso
</h5></div>
<div
class=
"col-6"
>
...
...
resources/views/projeto/editar.blade.php
View file @
903599cb
...
...
@@ -161,6 +161,18 @@
}
}
var
SPMaskBehavior
=
function
(
val
)
{
return
val
.
replace
(
/
\
D
/
g
,
''
)
.
length
===
11
?
'(00) 00000-0000'
:
'(00) 0000-00009'
;
},
spOptions
=
{
onKeyPress
:
function
(
val
,
e
,
field
,
options
)
{
field
.
mask
(
SPMaskBehavior
.
apply
({},
arguments
),
options
);
}
};
$
(
"input.cpf:text"
)
.
mask
(
"000.000.000-00"
);
$
(
"input.celular:text"
)
.
mask
(
SPMaskBehavior
,
spOptions
);
$
(
"input.cep:text"
)
.
mask
(
"00000-000"
);
buttonMais
.
addEventListener
(
"click"
,
(
e
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment