We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6944cbe commit eebad77Copy full SHA for eebad77
app/concepts/matestack/ui/core/ins/ins.haml
@@ -1,4 +1,4 @@
1
-%ins{@tag_attributes.merge({:cite => options[:cite], :datetime => options[:datetime]})}
+%ins{@tag_attributes}
2
- if options[:text].nil? && block_given?
3
= yield
4
- else
app/concepts/matestack/ui/core/ins/ins.rb
@@ -1,5 +1,9 @@
module Matestack::Ui::Core::Ins
class Ins < Matestack::Ui::Core::Component::Static
-
+ def setup
+ @tag_attributes.merge!({
5
+ cite: options[:cite],
6
+ datetime: options[:datetime]
7
+ })
8
end
9
0 commit comments