Sha256: de380cc8b39e7869b05892f3fe054648400b7545efed2f3f57549e86261a81fc

Contents?: true

Size: 541 Bytes

Versions: 111

Compression:

Stored size: 541 Bytes

Contents

- url ||= gallery.new_record? ? galleries_path : gallery_path( gallery )
= form_for gallery, :url => url do |f|
  .actions
    = f.submit 'Submit'
  .field
    = f.label :name
    = f.text_field :name
    = f.label :slug
    = f.text_field :slug
  -# .col-md-2
  -#   .field
  -#     = f.label :premium_tier
  -#     = f.number_field :premium_tier

  .row
    .col-md-4
      = f.label :subhead
      = f.text_area :subhead
    .col-md-4
      = f.label :descr
      = f.text_area :descr, class: :tinymce
  .actions
    = f.submit 'Submit'

Version data entries

111 entries across 111 versions & 1 rubygems

Version Path
wco_models-3.1.0.48 app/views/wco/galleries/_form.haml
wco_models-3.1.0.47 app/views/wco/galleries/_form.haml
wco_models-3.1.0.46 app/views/wco/galleries/_form.haml
wco_models-3.1.0.45 app/views/wco/galleries/_form.haml
wco_models-3.1.0.44 app/views/wco/galleries/_form.haml
wco_models-3.1.0.43 app/views/wco/galleries/_form.haml
wco_models-3.1.0.42 app/views/wco/galleries/_form.haml
wco_models-3.1.0.41 app/views/wco/galleries/_form.haml
wco_models-3.1.0.40 app/views/wco/galleries/_form.haml
wco_models-3.1.0.39 app/views/wco/galleries/_form.haml
wco_models-3.1.0.38 app/views/wco/galleries/_form.haml