Sha256: ed6aa9fb8051ee7d377ff6440a07fdf2b345dea3748f7f5261f32655c843f7cd

Contents?: true

Size: 966 Bytes

Versions: 13

Compression:

Stored size: 966 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: false,
    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, required: false, 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

13 entries across 13 versions & 1 rubygems

Version Path
effective_posts-0.7.1 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.7.0 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.6.4 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.6.3 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.6.2 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.6.1 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.6.0 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.5.10 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.5.8 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.5.7 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.5.6 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.5.5 app/views/effective/posts/_additional_fields.html.haml
effective_posts-0.5.4 app/views/effective/posts/_additional_fields.html.haml