Skip to content

Commit

Permalink
data-mini for camera plugin buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
sheppard committed Apr 4, 2017
1 parent d73d5d8 commit 0915cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xlsconv/templates/fields/photo.html
Expand Up @@ -8,11 +8,11 @@
<input type="hidden" name="[[field_formname]]" id="[[form.name]]-[[field_id]]"
data-wq-type="file" data-wq-preview="[[form.name]]-[[field_id]]-preview">
<div>
<button type="button" data-inline="true" data-icon="camera"
<button type="button" data-inline="true" data-icon="camera" data-mini="true"
data-wq-action="take" data-wq-input="[[form.name]]-[[field_id]]">
Camera
</button>
<button type="button" data-inline="true" data-icon="grid"
<button type="button" data-inline="true" data-icon="grid" data-mini="true"
data-wq-action="pick" data-wq-input="[[form.name]]-[[field_id]]">
Gallery
</button>
Expand Down

0 comments on commit 0915cde

Please sign in to comment.