changing is_defined to is_minimal in medianames_form.html