app/views/events/edit.html.haml in artfully_ose-1.1.0 vs app/views/events/edit.html.haml in artfully_ose-1.2.0.alpha.1
- old
+ new
@@ -11,12 +11,17 @@
= form_for( @event, :html => { :class => 'form-horizontal' } ) do |form|
.control-group
=form.label :name, "Event name", :class => 'control-label'
.controls
=form.text_field :name, :class => 'input-xlarge', :placeholder=>"Event name"
-
+
.control-group
+ =form.label :subtitle, :class => 'control-label'
+ .controls
+ = form.text_field :subtitle, :class => 'input-xlarge', :placeholder=>"Event subtitle"
+
+ .control-group
=form.label :producer, "Producer", :class => 'control-label'
.controls
=form.text_field :producer, :class => 'input-xlarge'
.control-group
@@ -32,10 +37,15 @@
.control-group
=form.label :contact_phone, "Contact phone<br />for patrons".html_safe, :class => 'control-label'
.controls
=form.text_field :contact_phone, :class => 'input-xlarge', :placeholder=>"Phone"
+ .control-group
+ =form.label :members_only, "Members Only".html_safe, :class => 'control-label'
+ .controls
+ =form.check_box :members_only, :class => 'input-xlarge'
+
.form-actions
- = form.submit "Save", :class => 'btn'
- = form.submit "Save & Next".html_safe, :class => 'btn btn-primary'
+ = render :partial => "shared/save_save_and_next", :locals => {:form => form}
+