Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
d2753173
Commit
d2753173
authored
Jan 31, 2014
by
Bertrand Gauthier
Browse files
Structure pour Bootstrap 3.
parent
afa643c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
view/zfc-user/user/login.phtml
View file @
d2753173
...
...
@@ -12,15 +12,15 @@ $form->setAttributes(array(
'role'
=>
'form'
));
?>
<div
class=
"container col-sm-2"
>
<?php
echo
$this
->
form
()
->
openTag
(
$form
)
?>
<?php
echo
$this
->
form
()
->
openTag
(
$form
)
?>
<?php
if
((
$errors
=
$this
->
formErrors
(
$this
->
loginForm
)))
:
?>
<p>
<?php
echo
$errors
?>
</p>
<?php
endif
?>
<?php
if
((
$errors
=
$this
->
formErrors
(
$this
->
loginForm
)))
:
?>
<p>
<?php
echo
$errors
?>
</p>
<?php
endif
?>
<div
class=
"container col-sm-3"
>
<div
class=
"form-group"
>
<?php
...
...
@@ -46,15 +46,15 @@ $form->setAttributes(array(
</div>
<?php
echo
$this
->
formButton
(
$form
->
get
(
'submit'
)
->
setAttribute
(
'class'
,
'btn btn-primary'
))
?>
<?php
echo
$this
->
form
()
->
closeTag
()
?>
<?php
if
(
$this
->
enableRegistration
)
:
?>
<?php
echo
$this
->
translate
(
"Not registered?"
);
?>
<a
href=
"
<?php
echo
$this
->
url
(
'zfcuser/register'
)
.
(
$this
->
redirect
?
'?redirect='
.
$this
->
redirect
:
''
)
?>
"
>
<?php
echo
$this
->
translate
(
"Sign up!"
);
?>
</a>
<?php
endif
;
?>
</div>
<?php
echo
$this
->
form
()
->
closeTag
()
?>
<?php
if
(
$this
->
enableRegistration
)
:
?>
<?php
echo
$this
->
translate
(
"Not registered?"
);
?>
<a
href=
"
<?php
echo
$this
->
url
(
'zfcuser/register'
)
.
(
$this
->
redirect
?
'?redirect='
.
$this
->
redirect
:
''
)
?>
"
>
<?php
echo
$this
->
translate
(
"Sign up!"
);
?>
</a>
<?php
endif
;
?>
<script
type=
"text/javascript"
>
// focus sur le 1er champ vide
$
(
"
input
"
).
filter
(
function
()
{
return
this
.
value
===
""
;
}).
get
(
0
).
focus
();
...
...
Write
Preview
Supports
Markdown
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