]> git.agnieray.net Git - galette.git/commitdiff
fixed pref_postal_adress values
authorLukas Wagner <muetze.polka0e@icloud.com>
Thu, 2 Mar 2023 14:41:39 +0000 (15:41 +0100)
committerJohan Cwiklinski <trasher@x-tnd.be>
Thu, 2 Mar 2023 16:44:02 +0000 (17:44 +0100)
  - removed blank spaces & additional curly brace

galette/templates/default/pages/preferences.html.twig

index 19b325d0f5a3b41b112acd63a3b74591ab789a7c..2776970639efd5f2415719e921a0feb7d00ec5be 100644 (file)
                         <div class="inline fields">
                             <div class="field">
                                 <label for="pref_postal_adress_0">{{ _T("from preferences") }}</label>
-                                <input type="radio" name="pref_postal_adress" id="pref_postal_adress_0" value=" {{ constant('Galette\\Core\\Preferences::POSTAL_ADDRESS_FROM_PREFS') }}}" {% if pref.pref_postal_adress == constant('Galette\\Core\\Preferences::POSTAL_ADDRESS_FROM_PREFS') %}checked="checked"{% endif %}/>
+                                <input type="radio" name="pref_postal_adress" id="pref_postal_adress_0" value="{{ constant('Galette\\Core\\Preferences::POSTAL_ADDRESS_FROM_PREFS') }}" {% if pref.pref_postal_adress == constant('Galette\\Core\\Preferences::POSTAL_ADDRESS_FROM_PREFS') %}checked="checked"{% endif %}/>
                             </div>
                             <div class="field">
                                 <label for="pref_postal_adress_1">{{ _T("from a staff user") }}</label>
-                                <input type="radio" name="pref_postal_adress" id="pref_postal_adress_1" value=" {{ constant('Galette\\Core\\Preferences::POSTAL_ADDRESS_FROM_STAFF') }}}" {% if pref.pref_postal_adress == constant('Galette\\Core\\Preferences::POSTAL_ADDRESS_FROM_STAFF') %}checked="checked"{% endif %}/>
+                                <input type="radio" name="pref_postal_adress" id="pref_postal_adress_1" value="{{ constant('Galette\\Core\\Preferences::POSTAL_ADDRESS_FROM_STAFF') }}" {% if pref.pref_postal_adress == constant('Galette\\Core\\Preferences::POSTAL_ADDRESS_FROM_STAFF') %}checked="checked"{% endif %}/>
                             </div>
                         </div>
                         <label for="pref_postal_staff_member">{{ _T("Staff member") }}</label>