Remove duplicate code and style fixes

This commit is contained in:
Stella Rouzi 2018-10-02 21:29:49 +03:00 committed by Henne Vogelsang
parent 91629d9b92
commit efdb2cd63b
2 changed files with 0 additions and 8 deletions

View file

@ -8,7 +8,6 @@ class ProposalsController < ApplicationController
# We authorize manually in these actions
skip_authorize_resource :event, only: [:confirm, :restart, :withdraw]
def index
@event = @program.events.new
@event.event_users.new(user: current_user, event_role: 'submitter')

View file

@ -15,13 +15,6 @@
"data-user" => current_user.id }
= event.title
- if current_user
= link_to('#', onClick: 'starClicked();') do
%span#star{ class: "fa fa-lg #{ event.favourite_users.exists?(current_user.id) ? 'fa-star' : 'fa-star-o' }", |
"aria-hidden" =>"true", |
"data-url" => conference_program_proposal_path(@conference.short_title, event.id), |
"data-user" => current_user.id }
- event.speakers_ordered.each do |speaker|
= image_tag speaker.gravatar_url, :class => "img-circle pull-right speaker-pic", |
:alt => speaker.name, |