X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/04ed822e3985e1565a1d652017be4004b4ddf8f3..c6537f136f4ec0230f5e7c71dd1abf9616151a47:/src/wolnelektury/templates/socialaccount/connections.html?ds=sidebyside diff --git a/src/wolnelektury/templates/socialaccount/connections.html b/src/wolnelektury/templates/socialaccount/connections.html index 0f107242a..681038601 100644 --- a/src/wolnelektury/templates/socialaccount/connections.html +++ b/src/wolnelektury/templates/socialaccount/connections.html @@ -13,31 +13,25 @@ <p>{% blocktrans %}You can sign in to your account using any of the following third party accounts:{% endblocktrans %}</p> -<form class="uniForm" method="post"> +<form method="post"> {% csrf_token %} -<fieldset class="blockLabels"> {% if form.non_field_errors %} -<div id="errorMsg">{{form.non_field_errors}}</div> +<div>{{form.non_field_errors}}</div> {% endif %} {% for base_account in form.accounts %} {% with base_account.get_provider_account as account %} -<div class="ctrlHolder"> <label for="id_account_{{base_account.id}}"> <input id="id_account_{{base_account.id}}" type="radio" name="account" value="{{base_account.id}}"/> <span class="socialaccount_provider {{base_account.provider}} {{account.get_brand.id}}">{{account.get_brand.name}}</span> <small>{{account}}</small> -</label> -</div> +</label><br><br> {% endwith %} {% endfor %} -<div class="buttonHolder"> <button type="submit">{% trans "Remove" %}</button> -</div> -</fieldset> </form>