2014-12-27 18:34:01 +09:00
|
|
|
<template name="settingsForm">
|
2014-08-21 15:30:05 +09:00
|
|
|
<div class="grid-small grid-module dialog settings">
|
2014-05-09 09:39:49 +09:00
|
|
|
{{#if this.hasSettings}}
|
2014-11-30 11:31:07 +09:00
|
|
|
{{> quickForm collection="Settings" id="updateSettingsForm" type="update" doc=this.settings label-class="control-label" input-col-class="controls" template="telescope"}}
|
2014-05-09 09:39:49 +09:00
|
|
|
{{else}}
|
2014-12-27 18:34:01 +09:00
|
|
|
{{> quickForm collection="Settings" id="insertSettingsForm" type="insert" template="telescope" label-class="control-label" input-col-class="controls"}}
|
2014-05-09 09:39:49 +09:00
|
|
|
{{/if}}
|
2012-11-22 08:13:43 +09:00
|
|
|
</div>
|
2012-09-06 19:42:11 +09:00
|
|
|
</template>
|