Browse Source

Anomalie #809: Choisir son mot de passe - bug dom

Bastien Sevajol 11 years ago
parent
commit
a626b0757e
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/Muzich/UserBundle/Resources/views/User/account.html.twig

+ 3 - 4
src/Muzich/UserBundle/Resources/views/User/account.html.twig View File

57
     <h2 data-open="myaccount_favorites_password">{{ 'my_account.change_password'|trans({}, 'userui') }}</h2>
57
     <h2 data-open="myaccount_favorites_password">{{ 'my_account.change_password'|trans({}, 'userui') }}</h2>
58
 
58
 
59
     <div id="myaccount_favorites_password" class="myaccount_part {% if app.request.get('open') == 'change_password' %}flashing{% endif %}" 
59
     <div id="myaccount_favorites_password" class="myaccount_part {% if app.request.get('open') == 'change_password' %}flashing{% endif %}" 
60
-      {% if not app.request.get('open') == 'change_password' %}
60
+      {% if app.request.get('open') != 'change_password' %}
61
        style="display: none;"
61
        style="display: none;"
62
       {% endif %}
62
       {% endif %}
63
      >
63
      >
154
     <h2 data-open="myaccount_delete">{{ 'my_account.delete.title'|trans({}, 'userui') }}</h2>
154
     <h2 data-open="myaccount_delete">{{ 'my_account.delete.title'|trans({}, 'userui') }}</h2>
155
   
155
   
156
     <div id="myaccount_delete" class="myaccount_part"
156
     <div id="myaccount_delete" class="myaccount_part"
157
-      {% if not delete_form|form_has_errors and not app.request.get('open') == 'delete' %}
157
+      {% if app.request.get('open') != 'delete' %}
158
         style="display: none;"
158
         style="display: none;"
159
       {% endif %}
159
       {% endif %}
160
     >
160
     >
161
       
161
       
162
-      <p class="warning info">{{ 'my_account.delete.text'|trans({}, 'userui') }}
163
-      </p>
162
+      <p class="warning info">{{ 'my_account.delete.text'|trans({}, 'userui') }}</p>
164
       
163
       
165
       <form
164
       <form
166
         class="delete"
165
         class="delete"