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

Version Path
ish_manager-0.1.8.29 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.28 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.27 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.26 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.25 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.24 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.23 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.22 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.21 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.20 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.19 app/views/ish_manager/reports/_form.haml
ish_manager-0.1.8.18 app/views/ish_manager/reports/_form.haml