Skip to content
Snippets Groups Projects
Commit 7d4dc2e0 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Add a 'new' button above the table for easy addition of new items.

parent 925b2d63
No related branches found
No related tags found
No related merge requests found
<% @heading = "Listing recurring_item_ranges" %>
<%= link_to 'New recurring_item_range', :action => 'new' %>
<%= render :partial => 'list' %>
<%= link_to 'Previous page', { :page => @recurring_item_range_pages.current.previous } if @recurring_item_range_pages.current.previous %>
......
<% @heading = "Listing recurring_item" %>
<%= link_to 'New recurring_item', :action => 'new' %>
<%= render :partial => 'list' %>
<%= link_to 'Previous page', { :page => @recurring_item_pages.current.previous } if @recurring_item_pages.current.previous %>
......
<h1>Listing saldos</h1>
<%= link_to 'New saldo', :action => 'new' %>
<%= render :partial => 'list' %>
<%= link_to 'Previous page', { :page => @saldo_pages.current.previous } if @saldo_pages.current.previous %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment