blob: b135e9a486b2265229d987047aca982269fe5986 (
plain) (
tree)
|
|
<form id="labelform">
<fieldset>
<div class="clearfix">
<label for="name">Name</label>
<div class="input">
<input class="xlarge" id="name" name="name" type="text" placeholder="Name" required="required" value="{{data.name}}"/>
</div>
</div>
<div class="clearfix">
<label for="desc">Description</label>
<div class="input">
<textarea class="xlarge" name="desc" id="desc" rows="3" placeholder="Description" required="required">{{data.desc}}</textarea>
</div>
</div>
<div class="clearfix">
<label for="tags">Tags</label>
<div class="input">
<ul class="inputs-list">
{{#each tags}}
<li>
<label>
<input type="checkbox" name="tags" value="{{name}}"{{checked_tag ../data.tags}}/>
<span>{{desc}}</span>
</label>
</li>
{{/each}}
</ul>
</div>
</div>
<div class="actions">
<input type="submit" class="btn primary save" value="{{save_text}}"> <button type="reset" class="btn">Cancel</button>
</div>
</fieldset>
</form>
<h2>Low-res preview <small>(rendered in <span id="rendertime">some</span> ms)</small></h2>
<canvas id="label"/>
|