Skip to content

Commit

Permalink
add cancel button on Litigation form
Browse files Browse the repository at this point in the history
  • Loading branch information
kowal committed Aug 12, 2019
1 parent d4b3c63 commit 6672137
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/views/admin/litigations/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,10 @@
</div>
</div>

<%= f.actions %>
<%= f.actions do %>
<%= f.action :submit, :as => :input %>
<li class="cancel">
<a href="javascript:history.back()">Cancel</a>
</li>
<% end %>
<% end %>

0 comments on commit 6672137

Please sign in to comment.