cartodb/lib/assets/javascripts/builder/components/form-components/fieldset-template.js
2020-06-15 10:58:47 +08:00

14 lines
346 B
JavaScript
Executable File

var Backbone = require('backbone');
var _ = require('underscore');
// overwirte template in order to be able to use flex
/* eslint-disable */
Backbone.Form.Fieldset.template = _.template('\
<div class="Editor-fieldset" data-fields>\
<% if (legend) { %>\
<legend><%= legend %></legend>\
<% } %>\
</div>\
');
/* eslint-enable */