app/views/places/show.html.haml
Do not use inline style attributes Open
Open
%section.map#placesmap{ style: "height:300px" }
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
HamlLint/InlineStyles
Tags should not contain inline style attributes.
Bad
haml
%p{ style: 'color: red;' }
Good
haml
%p.warning
Exceptions may need to be made for dynamic content and email templates.
See CodeAcademy to learn more.