Fixing bugs into _form.html.erb in Atendimento and correct logic for ability
replaced instance variable with local variable