Syntax style + code groomming
This commit is contained in:
parent
eface6a91b
commit
759aa54689
16 changed files with 64 additions and 58 deletions
|
|
@ -29,9 +29,14 @@
|
|||
Dashboard
|
||||
- if can? :show, @conference
|
||||
%li{:class=> "#{active_nav_li(edit_admin_conference_path(@conference.short_title))}"}
|
||||
= link_to(edit_admin_conference_path(@conference.short_title)) do
|
||||
%span.fa.fa-home
|
||||
Basics
|
||||
- if can? :edit, @conference
|
||||
= link_to(edit_admin_conference_path(@conference.short_title)) do
|
||||
%span.fa.fa-home
|
||||
Basics
|
||||
- else
|
||||
%a
|
||||
%span.fa.fa-home
|
||||
Basics
|
||||
%ul
|
||||
- if can? :update, Contact.new(conference_id: @conference.id)
|
||||
%li{:class=> "#{active_nav_li(edit_admin_conference_contact_path(@conference.short_title))}"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue