mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Refactor CSS (#116)
Refactor CSS files and structure. Also refactors some html and React components for a smarter use of CSS classes.
This commit is contained in:
committed by
GitHub
parent
35c427d9f6
commit
8e75a85873
5
app/views/layouts/_boards_nav_section.html.erb
Normal file
5
app/views/layouts/_boards_nav_section.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<% boards.each do |board| %>
|
||||
<li class="nav-item<%= board.id == @board.id ? ' active' : '' unless @board.nil? %>">
|
||||
<%= link_to board.name, board_path(board), class: 'nav-link' %>
|
||||
</li>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user