Add flexvideo class, enable proposal editing,

This commit is contained in:
Henne Vogelsang 2013-06-20 00:26:34 +02:00 committed by Henne Vogelsang
parent 2d79e8e692
commit 9d668ad1b1
10 changed files with 66 additions and 23 deletions

View file

@ -2,12 +2,13 @@
.span10
%h3
= @event.title
%i= @event.subtitle
%br
%span.muted
= @event.subtitle
.span2
= link_to "Edit Submission", "#",
:class => "btn btn-mini btn-primary pull-right", :style => "margin-top:20px;", :onclick => "javascript:alert('Not ready yet');"
= link_to "Edit", edit_conference_proposal_path(@conference.short_title, @event.id), :class => "btn btn-mini btn-primary"
.row-fluid
.span12
%table.table
@ -15,7 +16,17 @@
%td
%b Type
%td
= @event.event_type.title
.dropdown
= link_to "#", :class => "dropdown-toggle", :id => "type-dropdown" do
- if @event.event_type.nil?
Track
- else
= @event.event_type.title
<b class="caret"></b>
%ul.dropdown-menu
- @event_types.each do |type|
%li= link_to type.title, admin_conference_event_path(@conference.short_title, @event, :event_type_id => type.id) ,
:method => :put, :event_type_id => type.id
%tr
%td
%b State