avoid form.ajax in template