Adding social events, which can be used on the registration page

This commit is contained in:
Matt Barringer 2013-02-16 13:30:53 +01:00
parent ba721772b9
commit 3933e89a9c
14 changed files with 112 additions and 6 deletions

View file

@ -0,0 +1,7 @@
<div class="nested-fields">
<%= f.inputs do %>
<%= f.input :title %>
<%= f.input :description, :input_html => {:rows => 5} %>
<%= remove_association_link :social_event, f %>
<% end %>
</div>

View file

@ -0,0 +1,8 @@
.container-fluid
.row-fluid
.span3
= render 'admin/conference/sidebar', :activated => "Social Events"
.span9
= semantic_form_for(@conference, :url => admin_conference_social_events_path(@conference.short_title)) do |f|
= dynamic_association :social_events, "Social Events", f
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}