-
-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #386 from IbeVanmeenen/issue_380
[AdminBundle] Cleanup and fix styling FOS Change Password form
- Loading branch information
Showing
6 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
src/Kunstmaan/AdminBundle/Resources/views/Resetting/checkEmail.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
{% extends "FOSUserBundle::layout.html.twig" %} | ||
|
||
{% block fos_user_content %} | ||
<div class="alert fade in"> | ||
<a class="close" href="{{ path('fos_user_security_login') }}">×</a> | ||
<div class="alert alert-success"> | ||
{{ 'We have sent you an email with a link to reset your password.' | trans }} | ||
<a class="btn alert__action" href="{{ path('fos_user_security_login') }}"> | ||
<i class="fa fa-times"></i> | ||
</a> | ||
</div> | ||
{% endblock %} |
9 changes: 5 additions & 4 deletions
9
src/Kunstmaan/AdminBundle/Resources/views/Resetting/passwordAlreadyRequested.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
{% extends "FOSUserBundle::layout.html.twig" %} | ||
|
||
{% block fos_user_content %} | ||
<div class="alert fade in alert-error"> | ||
<a class="close" href="{{ path('fos_user_security_login') }}">×</a> | ||
<strong>{{ 'form.error' | trans }}: </strong> | ||
{{ 'The password for this user has already been requested.' |trans }} | ||
<div class="alert alert-error"> | ||
<strong>{{ 'form.error' | trans }}:</strong> {{ 'The password for this user has already been requested.' |trans }} | ||
<a class="btn alert__action" href="{{ path('fos_user_security_login') }}"> | ||
<i class="fa fa-times"></i> | ||
</a> | ||
</div> | ||
{% endblock fos_user_content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters