### }}}
-
-
-
-#
-# /**
-# * @class Specification for an option.
-# */
-# class exports.ChartOption
-# SPEC_KEYS : <[ name type default desc tags examples ]>
-#
-# name : null
-# type : 'String'
-# default : null
-# desc : ''
-# tags : null
-# examples : null
-#
-#
-# (@spec) ->
-# throw new Error('Each ChartOption requires a name!') unless @spec.name
-#
-# for k of @SPEC_KEYS
-# v = @spec[k]
-# @[k] = v if v?
-# @tags or= []
-#
-# isDefault: (v) ->
-# # @default is v
-# _.isEqual @default, v
-#
-# toString: -> "(#{@name}: #{@type})"
-#
-#
-#
-section.data-ui
+section.data-ui: form.data-ui-form
.metric_edit_view_pane(data-subview="MetricEditView")
.data_set_view_pane(data-subview="DataSetView")
-section.dataset-ui.dataset: div.inner
+section.dataset-ui.dataset: div.inner: form.dataset-ui-form
h4 Graph Data Set
.dataset-buttons
-section.datasource-ui(class="datasource-ui-#{cid}")
+section.datasource-ui(class="datasource-ui-#{cid}"): form.datasource-ui-form
section.datasource-summary(data-toggle="collapse", data-target="##{graph_id} .datasource-ui.datasource-ui-#{cid} .datasource-selector")
i.expand-datasource-ui-button.icon-chevron-down
- var ds = source.attributes
- var id = ds.id || source.cid
- var activeClass = (source_id === ds.id ? 'active' : '')
-.datasource-source.tab-pane(class="datasource-source-#{id} #{activeClass}")
+.datasource-source.tab-pane(class="datasource-source-#{id} #{activeClass}"): form.datasource-source-form
.datasource-source-details.well
.source-name #{ds.name}
.source-id #{ds.id}
## Debug
-_.dump = (o, label='dump', expanded=false) ->
+_.dump = (o, label='dump', expanded=true) ->
if not _.isArray(o) and _.isObject(o)
if expanded
console.group label