app/views/events/prices.html.haml in artfully_ose-1.1.0 vs app/views/events/prices.html.haml in artfully_ose-1.2.0.alpha.1
- old
+ new
@@ -6,25 +6,17 @@
.span3
- in_sub_section :details
=render :partial=>'menu'
.span9
= render "shared/error_messages", :target => @event
+ %h3 Ticket Capacity
= form_for( @event.default_chart, :html => { :class => 'form-horizontal' } ) do |f|
- %fieldset
- %legend Ticket Types
-
- = f.fields_for :sections do |builder|
- = render 'section_fields', :f => builder
-
- .control-group
- .controls
- %i.icon-plus-sign.icon-gray
- = link_to_add_fields 'Add another ticket type', f, :sections
+ = f.fields_for :sections do |builder|
+ = render 'section_fields', :f => builder
.form-actions
- = f.submit "Save", :class => 'btn'
- = f.submit "Save & Next".html_safe, :class => 'btn btn-primary'
+ = render :partial => "shared/save_save_and_next", :locals => {:form => f}
-unless @event.shows.empty?
#nag.modal
.modal-header
.close{'data-dismiss'=>'modal'} x