mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 05:34:04 +00:00
Merge pull request #1290 from siddhantbajaj/dropdown
Fixed dropdown issues in admin/events#show page
This commit is contained in:
commit
cf29150a2a
1 changed files with 4 additions and 4 deletions
|
|
@ -17,7 +17,7 @@
|
|||
%b Type
|
||||
%td
|
||||
.dropdown
|
||||
= link_to '#', class: 'dropdown-toggle', id: 'type-dropdown' do
|
||||
= link_to '#', class: 'dropdown-toggle', id: 'type-dropdown', 'data-toggle' => 'dropdown' do
|
||||
- if @event.event_type.nil?
|
||||
Event Type
|
||||
- else
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
%b State
|
||||
%td
|
||||
.dropdown
|
||||
= link_to '#', class: 'dropdown-toggle' do
|
||||
= link_to '#', class: 'dropdown-toggle', 'data-toggle' => 'dropdown' do
|
||||
= @event.state.humanize
|
||||
<b class='caret'></b>
|
||||
%ul.dropdown-menu
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
%b Track
|
||||
%td
|
||||
.dropdown
|
||||
= link_to '#', class: 'dropdown-toggle', id: 'track-dropdown' do
|
||||
= link_to '#', class: 'dropdown-toggle', id: 'track-dropdown', 'data-toggle' => 'dropdown' do
|
||||
- if @event.track.nil?
|
||||
Track
|
||||
- else
|
||||
|
|
@ -74,7 +74,7 @@
|
|||
%b Difficulty
|
||||
%td
|
||||
.dropdown
|
||||
= link_to '#', class: 'dropdown-toggle', id: 'difficulty-dropdown' do
|
||||
= link_to '#', class: 'dropdown-toggle', id: 'difficulty-dropdown', 'data-toggle' => 'dropdown' do
|
||||
- if @event.difficulty_level.nil?
|
||||
Difficulty Level
|
||||
- else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue