lib/rails/generators/erb/templates/component.html.erb.tt in actionview-component-1.16.0 vs lib/rails/generators/erb/templates/component.html.erb.tt in actionview-component-1.17.0
- old
+ new
@@ -1,5 +2 @@
-<%- if requires_content? -%>
-<%= "<%= content %%>" %>
-<%- else -%>
<div>Add <%= class_name %> template here</div>
-<%- end -%>