first commit
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
<# if ( data.label ) { #>
|
||||
<span class="butterbean-label">{{ data.label }}</span>
|
||||
<# } #>
|
||||
|
||||
<# if ( data.description ) { #>
|
||||
<span class="butterbean-description">{{{ data.description }}}</span>
|
||||
<# } #>
|
||||
|
||||
<ul class="butterbean-checkbox-list">
|
||||
|
||||
<# _.each( data.choices, function( label, choice ) { #>
|
||||
|
||||
<li>
|
||||
<label>
|
||||
<input type="checkbox" value="{{ choice }}" name="{{ data.field_name }}[]" <# if ( -1 !== _.indexOf( data.value, choice ) ) { #> checked="checked" <# } #> />
|
||||
{{ label }}
|
||||
</label>
|
||||
</li>
|
||||
|
||||
<# } ) #>
|
||||
|
||||
</ul>
|
||||
Reference in New Issue
Block a user