Skip to content

Instantly share code, notes, and snippets.

@jbanety
Created June 3, 2015 14:45
Show Gist options
  • Save jbanety/cad23d35ecdad624877a to your computer and use it in GitHub Desktop.
Save jbanety/cad23d35ecdad624877a to your computer and use it in GitHub Desktop.
<field name="avatarFile"
type="EtdSolutions.File"
class="form-control"
label="FORM_RESIDENT_FIELD_AVATAR_LABEL"
filter="string"
allowedFileExtensions="png,gif,jpg,jpeg,bmp"
accept="image/*"
showRemove="true"
showUpload="true"
dropZoneEnabled="false"
directory="images/profiles"
upload_uri="/resident/uploadavatar"
delete_uri="/resident/deleteavatar"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment