Sha256: 51cf415bd0ed7f5a564696f4ea117bcdb14792a65663bc291350c128d5232252
Contents?: true
Size: 1.24 KB
Versions: 3
Compression:
Stored size: 1.24 KB
Contents
= form_for @offerpage do |f| -if @offerpage.errors.any? #error_explanation %h2= "#{pluralize(@offerpage.errors.count, "error")} prohibited this offerpage from being saved:" %ul - @offerpage.errors.full_messages.each do |msg| %li= msg .field = f.label :title = f.text_field :title .field = f.label :filename = f.text_field :filename .field = f.label :description = f.text_area :description .field = f.label :keywords = f.text_area :keywords .field = f.label :image_url = f.text_field :image_url .field = f.label :headline = f.text_area :headline .field = f.label :subhead = f.text_area :subhead .field = radio_button_tag(:format, "textile") = label_tag(:format_textile, "Textile") = radio_button_tag(:format, "html") = label_tag(:format_html, "Convert HTML to Textile") .field = f.label :content_block1 = f.text_area :content_block1 .field = f.label :content_block2 = f.text_area :content_block2 .field = f.label :offer_block = f.text_area :offer_block .field = f.label :testimonials = f.text_area :testimonials .field = f.label :video = f.text_area :video .actions = f.submit 'Save'
Version data entries
3 entries across 3 versions & 1 rubygems