diff --git a/src/main/coffeescript/view/ParameterContentTypeView.coffee b/src/main/coffeescript/view/ParameterContentTypeView.coffee new file mode 100644 index 00000000..3a969733 --- /dev/null +++ b/src/main/coffeescript/view/ParameterContentTypeView.coffee @@ -0,0 +1,14 @@ +class ParameterContentTypeView extends Backbone.View + initialize: -> + + render: -> + template = @template() + $(@el).html(template(@model)) + + $('label[for=parameterContentType]', $(@el)).text('Parameter content type:') + + @ + + template: -> + Handlebars.templates.parameter_content_type + diff --git a/src/main/coffeescript/view/ResponseContentTypeView.coffee b/src/main/coffeescript/view/ResponseContentTypeView.coffee new file mode 100644 index 00000000..3d17d477 --- /dev/null +++ b/src/main/coffeescript/view/ResponseContentTypeView.coffee @@ -0,0 +1,14 @@ +class ResponseContentTypeView extends Backbone.View + initialize: -> + + render: -> + template = @template() + + $(@el).html(template(@model)) + + $('label[for=responseContentType]', $(@el)).text('Response Content Type') + + @ + + template: -> + Handlebars.templates.response_content_type diff --git a/src/main/template/parameter_content_type.handlebars b/src/main/template/parameter_content_type.handlebars new file mode 100644 index 00000000..a986d576 --- /dev/null +++ b/src/main/template/parameter_content_type.handlebars @@ -0,0 +1,10 @@ + + diff --git a/src/main/template/response_content_type.handlebars b/src/main/template/response_content_type.handlebars new file mode 100644 index 00000000..4909a44d --- /dev/null +++ b/src/main/template/response_content_type.handlebars @@ -0,0 +1,10 @@ + +