add print button to all detail views
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<% if @thesis != nil %>
|
||||
<h2>Thesis: <%= @thesis['title']['de'] %></h2>
|
||||
<%= button_to "PRINT", '#', onclick: "print()" %>
|
||||
|
||||
<h5><%= @thesis['thesisType'] %>, <%= @thesis['instituteCode'] %> <%= @thesis['instituteName']['de'] %></h5>
|
||||
<%= button_to 'Add to favorites', action: :add_to_fav, id: @id, title: @thesis['title']['de'] %>
|
||||
<% if @thesis['advisor'] != nil %>
|
||||
|
||||
Reference in New Issue
Block a user