Sha256: ce9f92a20357c210370c90f3d0c1c4f5870c296eeda66561c020888277cc2636

Contents?: true

Size: 956 Bytes

Versions: 110

Compression:

Stored size: 956 Bytes

Contents

.publishers--form
  = form_for publisher do |f|
    .actions
      = f.submit
    .d-flex
      = f.label :slug
      = f.text_field :slug, class: 'w-100'

    -## this is unnecessary b/c I use eval() :
    -# .field
    -#   kind?!
    -# .field
    -#   = f.label :from_gallery
    -#   = f.select :from_gallery, options_for_select( @galleries_list, selected: publisher.from_gallery ), class: 'select2'

    .d-flex
      %label site
      = f.select :site, options_for_select( @sites_list, selected: publisher.site_id ), {}, class: 'select2'
    .d-flex
      %label post_path
      = f.text_field :post_path, class: 'w-100'
    .field
      %label.d-block context_eval
      = f.text_area :context_eval, class: 'monospace'
    .field
      %label.d-block post_body_tmpl
      = f.text_area :post_body_tmpl, class: 'monospace'
    .field
      %label.d-block after_eval
      = f.text_area :after_eval, class: 'monospace'
    .actions
      = f.submit

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
wco_models-3.1.0.202 app/views/wco/publishers/_form.haml
wco_models-3.1.0.201 app/views/wco/publishers/_form.haml
wco_models-3.1.0.199 app/views/wco/publishers/_form.haml
wco_models-3.1.0.198 app/views/wco/publishers/_form.haml
wco_models-3.1.0.197 app/views/wco/publishers/_form.haml
wco_models-3.1.0.196 app/views/wco/publishers/_form.haml
wco_models-3.1.0.195 app/views/wco/publishers/_form.haml
wco_models-3.1.0.194 app/views/wco/publishers/_form.haml
wco_models-3.1.0.193 app/views/wco/publishers/_form.haml
wco_models-3.1.0.192 app/views/wco/publishers/_form.haml
wco_models-3.1.0.191 app/views/wco/publishers/_form.haml
wco_models-3.1.0.190 app/views/wco/publishers/_form.haml
wco_models-3.1.0.189 app/views/wco/publishers/_form.haml
wco_models-3.1.0.188 app/views/wco/publishers/_form.haml
wco_models-3.1.0.187 app/views/wco/publishers/_form.haml
wco_models-3.1.0.184 app/views/wco/publishers/_form.haml
wco_models-3.1.0.183 app/views/wco/publishers/_form.haml
wco_models-3.1.0.182 app/views/wco/publishers/_form.haml
wco_models-3.1.0.181 app/views/wco/publishers/_form.haml
wco_models-3.1.0.180 app/views/wco/publishers/_form.haml