- <%= link_to new_workshop_variation_idea_path,
- class: "flex items-center px-4 py-2 text-sm text-white
- hover:text-gray-700 hover:bg-gray-100 w-full space-x-2" do %>
-
-
New workshop variation idea
- <% end %>
-
- <% if allowed_to?(:new?, WorkshopIdea) %>
-
- <%= link_to new_workshop_idea_path,
- class: "flex items-center px-4 py-2 text-sm text-white
- hover:text-gray-700 hover:bg-gray-100 w-full space-x-2" do %>
-
- New workshop idea
- <% end %>
-
- <% end %>
-
- <%= link_to new_workshop_log_path,
- class: "flex items-center px-4 py-2 text-sm text-white
- hover:text-gray-700 hover:bg-gray-100 w-full space-x-2" do %>
-
-
New workshop log
- <% end %>
-
- <%= link_to new_story_idea_path,
- class: "flex items-center px-4 py-2 text-sm text-white
- hover:text-gray-700 hover:bg-gray-100 w-full space-x-2" do %>
-
-
New story idea
- <% end %>
-
- <% if allowed_to?(:new?, Story) %>
-
- <%= link_to new_story_path,
- class: "flex items-center px-4 py-2 text-sm text-white
- hover:text-gray-700 hover:bg-gray-100 w-full space-x-2" do %>
-
- New story
- <% end %>
-
- <% end %>
-
- <% if allowed_to?(:new?, WorkshopVariation) %>
-
- <%= link_to new_workshop_variation_path,
- class: "flex items-center px-4 py-2 text-sm text-white
- hover:text-gray-700 hover:bg-gray-100 w-full space-x-2" do %>
-
- New workshop variation
- <% end %>
-
- <% end %>
-
- <% if allowed_to?(:new?, Workshop) %>
-
- <%= link_to new_workshop_path,
- class: "flex items-center px-4 py-2 text-sm text-white
- hover:text-gray-700 hover:bg-gray-100 w-full space-x-2" do %>
-
- New workshop
- <% end %>
-
- <% end %>
-