{% include "formMacros.html" %} {% macro showField(name, label) %}
{{ label | e }}
{% endmacro %}
Back
Browse: {{ formSelectStandalone('group', [ { label: 'All Media Types', value: '' }, { label: 'Images', value: 'images' }, { label: 'Office', value: 'office' } ] ) }}
{% if browseByTag %}
Tagged: {{ formSelectStandalone('tag', [ { label: 'All Tags', value: '' } ] ) }}
{% endif %}
Uploaded By: {{ formSelectStandalone('owner', [ { label: 'Everyone', value: 'all' }, { label: 'Me', value: 'user' } ] ) }}
Status: {{ formSelectStandalone('trash', [ { label: 'Live', value: '0' }, { label: 'Trash', value: '1' } ] ) }}
{# MAYBE LATER Sort By: {{ formSelectStandalone('sort', [ { label: 'Most Recent', value: 'createdAt' }, { label: 'Title', value: 'title' } ] ) }} #}
{# ACHTUNG: IN IE9 AND BELOW, we leave the browse button the heck #} {# alone and don't try to style it. Otherwise #} {# it does not work. The class was removed deliberately so the #} {# button would be visible. Yes it's an ugly button. That's life. #} {# -Tom and Joel #}
Upload Media
Drop Files Here
{# I want to use progress.html here, but its styles are complex and don't seem #} {# to work in this context #} {% include "progress.html" %}
{# Populates with an img element when appropriate #}

Title

{# Image element will populate inside data-preview if type is appropriate #}
{{ showField('title', 'Title') }} {{ showField('name', 'Filename') }} {{ showField('tags', 'Tags') }} {{ showField('credit', 'Credit') }} {{ showField('description', 'Description') }} {{ showField('owner', 'Uploaded By') }} {{ showField('group', 'Media Type') }} {{ showField('extension', 'Media Format') }} {{ showField('createdAt', 'Date Added') }}
Download Original
Rescue From Trash Edit Details

Replace File

Upload Media
{# ACHTUNG: IN IE9 AND BELOW, we leave the browse button the heck #} {# alone and don't try to style it. Otherwise #} {# it does not work. The class was removed deliberately so the #} {# button would be visible. Yes it's an ugly button. That's life. #} {# -Tom and Joel #}
Drop Files Here
{# I want to use progress.html here, but its styles are complex and don't seem #} {# to work in this context #} Uploading...
{{ formText('title', 'Title') }} {{ formTags('tags', 'Tags') }} {{ formText('credit', 'Credit') }} {{ formTextarea('description', 'Description') }} Cancel Save Changes Move to Trash