Sha256: daec040a84942154fb7cd249eff3888b680d6e81ac67e10ad6fb6df86739a85f

Contents?: true

Size: 1.04 KB

Versions: 8

Compression:

Stored size: 1.04 KB

Contents

<%- model_class = PublicKey -%>
<div class="page-header">
  <h1><%=t '.title', :default => model_class.model_name.human %></h1>
</div>

<dl class="dl-horizontal">
  <dt><strong><%= model_class.human_attribute_name(:user_id) %>:</strong></dt>
  <dd><%= @public_key.user.username %></dd>
  <dt><strong><%= model_class.human_attribute_name(:content) %>:</strong></dt>
  <dd><pre><%= @public_key.content %></pre></dd>
  <dt><strong><%= model_class.human_attribute_name(:comment) %>:</strong></dt>
  <dd><%= @public_key.comment %></dd>
</dl>

<div class="form-actions">
  <%= link_to t('.back', :default => t("helpers.links.back")),
              public_keys_path, :class => 'btn'  %>
  <% if can? :destroy, @public_key %>
    <%= link_to t('.destroy', :default => t("helpers.links.destroy")),
                public_key_path(@public_key),
                :method => 'delete',
                :data => { :confirm => t('.confirm', :default => t("helpers.links.confirm", :default => 'Are you sure?')) },
                :class => 'btn btn-danger' %>
  <% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
git_wit-0.0.6 test/dummy/app/views/public_keys/show.html.erb
git_wit-0.0.6.pre test/dummy/app/views/public_keys/show.html.erb
git_wit-0.0.5 test/dummy/app/views/public_keys/show.html.erb
git_wit-0.0.4.pre2 test/dummy/app/views/public_keys/show.html.erb
git_wit-0.0.4.pre test/dummy/app/views/public_keys/show.html.erb
git_wit-0.0.3 test/dummy/app/views/public_keys/show.html.erb
git_wit-0.0.2 test/dummy/app/views/public_keys/show.html.erb
git_wit-0.0.1 test/dummy/app/views/public_keys/show.html.erb