app/views/plant_parts/show.html.haml
%... \#{expression}
can be written without interpolation as %...= expression
Open
Open
%h1 #{@plant_part.name.titlecase}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
HamlLint/UnnecessaryInterpolation
Avoid using unnecessary interpolation for inline tag content.
Bad
haml
%tag #{expression}
Good: more concise
haml
%tag= expression