mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 16:53:10 +00:00
fix a typo and spacing
This commit is contained in:
parent
c880ef3b84
commit
ac87fe65be
2 changed files with 2 additions and 5 deletions
|
|
@ -15,10 +15,8 @@ def get_image_form():
|
|||
|
||||
|
||||
def get_image_form_for_multi():
|
||||
return modelform_factory(
|
||||
get_image_model(),
|
||||
# exclude the file widget
|
||||
exclude=('file',))
|
||||
# exclude the file widget
|
||||
return modelform_factory( get_image_model(), exclude=('file',))
|
||||
|
||||
|
||||
class ImageInsertionForm(forms.Form):
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ $(function () {
|
|||
jform.find('#id_'+ im_li.attr('id') +'-tags').tagit(window.tagit_opts);
|
||||
});
|
||||
|
||||
im_li
|
||||
$("#image-forms").append(im_li);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue