fix a typo and spacing

This commit is contained in:
Ben Margolis 2014-06-15 22:49:47 -07:00
parent c880ef3b84
commit ac87fe65be
2 changed files with 2 additions and 5 deletions

View file

@ -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):

View file

@ -33,7 +33,6 @@ $(function () {
jform.find('#id_'+ im_li.attr('id') +'-tags').tagit(window.tagit_opts);
});
im_li
$("#image-forms").append(im_li);
}
});