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
7d382785
Commit
7d382785
authored
Jun 29, 2021
by
José Rômulo
Browse files
Corrigindo a mascara de CEP do participante
parent
ea33dbf3
Changes
3
Hide whitespace changes
Inline
Side-by-side
resources/views/evento/formulario/participantes.blade.php
View file @
7d382785
...
...
@@ -74,7 +74,7 @@
<div
class=
"col-md-12"
><h5>
Endereço
</h5></div>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'CEP'])
<input
type=
"
number
"
class=
"form-control"
name=
"cep[]"
placeholder=
"CEP"
required
/>
<input
type=
"
text
"
class=
"form-control
cep
"
name=
"cep[]"
placeholder=
"CEP"
required
/>
@endcomponent
</div>
...
...
resources/views/evento/submeterTrabalho.blade.php
View file @
7d382785
...
...
@@ -199,7 +199,7 @@
return
this
.
optional
(
element
)
||
value
==
value
.
match
(
/^
[
A
-
Za
-
záàâãéèêíïóôõöúçñÁÀÂÃÉÈÍÏÓÔÕÖÚÇÑ
]
+
$
/
);
});
$
(
'
.cep
'
)
.
mask
(
'00000000'
);
$
(
'
input.cep:text
'
)
.
mask
(
'00000
-
000'
);
// $('.cpf').mask('000.000.000-00');
$
(
'.numero'
)
.
mask
(
'0000000000000'
);
var
SPMaskBehavior
=
function
(
val
)
{
...
...
resources/views/projeto/formulario/participantes.blade.php
View file @
7d382785
...
...
@@ -76,7 +76,7 @@
<div
class=
"col-md-12"
><h5>
Endereço
</h5></div>
<div
class=
"col-6"
>
@component('componentes.input', ['label' => 'CEP'])
<input
type=
"
number
"
class=
"form-control"
value=
"{{ $p->user->endereco->cep }}"
name=
"cep[]"
placeholder=
"CEP"
required
/>
<input
type=
"
text
"
class=
"form-control
cep
"
value=
"{{ $p->user->endereco->cep }}"
name=
"cep[]"
placeholder=
"CEP"
required
/>
@endcomponent
</div>
...
...
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