diff -r e9765601184d -r b9c816d95ab0 src/widgets/CurrentSegmentInfobox.js --- a/src/widgets/CurrentSegmentInfobox.js Thu Sep 24 11:54:30 2015 +0200 +++ b/src/widgets/CurrentSegmentInfobox.js Thu Sep 24 12:25:47 2015 +0200 @@ -15,6 +15,7 @@ api_method: "PUT", api_endpoint_template: "", new_tag_button: true, + show_headers: false, }; IriSP.Widgets.CurrentSegmentInfobox.prototype.template = @@ -39,16 +40,19 @@ IriSP.Widgets.CurrentSegmentInfobox.prototype.editTemplate = '
' + + '{{#headers}}
{{fields_header}}
{{/headers}}' + '' + '
{{cancel}}
' + '
{{submit}}
' + '' + '
' + + '{{#headers}}
{{tags_header}}
{{/headers}}' + '{{#new_tag_button}}' + '
{{new_tag}}
' + '{{/new_tag_button}}' + '{{^new_tag_button}}' + '' + + '
+
' + '{{/new_tag_button}}' + '{{#tags.length}}' + '