Sha256: 5ea490ca0009006056bfc122ff1cfaa8ae3789707bf7df095467040e90194783

Contents?: true

Size: 1.36 KB

Versions: 5

Compression:

Stored size: 1.36 KB

Contents

<!-- you should change your favorite syntax -->
<%= stylesheet_link_tag    "notee/highlight/default", :media => "all" %>

<%= render :partial => "notee/partials/header.html.erb" %>
<div class="notee_wrapper">
  <div class="notee_main">
    <div class="notee_main_content">
      <h1><%= @post.title %></h1>

      <div class="notee_list_meta">
        <!-- publish-->
        <span class="notee_list_meta_content">
          <%= @post.published_at.strftime("%Y/%m/%d") %>,
        </span>

        <!-- writer -->
        <span class="notee_list_meta_content">
          writer: <a href="/writers/<%= @post.user.name %>"><%= @post.user.name %></a>
        </span>

      </div>

      <%= notee_content(@post) %>

      <div class="notee_list_meta">
        <!-- category -->
        <span class="notee_list_meta_content righting">
          category:
          <span class="notee_list_meta_content notee_list_category">
            <a href="/categories/<%= @post.category.slug %>"><%= @post.category.name %></a>
          </span>
        </span>
      </div>
    </div>

    <h4>Comments</h4>
    <%= notee_comment_box(@post.id) %>

    <h4>Written by</h4>
    <%= render :partial => "notee/partials/profile.html.erb", :locals => {writer: @post.user} %>
  </div>
  <%= render :partial => "notee/partials/sidebar.html.erb" %>
</div>
<%= render :partial => "notee/partials/footer.html.erb" %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
notee-1.0.6 lib/tasks/views/notee/show.html.erb
notee-1.0.5 lib/tasks/views/notee/show.html.erb
notee-1.0.4 lib/tasks/views/notee/show.html.erb
notee-1.0.3 lib/tasks/views/notee/show.html.erb
notee-1.0.2 lib/tasks/views/notee/show.html.erb