Webform module and config export

This commit is contained in:
Rob Davies 2017-03-16 15:29:07 +00:00
parent 3e6a5cbed2
commit 0e15467384
1040 changed files with 117682 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{#
/**
* @file
* Default theme implementation for an audio file element.
*
* Available variables:
* - element: The element.
* - value: The element's value.
* - options Associative array of options for element.
* - file: The element's File object.
* - file_link: Link to the file.
*
* @see http://caniuse.com/#feat=audio
* @see http://www.w3schools.com/html/html5_audio.asp
*/
#}
{% if extension == 'mp3' %}
<div class="webform-audio-file">
<audio controls>
<source src="{{ uri }}" type="{{ type }}">
</audio>
</div>
{% endif %}
<div>{{ file_link }}</div>