2014-08-08 00:02:35 +08:00
|
|
|
<template name="makeButton">
|
2015-03-20 05:57:50 +08:00
|
|
|
{{#if isMobile}}
|
|
|
|
<button type="submit" id="{{id}}" class="{{btn_class}} btn" {{isDisabled}}>
|
2015-01-12 04:13:40 +08:00
|
|
|
<i class="{{i_class}}"></i>
|
2015-03-20 05:57:50 +08:00
|
|
|
</button>
|
|
|
|
{{else}}
|
|
|
|
<button type="submit" id="{{id}}" class="{{btn_class}} btn" {{isDisabled}} rel="{{rel}}" data-placement="{{data_placement}}" title="{{title}}">
|
|
|
|
<i class="{{i_class}}"></i>
|
|
|
|
</button>
|
|
|
|
{{/if}}
|
2014-08-08 00:02:35 +08:00
|
|
|
</template>
|