Velocipede's User, Sales, and Bike Inventory Web App

12 lines
226 B

12 years ago
%h3= team
%ul.members
%li= team.captain
- team.members.each do |member|
%li= member
- unless current_user.is_a_member_of?(team)
= form_tag join_team_path(team) do
= submit_tag 'Join team', :class => 'btn'