Sha256: fc9e5ad4afcd9c2604ce2aa626421e9aaf8058b838d9a60f4362fc3a0d789001

Contents?: true

Size: 810 Bytes

Versions: 10

Compression:

Stored size: 810 Bytes

Contents

.effective-post
  %h2.post-title= link_to @post, effective_post_path(@post)

  %p.post-meta= post_meta(@post)

  - if @post.category == 'events'
    %table.table.post-events
      %tbody
        - if @post.start_at.present?
          %tr
            %th Starts
            %td= @post.start_at.stftime('%F %H:%M')

        - if @post.end_at.present?
          %tr
            %th Ends
            %td= @post.end_at.stftime('%F %H:%M')

        - if @post.location.present?
          %tr
            %th Location
            %td= @post.location

        - if @post.website_href.present? && @post.website_name.present?
          %tr
            %th Website
            %td= link_to @post.website_name, @post.website_href

  .post-body.post-content
    = effective_region @post, :body do
      %p Default content

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
effective_posts-0.7.1 app/views/effective/posts/show.html.haml
effective_posts-0.7.0 app/views/effective/posts/show.html.haml
effective_posts-0.6.4 app/views/effective/posts/show.html.haml
effective_posts-0.6.3 app/views/effective/posts/show.html.haml
effective_posts-0.6.2 app/views/effective/posts/show.html.haml
effective_posts-0.6.1 app/views/effective/posts/show.html.haml
effective_posts-0.6.0 app/views/effective/posts/show.html.haml
effective_posts-0.5.10 app/views/effective/posts/show.html.haml
effective_posts-1.0.0 app/views/effective/posts/show.html.haml
effective_posts-0.5.8 app/views/effective/posts/show.html.haml