Fix label helper for env vars form
This commit is contained in:
parent
85e2b660bf
commit
9d451324c2
|
@ -48,6 +48,8 @@ Ember.Handlebars.registerHelper('label', (options) ->
|
||||||
options.hash.for = id
|
options.hash.for = id
|
||||||
options.hashTypes.for = 'STRING'
|
options.hashTypes.for = 'STRING'
|
||||||
options.hashContexts.for = this
|
options.hashContexts.for = this
|
||||||
|
if options.hash.content
|
||||||
|
options.fn = Ember.Handlebars.compile("{{view.content}}")
|
||||||
|
|
||||||
Ember.Handlebars.helpers.view.call(this, view, options)
|
Ember.Handlebars.helpers.view.call(this, view, options)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user