Projects selector
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<% if current_project %>
|
||||
<projects-selector>
|
||||
<% all_projects.each do |project| %>
|
||||
<%= tag.option(project.name, href: project_path(project), selected: current_project == project) %>
|
||||
<% end %>
|
||||
</projects-selector>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user