kai-jacobsen/kontentblocks

View on GitHub
js/src/fieldsAPI/definitions/radioset.js

Summary

Maintainability
A
2 hrs
Test Coverage
var BaseView = require('fieldsAPI/definitions/baseView');
module.exports = BaseView.extend({
  templatePath: 'fields/Radioset',
  template: require('templates/fields/Radioset.hbs'),
  type: 'radioset',
  render: function () {
    return this.template({
      model: this.model.toJSON()
    });
  }
});