Skip to content

Commit ae2b935

Browse files
committed
add templates for new tag
1 parent 565e6ca commit ae2b935

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
%sup{@tag_attributes}
2+
- if options[:text].nil? && block_given?
3+
= yield
4+
- else
5+
= options[:text]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module Matestack::Ui::Core::Sub
2+
class Sup < Matestack::Ui::Core::Component::Static
3+
4+
end
5+
end

0 commit comments

Comments
 (0)