<div class="row {{@class}}" {{on-init this.onInit}}>
    {{#unless this.hide}}
        <div class="col-lg-8">
            <div class="input-group">
                <input type="text" value={{this.label}} {{on "input" this.onFileNameChange}} readonly={{this.isLink}} class="form-control" />
                <BsButton class="btn oxi-btn-optional" @onClick={{this.download}} @icon="glyphicon glyphicon-download-alt">
                    {{t 'component.oxi_download.download'}}
                </BsButton>
            </div>
        </div>
        <div class="col-lg-4">
            {{#if this.isPlain}}
                <button class="btn oxi-btn-optional" type="button" {{on "click" this.copyToClipboard}}>
                    <i class="glyphicon glyphicon-copy"></i>
                    {{t 'component.oxi_download.copy'}}
                </button>
            {{/if}}
        </div>
    {{/unless}}
</div>
