Sha256: ede4f6e24df79e21af21067d3f1346eb6c1a68c5250ead3c519a2fc707954a8e

Contents?: true

Size: 1.39 KB

Versions: 30

Compression:

Stored size: 1.39 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.answer')) -%></h1>
<div id="content_list">
<p id="notice"><%= notice %></p>

<p>
  <strong><%= t('activerecord.models.user') -%>:</strong>
  <%= link_to @answer.user.username, @answer.user -%>
</p>

<p>
  <strong><%= t('activerecord.models.question') -%>:</strong>
  <%= link_to @answer.question.user.username, @answer.question.user -%>: <%= link_to @answer.question.body, @answer.question -%>
</p>

<p>
  <strong><%= t('activerecord.attributes.answer.body') -%>:</strong>
  <%= raw auto_link(textilize(h(@answer.body)))  -%>
</p>

<p>
  <ul>
    <%- @answer.items.each do |item| -%>
      <li>
        <%= link_to item.manifestation.original_title, item.manifestation -%>
        <% if item.item_identifier? %>
          (<%= link_to item.item_identifier, item -%>)
        <% end %>
      </li>
    <%- end -%>
  </ul>
</p>

<p>
  <strong><%= t('page.created_at') -%>:</strong>
  <%= l(@answer.created_at) -%>
</p>

<p>
  <strong><%= t('page.updated_at') -%>:</strong>
  <%= l(@answer.updated_at) -%>
</p>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <%- if can? :update, @answer -%>
      <li><%= link_to t('page.edit'), edit_answer_path(@answer) -%></li>
    <%- end -%>
    <li><%= link_to t('page.back'), question_answers_path(@answer.question) -%></li>
  </ul>
</div>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
enju_question-0.1.0.pre11 app/views/answers/show.html.erb
enju_question-0.1.0.pre10 app/views/answers/show.html.erb
enju_question-0.1.0.pre9 app/views/answers/show.html.erb
enju_question-0.1.0.pre8 app/views/answers/show.html.erb
enju_question-0.1.0.pre7 app/views/answers/show.html.erb
enju_question-0.1.0.pre6 app/views/answers/show.html.erb
enju_question-0.1.0.pre5 app/views/answers/show.html.erb
enju_question-0.1.0.pre4 app/views/answers/show.html.erb
enju_question-0.1.0.pre3 app/views/answers/show.html.erb
enju_question-0.1.0.pre2 app/views/answers/show.html.erb
enju_question-0.1.0.pre app/views/answers/show.html.erb
enju_question-0.0.21 app/views/answers/show.html.erb
enju_question-0.0.20 app/views/answers/show.html.erb
enju_question-0.0.19 app/views/answers/show.html.erb
enju_question-0.0.18 app/views/answers/show.html.erb
enju_question-0.0.17 app/views/answers/show.html.erb
enju_question-0.0.16 app/views/answers/show.html.erb
enju_question-0.0.15 app/views/answers/show.html.erb
enju_question-0.0.14 app/views/answers/show.html.erb
enju_question-0.0.13 app/views/answers/show.html.erb