text: (window.webpackJsonp=window.webpackJsonp||[]).push([[37],{iOOf:function(t,s,e){"use strict";var i=e("wRFS");e.d(s,"a",(function(){return i.a}))},jO2T:function(t,s,e){"use strict";e.r(s);var i=e("iOOf"),a=e("QZnT"),r={components:{VModal:i.a},data:function(){return{form:new a.b({title:"",description:""})}},methods:{show:function(){this.$refs.modal.show()},hide:function(){this.$refs.modal.hide()},submit:function(){var t=this;this.form.processing=!0,this.$inertia.post(route("admin:landing-page-features.store"),this.form.data()).then((function(){t.form.processing=!1,t.$page.errors.none()&&(t.hide(),t.form.reset())}))}}},o=e("KHd+"),n=Object(o.a)(r,(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("v-modal",{ref:"modal"},[e("div",{staticClass:"bg-white rounded-lg shadow-xl transform transition-all sm:max-w-lg sm:w-full"},[e("div",{staticClass:"p-6"},[e("h3",{staticClass:"font-medium text-lg"},[t._v("Add Feature")])]),t._v(" "),e("div",{staticClass:"p-6"},[e("div",{staticClass:"form-group mb-6"},[e("label",{staticClass:"form-label"},[t._v("Title")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.title,expression:"form.title"}],staticClass:"form-input",domProps:{value:t.form.title},on:{input:function(s){s.target.composing||t.$set(t.form,"title",s.target.value)}}}),t._v(" "),t.$page.errors.has("title")?e("span",{staticClass:"invalid-feedback"},[t._v(t._s(t.$page.errors.first("title")))]):t._e()]),t._v(" "),e("div",{staticClass:"form-group mb-6"},[e("label",{staticClass:"form-label"},[t._v("Description")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.form.description,expression:"form.description"}],staticClass:"form-textarea",attrs:{rows:"4"},domProps:{value:t.form.description},on:{input:function(s){s.target.composing||t.$set(t.form,"description",s.target.value)}}}),t._v(" "),t.$page.errors.has("description")?e("span",{staticClass:"invalid-feedback"},[t._v(t._s(t.$page.errors.first("description")))]):t._e()])]),t._v(" "),e("div",{staticClass:"bg-gray-50 p-4 sm:px-6 sm:py-4 sm:flex sm:flex-row-reverse rounded-b-lg"},[e("button",{staticClass:"btn btn-indigo",attrs:{type:"button",disabled:t.form.processing},on:{click:function(s){return t.submit()}}},[t._v("\n                Add Feature\n            ")]),t._v(" "),e("button",{staticClass:"btn btn-flat mr-3",attrs:{type:"button"},on:{click:function(s){return t.hide()}}},[t._v("\n                Cancel\n            ")])])])])}),[],!1,null,null,null);s.default=n.exports}}]);
  //# sourceMappingURL=37.js.map?id=aa25fa31e05b105533fe