Skip to content

Commit 92aebfa

Browse files
committed
-- update to README --
1 parent ecb8104 commit 92aebfa

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,16 @@ the tabs that way.
7676
# ... insert tab contents
7777
<% end %>
7878
<% end %>
79-
<%= tabs.render %>
79+
<%= tabs.render %>
80+
81+
##########################################################################
82+
Now works as:
83+
<% tabs_for do |tab| %>
84+
<% tab.create('tab_one', 'Tab 1') do %>
85+
# ... insert tab contents
86+
<% end %>
87+
<% tab.create('tab_two', 'Tab 2') do %>
88+
# ... insert tab contents
89+
<% end %>
90+
<% end %>
91+

0 commit comments

Comments
 (0)