Source code for apis_core.apis_metainfo.forms
from apis_core.generic.forms import GenericModelForm
[docs]
class UriForm(GenericModelForm):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.helper.form_class = "form-horizontal"
self.helper.label_class = "col-md-3"
self.helper.field_class = "col-md-9"