app/components/olivander/components/portlet_component.html.haml in five-two-nw-olivander-0.1.2.43 vs app/components/olivander/components/portlet_component.html.haml in five-two-nw-olivander-0.1.2.44
- old
+ new
@@ -1,8 +1,8 @@
- if @turbo_frame.present?
- <turbo-frame id="#{@turbo_frame}" src="#{@src}" loading="#{@loading}">
+ %turbo-frame{ id: @turbo_frame, src: @src, loading: @loading, data: @turbo_frame_data }/
-.card{ class: @card_type }
+.card{ class: @card_type, data: @card_data }
.card-header{ class: @header_background }
%h3.card-title= @title
- if header_tools?
.card-tools
= header_tools