Sha256: ce9283ef83a13f887d136327edf76c4b79147aecbf48d6781e85b8ba68fdacba

Contents?: true

Size: 1.28 KB

Versions: 23

Compression:

Stored size: 1.28 KB

Contents

<% content_for :body do %>
  <div id="flash_message">
      <% unless notice.blank? %>
        <script type='text/javascript'>
          jQuery("<p id='notice'><%= notice %></p>")
              .appendTo('#flash_message')
              .slideDown().delay(5000).slideUp();
        </script>
      <% end %>
  </div>

  <div id="record">
    <h2>Affinity</h2>
    <%= link_to 'Back to Affinities', affinities_path %>
    &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
    <%= link_to 'Edit', edit_affinity_path(@affinity) %>
    </br>
    </br>

    <table id="naf_table_show">
      <thead>
        <tr>
          <th>Attribute</th>
          <th>Value</th>
        </tr>
      </thead>
      <tbody>
        <% @affinity.attributes.each do |key, value| -%>
        <tr>
          <td><%= naf_make_header(key) %></td>
          <td><%= value %></td>
        </tr>
        <% end -%>
        <tr>
          <td>Affinity Classification Name</td>
          <td><%= @affinity.affinity_classification.affinity_classification_name %></td>
        </tr>
      </tbody>
    </table>
    </br>

    <%= link_to "Destroy", @affinity,
        { confirm: "Are you sure you want to destroy this Affinity?",
          method: :delete,
          class: 'destroy' } %>
  </div>
<% end %>
<%= render partial: 'naf/shared/application' %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
naf-2.1.13 app/views/naf/affinities/show.html.erb
naf-2.1.12 app/views/naf/affinities/show.html.erb
naf-2.1.11 app/views/naf/affinities/show.html.erb
naf-2.1.10 app/views/naf/affinities/show.html.erb
naf-2.1.9 app/views/naf/affinities/show.html.erb
naf-2.1.8 app/views/naf/affinities/show.html.erb
naf-2.1.6 app/views/naf/affinities/show.html.erb
naf-2.1.5 app/views/naf/affinities/show.html.erb
naf-2.1.4 app/views/naf/affinities/show.html.erb
naf-2.1.3 app/views/naf/affinities/show.html.erb
naf-2.1.2 app/views/naf/affinities/show.html.erb
naf-2.1.1 app/views/naf/affinities/show.html.erb
naf-2.1.0 app/views/naf/affinities/show.html.erb
naf-2.0.4 app/views/naf/affinities/show.html.erb
naf-2.0.3 app/views/naf/affinities/show.html.erb
naf-2.0.2 app/views/naf/affinities/show.html.erb
naf-2.0.1 app/views/naf/affinities/show.html.erb
naf-2.0.0 app/views/naf/affinities/show.html.erb
naf-1.1.4 app/views/naf/affinities/show.html.erb
naf-1.1.3 app/views/naf/affinities/show.html.erb