Sha256: 520f4382f37dd13ec86aca922755869b87944c4d844de79afe61129b3cd59d29
Contents?: true
Size: 1.02 KB
Versions: 164
Compression:
Stored size: 1.02 KB
Contents
<% content_for :caboose_css do %> <% end %> <% content_for :caboose_js do %> <%= javascript_include_tag "caboose/model/all" %> <% end %> <h1>Edit Advertiser</h1> <ul id='tabs'> <% tabs = { 'General' => "/admin/advertisers/#{@advertiser.id}", 'Authorize.net Info' => "/admin/advertisers/#{@advertiser.id}/authnet", 'Users' => "/admin/advertisers/#{@advertiser.id}/users", 'Campaigns' => "/admin/advertisers/#{@advertiser.id}/campaigns", 'Invoices' => "/admin/advertisers/#{@advertiser.id}/invoices", 'Delete' => "/admin/advertisers/#{@advertiser.id}/delete" } %> <% tabs.each do |text, href| %> <% selected = true if request.fullpath == href || (text != 'General' && request.fullpath.starts_with?(href)) %> <li<% if selected %> class='selected'<% end %>><a href='<%= href %>'><%= raw text %></a></li> <% end %> <li class='back'><input type='button' value='< Back' onclick="window.location='/admin/advertisers';" /></li> </ul> <div id='content2'>
Version data entries
164 entries across 164 versions & 1 rubygems