Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (14 sloc) 409 Bytes
<template name="select">
<div class="select">
<select id="{{id}}" name="{{name}}" class="{{class}}">
{{#if include_blank}}<option></option>{{/if}}
{{#each options}}
{{#if selected}}
<option selected value="{{value}}">{{text}}</option>
{{else}}
<option value="{{value}}">{{text}}</option>
{{/if}}
{{/each}}
</select>
</div>
</template>