Skip to content

Instantly share code, notes, and snippets.

@tylerlee
Created January 13, 2014 20:17
Show Gist options
  • Save tylerlee/8407291 to your computer and use it in GitHub Desktop.
Save tylerlee/8407291 to your computer and use it in GitHub Desktop.
<% links = [{:title => 'Inbox', :path => ''},
{:title => 'Exports', :path => ''},
{:title => 'Notifications', :path => ''}] %>
<%=
vertical_tabs do |ui|
links.each do |tab|
ui.tab tab[:title],
tab.delete(:path)
end
end
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment