Sha256: e40976b627db21c0ae335606b867dbd783eb9eb2d88822c675e8db191773a33d

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 Bytes

Contents

= simple_form_for [:admin, @survey] do |f|
  = f.input :name
  = f.input :tag_list
  = f.input :language, collection: I18n.available_locales, include_blank: false
  = f.simple_fields_for :versions do |v|
    = v.input :version, as: :hidden, value: 0 if @survey.new_record?
    = v.simple_fields_for :survey_detail do |detail|
      = detail.input :title
      = detail.input :description, as: :text, input_html: { cols: 60, rows: 10 }
  = f.submit t('shared.save'), class: 'btn btn-success'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
helena-0.3.3 app/views/helena/admin/surveys/_form.html.haml