change the generator schedule configuration view(form_tag to form_for)