Commit 2876f735 authored by Daniel W Bond's avatar Daniel W Bond

stripped down social auth removal template to become solely a confirmation page

parent 88565977
......@@ -10,56 +10,23 @@
<div class="page-header" id="banner">
<div class="row">
<div class="col-md-12 text-center">
<p class="lead text-center">Remove My Social Media Accounts</p>
<h1><i class="fa fa-fw fa-2x fa-times"></i> <i class="fa fa-fw fa-2x fa-{{ application }}"></i></h1>
<p class="lead">Remove My {{ branding }} Account</p>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">
<h1 class="panel-title text-center"><strong>Connected Social Media Accounts</strong></h1>
<div class="panel-body">
<form class="form-horizontal text-center" method="post" action="">{% csrf_token %}
{% if form.non_field_errors %}
<div id="errorMsg">{{ form.non_field_errors }}</div>
{% endif %}
{% for base_account in form.accounts %}
{% with base_account.get_provider_account as account %}
<p><label for="id_account_{{ }}" style="font-size:20px">
<input id="id_account_{{ }}" type="radio" name="account" value="{{ }}"/>
<span class="socialaccount_provider {{ base_account.provider }} {{ }}">
<i class="fa fa-{{base_account.provider}} fa-lg fa-fw"></i>
<small><em>{{ account }}</em></small>
{% endwith %}
{% endfor %}
<input type="submit" value="Remove" class="btn btn-danger"/>
<input type="cancel" value="Never Mind" class="btn btn-default" onclick="history.back()"/>
<hr/ >
<div class="row">
<div class="col-md-8 col-md-offset-2 text-center">
<div class="alert alert-danger" role="alert">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment