Sha256: f6e8949dd31caeb8b9ad2d57542cd80a4d32c4974db8b3b5f22f716ba84eacd3
Contents?: true
Size: 960 Bytes
Versions: 12
Compression:
Stored size: 960 Bytes
Contents
- url ||= reports_path = form_for report, :url => url, :html => { :multipart => true } do |f| - if report.errors.any? #error_explanation %h3= t('e.there_are_errors') %ul - report.errors.full_messages.each do |msg| %li= msg .field = f.label :name = f.text_field :name .field = f.label :subhead = f.text_area :subhead .field = f.label :descr .descr= f.text_area :descr, :class => 'tinymce' .row .large-6.columns = f.label :city_id = select :report, :city_id, @cities_list = f.label :coords = f.text_field :x = f.text_field :y = f.label :site = select :report, :site_id, @sites_list .large-6.columns = f.label :tag_id = select :report, :tag_id, @tags_list .check = f.label :is_public = f.check_box :is_public = f.file_field :photo -# = recaptcha_tags = f.submit
Version data entries
12 entries across 12 versions & 1 rubygems