!function(e){formintorjs.define(["text!tpl/polls.html"],function(l){return Backbone.View.extend({mainTpl:Forminator.Utils.template(e(l).find("#polls-section-details-tpl").html()),className:"wpmudev-box-body",initialize:function(e){return this.render()},render:function(){this.$el.html(this.mainTpl()),this.render_fields()},render_fields:function(){var e=new Forminator.Settings.Text({model:this.model,name:"formName",hide_label:!0,placeholder:Forminator.l10n.polls.poll_title_placeholder});this.$el.find(".details-section-title").append(e.el);var l=new Forminator.Settings.Text({model:this.model,name:"poll-description",hide_label:!0,placeholder:Forminator.l10n.polls.poll_desc_placeholder});this.$el.find(".details-section-description").append(l.el);var t=new Forminator.Settings.Text({model:this.model,name:"poll-question",hide_label:!0,placeholder:Forminator.l10n.polls.poll_question_placeholder});this.$el.find(".details-section-question").append(t.el);var n=new Forminator.Settings.MultiAnswer({model:this.model,name:"poll-answers",hide_label:!0});this.$el.find(".details-section-answers").append(n.el);var i=new Forminator.Settings.Text({model:this.model,name:"poll-button-label",hide_label:!0,placeholder:Forminator.l10n.polls.poll_button_placeholder});this.$el.find(".details-section-button-label").append(i.el)}})})}(jQuery);