Skip to content

Commit

Permalink
Mail
Browse files Browse the repository at this point in the history
  • Loading branch information
GCalmels committed Dec 4, 2014
1 parent cafabe2 commit 0642988
Show file tree
Hide file tree
Showing 21 changed files with 14 additions and 3 deletions.
Empty file modified app/.htaccess
100644 → 100755
Empty file.
Empty file modified app/AppCache.php
100644 → 100755
Empty file.
Empty file modified app/AppKernel.php
100644 → 100755
Empty file.
Empty file modified app/Resources/views/base.html.twig
100644 → 100755
Empty file.
Empty file modified app/SymfonyRequirements.php
100644 → 100755
Empty file.
Empty file modified app/autoload.php
100644 → 100755
Empty file.
Empty file modified app/cache/.gitkeep
100644 → 100755
Empty file.
Empty file modified app/check.php
100644 → 100755
Empty file.
1 change: 0 additions & 1 deletion app/config/config.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ swiftmailer:
host: "%mailer_host%"
username: "%mailer_user%"
password: "%mailer_password%"
spool: { type: memory }

# FOSUserBundle Configuration
fos_user:
Expand Down
4 changes: 2 additions & 2 deletions app/config/config_dev.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ monolog:
assetic:
use_controller: true

#swiftmailer:
# delivery_address: me@example.com
swiftmailer:
delivery_address: gabriel.calmels@hotmail.fr
Empty file modified app/config/config_prod.yml
100644 → 100755
Empty file.
Empty file modified app/config/config_test.yml
100644 → 100755
Empty file.
Empty file modified app/config/parameters.yml.dist
100644 → 100755
Empty file.
Empty file modified app/config/routing.yml
100644 → 100755
Empty file.
Empty file modified app/config/routing_dev.yml
100644 → 100755
Empty file.
Empty file modified app/config/security.yml
100644 → 100755
Empty file.
Empty file modified app/config/services.yml
100644 → 100755
Empty file.
Empty file modified app/console
100644 → 100755
Empty file.
Empty file modified app/logs/.gitkeep
100644 → 100755
Empty file.
Empty file modified app/phpunit.xml.dist
100644 → 100755
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@
</div>
</div>

<div class="form-group">
{# Génération du label username. #}
{{ form_label(form.email, 'register.form.email'|trans, {'label_attr': {'class': 'col-sm-3 control-label'}}) }}

{# Affichage des erreurs pour ce champ précis. #}
{{ form_errors(form.email) }}

<div class="col-sm-4">
{{ form_widget(form.email, {'attr': {'class': 'form-control'}}) }}
</div>
</div>

{# Pour le bouton, pas de label ni d'erreur, on affiche juste le widget #}
{{ form_widget(form.saveButton, {'attr': {'class': 'btn btn-primary'}, 'label': 'register.form.submit'|trans }) }}

Expand Down

0 comments on commit 0642988

Please sign in to comment.