Sha256: 06a041a11be07f66c8433fd207860f91a5c92f9ed8dcd6b26b58c898ad2917d2

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>Logger Style</h2>
    <%= link_to 'Back to Logger Style', logger_styles_path %>
    &nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;
    <%= link_to 'Edit', edit_logger_style_path(@logger_style) %>
    </br>
    </br>

    <table id="naf_table_show">
      <thead>
        <tr>
          <th>Attribute</th>
          <th>Value</th>
        </tr>
      </thead>
      <tbody>
        <% @logger_style.attributes.each do |key, value| -%>
        <tr>
          <td><%= naf_make_header(key) %></td>
          <td><%= value %></td>
        </tr>
        <% end -%>
        <tr>
          <td>Logger Names</td>
          <td><%= @logger_style.logger_names.map(&:name).join(', ') %></td>
        </tr>
      </tbody>
    </table>
    </br>

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
naf-1.1.2 app/views/naf/logger_styles/show.html.erb
naf-1.1.1 app/views/naf/logger_styles/show.html.erb
naf-1.1.0 app/views/naf/logger_styles/show.html.erb