Skip to content

Commit

Permalink
add text for non-leaders. There's probably a cleaner way to do this
Browse files Browse the repository at this point in the history
  • Loading branch information
zr2d2 committed Apr 30, 2012
1 parent 526af4f commit 50281cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/groups/_show_body.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

<div>
<% if @group.made_request?(current_user) %>
<p><b>You are currently a <%= @membership.level_name %> of this group.</b></p>
<p><b>You are currently a <%= @membership.level_name %><%= " member" unless @membership.is_leader? %> of this group.</b></p>
<% if @group.has_member?(current_user) %>
<%= link_to("Leave Group", group_membership_path(:group_id => @group.id, :id => @membership.id), :method => :delete, :class => "btn") %>
<% if @membership.is_leader? %>
Expand Down

0 comments on commit 50281cf

Please sign in to comment.