diff -r 3820cf5fe29e -r c8fd9dbf3804 src/widgets/CurrentSegmentInfobox.js --- a/src/widgets/CurrentSegmentInfobox.js Fri Sep 18 14:41:51 2015 +0200 +++ b/src/widgets/CurrentSegmentInfobox.js Fri Sep 18 14:42:52 2015 +0200 @@ -13,7 +13,8 @@ project_id: false, api_serializer: "ldt_annotate", api_method: "PUT", - api_endpoint_template: "" + api_endpoint_template: "", + new_tag_button: true, }; IriSP.Widgets.CurrentSegmentInfobox.prototype.template = @@ -41,8 +42,13 @@ + '
{{cancel}}
' + '
{{submit}}
' + '' - + '
' + + '
' + + '{{#new_tag_button}}' + '
{{new_tag}}
' + + '{{/new_tag_button}}' + + '{{^new_tag_button}}' + + '' + + '{{/new_tag_button}}' + '{{#tags.length}}' + '