app/views/components/ui/_alert.html.erb in shadcn-ui-0.0.10 vs app/views/components/ui/_alert.html.erb in shadcn-ui-0.0.12
- old
+ new
@@ -59,9 +59,9 @@
x1="12"
x2="12.01"
y1="16"
y2="16"></line>
</svg>
- <% end if icon %>
- <h5 class="mb-1 font-medium leading-none tracking-tight"><%= title %></h5>
- <div class="text-sm [&_p]:leading-relaxed"><%= description %></div>
+<% end if icon %>
+<h5 class="mb-1 font-medium leading-none tracking-tight"><%= title %></h5>
+<div class="text-sm [&_p]:leading-relaxed"><%= content %></div>
</div>