refactoring app/views/laws/show.html.erb