added new recicpe button to top of rec index

This commit is contained in:
Dan Elbert 2016-09-28 17:09:52 -05:00
parent 36cbf92df0
commit 0990551cfc

View File

@ -9,6 +9,8 @@
<p>No Recipes</p> <p>No Recipes</p>
<% else %> <% else %>
<%= link_to 'New Recipe', new_recipe_path, class: 'btn btn-default' %>
<%= paginate @recipes, :param_name => 'criteria[page]' %> <%= paginate @recipes, :param_name => 'criteria[page]' %>
<div class="table-responsive"> <div class="table-responsive">