app/views/shared/vue/_setting.html.erb in fluentd-ui-0.3.12 vs app/views/shared/vue/_setting.html.erb in fluentd-ui-0.3.13
- old
+ new
@@ -7,10 +7,10 @@
<i class="fa fa-caret-down"></i>
</div>
<div class='panel-body collapse' id='{{ id }}'>
<pre v-if="mode != 'edit'">{{ content }}</pre>
<p v-if="mode == 'edit'">
- <textarea class="form-control" v-model="editContent" v-attr="disabled: processing"></textarea>
+ <textarea v-config-editor class="form-control" v-model="editContent" v-attr="disabled: processing"></textarea>
</p>
<p class="pull-right">
<button v-if="mode != 'edit'" class="btn btn-default" v-on="click: onEdit"><%= t('terms.edit') %></button>
<button v-if="mode != 'edit'" class="btn btn-danger" v-on="click: onDelete"><%= t('terms.destroy') %></button>
<button v-if="mode == 'edit'" class="btn btn-default" v-on="click: onCancel"><%= t('terms.cancel') %></button>