Sha256: ae7cfb562911ad6a7b9638ce82db92fc0f5b5bca3b2c8aee3ea3558b5a947751
Contents?: true
Size: 752 Bytes
Versions: 8
Compression:
Stored size: 752 Bytes
Contents
.field = f.label :name, nil, :class => :req = f.text_field :name .field.tinymce = f.label :template = f.text_area :template .field = f.label :custom_form_html = f.text_area :custom_form_html - if request.xhr? - resource.region_type_ids.each_with_index do |id, i| = hidden_field_tag 'offer[region_type_ids][]', id, :id => "offer_region_type_ids_#{i}" - if resource.new_record? - resource.node_ids.each_with_index do |id, i| = hidden_field_tag 'offer[node_ids][]', id, :id => "offer_node_ids_#{i}" - else = render 'shared/admin/region_type_select', :f => f .field = f.label :submit_button_text = f.text_field :submit_button_text .field = f.label :conversion_alert_email = f.text_field :conversion_alert_email
Version data entries
8 entries across 8 versions & 1 rubygems