Fix proposal#show
This commit is contained in:
parent
b846df30f9
commit
fad1f04067
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
- else
|
||||
%ul.nav.nav-tabs{ 'role'=>'tablist' }
|
||||
- commercials.each.with_index(1) do |commercial, index|
|
||||
%li{class: "#{active if (index == 1)}"}
|
||||
%li{class: "#{'active' if (index == 1)}"}
|
||||
%a{ 'href'=>"##{index}", 'role'=>'tab', 'data-toggle'=>'tab' }
|
||||
= index
|
||||
.tab-content
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue