FIX: profile background inputs always appear disabled

This commit is contained in:
Neil Lalonde 2015-05-13 11:27:48 -04:00
parent bbef5fb3c7
commit 76a95e4aaf
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<div class="uploaded-image-preview" class="input-xxlarge" {{bind-attr style="backgroundStyle"}}> <div class="uploaded-image-preview" class="input-xxlarge" {{bind-attr style="backgroundStyle"}}>
<div class="image-upload-controls"> <div class="image-upload-controls">
<label class="btn pad-left no-text" {{bind-attr disabled="uploading"}}> <label class="btn pad-left no-text {{if uploading 'disabled'}}">
{{fa-icon "picture-o"}} {{fa-icon "picture-o"}}
<input {{bind-attr disabled="uploading"}} type="file" accept="image/*" style="visibility: hidden; position: absolute;" /> <input {{bind-attr disabled="uploading"}} type="file" accept="image/*" style="visibility: hidden; position: absolute;" />
</label> </label>