2014-08-08 00:02:35 +08:00
|
|
|
<template name="makeButton">
|
2015-05-12 23:48:43 +08:00
|
|
|
<button type="submit" id="{{id}}" class="btn {{btn_class}}" {{isDisabled}} rel="{{rel}}" data-placement="{{data_placement}}" title="{{title}}" style="{{style}}">
|
|
|
|
{{#if text}}
|
|
|
|
<span>{{text}}</span>
|
2015-05-13 03:47:58 +08:00
|
|
|
{{else}}
|
|
|
|
{{#if i_class}}
|
2015-06-04 02:38:56 +08:00
|
|
|
<i class="{{i_class}}"></i><span>{{label}}</span>
|
2015-05-13 03:47:58 +08:00
|
|
|
{{/if}}
|
2015-05-12 23:48:43 +08:00
|
|
|
{{/if}}
|
2015-03-20 05:57:50 +08:00
|
|
|
</button>
|
2014-08-08 00:02:35 +08:00
|
|
|
</template>
|