Sha256: 02b8c4cc21eb21bfe25a85d830c082768952eb779d11f621519d16a60c5a12be

Contents?: true

Size: 948 Bytes

Versions: 3

Compression:

Stored size: 948 Bytes

Contents

-# Adding additional .effective-posts-category-#{category} will correctly show/hide on Posts#new forms

- # Event specific fields
.effective-post-category-events.well{style: ('display: none' unless f.object.category == 'events')}
  %h4 Event Information
  = form.input :start_at, as: (:effective_date_time_picker if defined?(EffectiveFormInputs)),
    required: true,
    hint: 'Display a start time for this event.'

  = form.input :end_at, as: (:effective_date_time_picker if defined?(EffectiveFormInputs)),
    hint: 'Display an end time of this event.'

  = form.input :location, hint: 'Display a location where this event is taking place.'

  = form.input :website_name, label: 'External website',
    placeholder: 'Buy Tickets', hint: 'The label of an external website.'

  = form.input :website_href, label: 'External website address',
    placeholder: 'http://', hint: 'The address of an external website (start with http:// or https://).'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_posts-0.5.3 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.5.2 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.5.1 app/views/effective/posts/_additional_fields.html.haml