<div id="weeblyLogin" class="panel panel-default panel-mc-sso panel-accent-silver">
    <div class="panel-body">
        <div class="row">
            <div class="col-sm-4 text-center">
                <div class="icon-container">
                    <img src="assets/img/marketconnect/weebly/dragdropeditor.png">
                </div>
            </div>
            <div class="col-sm-8">

                <h3>Weebly Website Builder</h3>
                <h4>Manage your Weebly Service</h4>
                <form action="" method="post">
                    <input type="hidden" name="action" value="manage-service" />
                    <p>
                        {if count($accounts) > 1}
                            <select id="weeblyId" name="service-id" class="form-control select-inline">
                                {foreach $accounts as $account}
                                    <option value="{if $account.type == 'addon'}a{/if}{$account.id}">{$account.domain}</option>
                                {/foreach}
                            </select>
                        {else}
                            <input type="hidden" name="service-id" value="{if $accounts[0].type == 'addon'}a{/if}{$accounts[0].id}">
                        {/if}
                    </p>
                    <button class="btn btn-default btn-service-sso">
                        <span class="loading hidden">
                            <i class="fa fa-spinner fa-spin"></i>
                        </span>
                        <span class="text">Manage</span>
                    </button>
                    <span class="login-feedback"></span>
                </form>

            </div>
        </div>

    </div>
</div>
