def organizations(): user_orgs = Organization.get_attached_to_user(current_user) return render_template("organization/organizations.html", orgs=user_orgs)
def get(self): form = EditForm(obj=current_user) return render_template( 'users/edit_profile.html', form=form, orgs=Organization.get_attached_to_user(current_user))