Update access.html.erb

add an if condition #275