{{#submissioncount}}
<div>
    <a class="btn" href="#" data-region="attempt-chooser" data-submissions="submissions-list-{{uniqid}}">{{#str}}viewadifferentattempt, mod_assign{{/str}}</a>
    <div class="hide" id="submissions-list-{{uniqid}}">
        <div data-region="submissions-list">
        {{#submissions}}
            <label class="radio">
                <input type="radio" name="select-attemptnumber" value="{{attemptnumber}}"/>
                {{attemptsummary}}
                <br><em>{{statussummary}}</em>
            </label>
        {{/submissions}}
        </div>
    </div>
</div>
{{/submissioncount}}
