2018-03-25 17:20:54 +00:00
|
|
|
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
2018-03-25 17:30:42 +00:00
|
|
|
<!-- partial profiles/_profile_tabs.html.erb -->
|
|
|
|
<%# needs a profile_id %>
|
|
|
|
<% url = '/profiles/' + profile_id.to_s %>
|
|
|
|
|
|
|
|
<div class='pageTabs'>
|
|
|
|
|
|
|
|
<a href='<%= url %>'
|
|
|
|
class="<%= active == :profile && 'is-active' %>">
|
|
|
|
Profile
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a href='<%= url %>/donations_history'
|
|
|
|
class="<%= active == :donations && 'is-active' %>">
|
|
|
|
Donations
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a href='<%= url %>/fundraisers'
|
|
|
|
class="<%= active == :fundraisers && 'is-active' %>">
|
|
|
|
Fundraisers
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<!-- end partial profiles/_profile_tabs.html.erb -->
|