Sha256: 61ccec3833232e8576dc41bf2a781ef0a74bccbc7b52181440e9fb2a6a1af02b
Contents?: true
Size: 568 Bytes
Versions: 21
Compression:
Stored size: 568 Bytes
Contents
-no_editing = false if no_editing.nil? -new_show = false if new_show.nil? =f.hidden_field :name - unless no_editing .control-group =f.label :capacity, :class => 'control-label' .controls =f.text_field :capacity, :class => 'span3', :disabled => no_editing %fieldset -unless new_show %legend Ticket Types = f.fields_for :ticket_types do |builder| = render 'events/ticket_type_fields', :f => builder .control-group .controls %i.icon-plus-sign.icon-gray = link_to_add_fields 'Add another ticket type', f, :ticket_types, 'events'
Version data entries
21 entries across 21 versions & 1 rubygems