Sha256: 445ad977e86a017aa8ef19b6045fea366acc6ea62e5b51dd87bb9881b3096755

Contents?: true

Size: 905 Bytes

Versions: 34

Compression:

Stored size: 905 Bytes

Contents

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

- # Event specific fields
.effective-post-category-events.card.mb-4{style: ('display: none' unless f.object.category == 'events')}
  .card-body
    %h5.card-title Event Info
    = form.datetime_field :start_at, required: false, hint: 'Display a start time for this event.'

    = form.datetime_field :end_at, required: false, hint: 'Display an end time of this event.'

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

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

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

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
effective_posts-2.2.4 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.2.3 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.2.2 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.2.1 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.2.0 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.1.1 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.1.0 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.0.6 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.0.5 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.0.4 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.0.3 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.0.2 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.0.1 app/views/effective/posts/_additional_fields.html.haml
effective_posts-2.0.0 app/views/effective/posts/_additional_fields.html.haml
effective_posts-1.2.0 app/views/effective/posts/_additional_fields.html.haml
effective_posts-1.1.11 app/views/effective/posts/_additional_fields.html.haml
effective_posts-1.1.10 app/views/effective/posts/_additional_fields.html.haml
effective_posts-1.1.9 app/views/effective/posts/_additional_fields.html.haml
effective_posts-1.1.8 app/views/effective/posts/_additional_fields.html.haml
effective_posts-1.1.7 app/views/effective/posts/_additional_fields.html.haml