Sha256: 5be7e5ebda76a7d7cea12cdb2964d287873f5b105457039c321b87b8f4080f98

Contents?: true

Size: 772 Bytes

Versions: 6

Compression:

Stored size: 772 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

        - if @post.end_at.present?
          %tr
            %th Ends
            %td= @post.start_at

        - 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

6 entries across 6 versions & 1 rubygems

Version Path
effective_posts-0.5.7 app/views/effective/posts/show.html.haml
effective_posts-0.5.6 app/views/effective/posts/show.html.haml
effective_posts-0.5.5 app/views/effective/posts/show.html.haml
effective_posts-0.5.4 app/views/effective/posts/show.html.haml
effective_posts-0.5.3 app/views/effective/posts/show.html.haml
effective_posts-0.5.2 app/views/effective/posts/show.html.haml