Skip to content

Commit

Permalink
fixed copy paste error, now solved #25
Browse files Browse the repository at this point in the history
  • Loading branch information
akuchinke committed Nov 9, 2017
1 parent 5d2b17c commit 3982f15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/papers/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<h1>new paper</h1>
<% if @author.errors.any? %>
<% if @paper.errors.any? %>
<p>An error occured</p>

<ul>
<% @author.errors.full_messages.each do |msg| %>
<% @paper.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
Expand Down

0 comments on commit 3982f15

Please sign in to comment.