module uim.bootstrap.bs4.components.forms.form; import uim.bootstrap; class DBS4Form : DBS4Obj { mixin(H5This!("Form")); O inline(this O)(bool value = true) { return this.classes("form-inline"); } mixin(MyContent!("label", "H5Label")); mixin(MyContent!("formGroup", "BS4FormGroup")); } mixin(H5Calls!"BS4Form"); unittest { assert(Assert(BS4Form, `<form></form>`)); assert(Assert(BS4Form.inline, `<form class="form-inline"></form>`)); }