Sha256: c803ce6a9db10a2e9f36eff894ddf54abd02cd65f999a0a0aa4ba6baec952af4

Contents?: true

Size: 825 Bytes

Versions: 44

Compression:

Stored size: 825 Bytes

Contents

.publishers--form
  = form_for publisher do |f|
    .field
      = f.label :slug
      = f.text_field :slug

    -## 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'

    .field
      %label site
      = f.select :site, options_for_select( @sites_list, selected: publisher.site_id ), {}, class: 'select2'
    .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

44 entries across 44 versions & 1 rubygems

Version Path
wco_models-3.1.0.82 app/views/wco/publishers/_form.haml
wco_models-3.1.0.81 app/views/wco/publishers/_form.haml
wco_models-3.1.0.80 app/views/wco/publishers/_form.haml
wco_models-3.1.0.79 app/views/wco/publishers/_form.haml
wco_models-3.1.0.78 app/views/wco/publishers/_form.haml
wco_models-3.1.0.77 app/views/wco/publishers/_form.haml
wco_models-3.1.0.76 app/views/wco/publishers/_form.haml
wco_models-3.1.0.75 app/views/wco/publishers/_form.haml
wco_models-3.1.0.74 app/views/wco/publishers/_form.haml
wco_models-3.1.0.73 app/views/wco/publishers/_form.haml
wco_models-3.1.0.72 app/views/wco/publishers/_form.haml
wco_models-3.1.0.71 app/views/wco/publishers/_form.haml
wco_models-3.1.0.70 app/views/wco/publishers/_form.haml
wco_models-3.1.0.69 app/views/wco/publishers/_form.haml
wco_models-3.1.0.67 app/views/wco/publishers/_form.haml
wco_models-3.1.0.66 app/views/wco/publishers/_form.haml
wco_models-3.1.0.65 app/views/wco/publishers/_form.haml
wco_models-3.1.0.64 app/views/wco/publishers/_form.haml
wco_models-3.1.0.63 app/views/wco/publishers/_form.haml
wco_models-3.1.0.62 app/views/wco/publishers/_form.haml