Sha256: 8bb132e5ac25be5a2bad322be52f9a91b68414672f24fdc10e0ce647fa92dc43

Contents?: true

Size: 1.27 KB

Versions: 3

Compression:

Stored size: 1.27 KB

Contents

<div style="width:100%; padding-top:5px; padding-bottom:5px; background-color:#eee; border-bottom:1px dotted grey; font-size: 14px;">
  <center>
		<table style="width:900px;" cellpadding="0" cellspacing="0">
		  <tr>
		  	<% 
		  		controller_name = controller.controller_name 
		  		controller_name = "simple" if controller_name == "orders"
		  	%>
		    <td style="text-align:left;">
		    	<%= controller_name == 'simple' ? "Basic" : "Advanced" %>: 
		        <%=link_to("Users", :controller => controller_name, :action => :users) %>
		      | <%=link_to("Events", :controller => controller_name, :action => :events) %>
		      | <%=link_to("Event Members", :controller => controller_name, :action => :event_members) %>
		      ||
				  <% if controller_name == 'simple' %>
  		      <%=link_to("Switch to Advanced Filters", :controller => :advanced, :action => :users) %>
					<% else %>
            <%=link_to("Switch to Basic Filters", :controller => :simple, :action => :users) %>
					<% end %>	
		    </td>
		    <td style="text-align:right;">
          <%=link_to("Users with Actions", :controller => :advanced, :action => :users_with_actions) %> |
		      <%=link_to("Custom Header/Footer", :controller => :orders, :action => :index) %> 
		    </td>
		  </tr>
		</table>
	</center>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
will_filter-3.1.11 test/dummy/app/views/common/_menu.html.erb
will_filter-3.1.10 test/dummy/app/views/common/_menu.html.erb
will_filter-3.1.9 test/dummy/app/views/common/_menu.html.erb