add print button to all detail views
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<% if @person != nil %>
|
||||
<h2>Person: <%= @person['first_name'] %> <%= @person['last_name'] %></h2>
|
||||
<%= button_to "PRINT", '#', onclick: "print()" %>
|
||||
|
||||
<div class="profile-picture">
|
||||
<% if @person['picture_uri'] != nil %>
|
||||
<%= image_tag @host + @person['picture_uri'] %>
|
||||
|
||||
Reference in New Issue
Block a user