Sha256: 6625e0a6f06ae46630b2f301ebb3cfa909df22e298c4a88a1df126072d6f979e
Contents?: true
Size: 731 Bytes
Versions: 5
Compression:
Stored size: 731 Bytes
Contents
= form_for [droom, @event, @agenda_category], :html => {:class => 'edit agenda_category'} do |f| %p.category %span#existing_category{:data => {:action => "alternate", :selector => "#new_category"}} = f.select :category_id, Droom::Category.for_selection %br %span.action = link_to t(:add_category), '#', :class => "add" %span#new_category - @category = Droom::Category.new = f.fields_for :category, @category do |ncf| = ncf.text_field :name %br %span.action = link_to t(:existing_category), '#', :class => "revert" %p.stretcher .buttons = f.submit t(:save_agenda_category) = t :or = link_to t(:cancel), '#', :class => 'cancel'
Version data entries
5 entries across 5 versions & 1 rubygems