summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/compose/attachments_list.hbs
blob: 4d3f1cacd575e15509d96974adb6ce418386f2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<div id="attachment-list" class="buttons-group columns">
    <span class="btn btn-success fileinput-button">
        <!-- The file input field used as target for the file upload widget -->
        <input id="fileupload" type="file" name="attachment">
    </span>

    <!-- The container for the uploaded files -->
    <div class="attachmentsAreaWrap {{#unless attachments}}hide{{/unless}}">
        <div class="attachmentsArea column large-12">
            <ul id="attachment-list-item">
                {{#each attachments }}
                    {{> attachment_item this }}
                {{/each }}
            </ul>
            <ul id="attachment-upload-item"></ul>
        </div>
    </div>

    <br>
</div>