blocktypelist.tpl 976 Bytes
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
{if $blocktypes}
2 3 4
    {if $javascript}
    <div class='btn-group-vertical'>
    {/if}
5
        {foreach from=$blocktypes item=blocktype}{strip}
6
            <a class="{if !$accessible} not-accessible{/if} blocktype-drag blocktypelink btn btn-primary hide-title-collapsed" href="#" title="{$blocktype.title}">
7
                <input type="radio" id="blocktype-list-radio-{$blocktype.name}" class="blocktype-radio" name="blocktype" value="{$blocktype.name}">
8 9 10 11
                <span class="icon icon-{$blocktype.cssicon} {$blocktype.cssicontype} icon-lg" title="{$blocktype.title}" role="presentation" aria-hidden="true"></span>
                <label for="blocktype-list-radio-{$blocktype.name}" class="blocktypetitle title">
                    <span class="hidden">{$blocktype.title}</span>
                </label>
12
                <span class="sr-only">({$blocktype.description})</span>
13
            </a>{/strip}
14 15
        {/foreach}
    {if $javascript}
Naomi Guyer's avatar
Naomi Guyer committed
16
    </div>
17
    {/if}
Naomi Guyer's avatar
Naomi Guyer committed
18
{/if}