From 657609c88c628b12b972b20c9a5053c7065023ed Mon Sep 17 00:00:00 2001 From: Britt Mileshosky Date: Thu, 14 Aug 2014 10:13:51 -0500 Subject: [PATCH] Some minor syntax changes [skip-ci] --- app/views/invitations/show.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/invitations/show.html.haml b/app/views/invitations/show.html.haml index 340532c2..b4dd4ee5 100644 --- a/app/views/invitations/show.html.haml +++ b/app/views/invitations/show.html.haml @@ -9,13 +9,13 @@ -if !signed_in? %p Before you can accept the invitation you need to create a coderwall account or sign in. %ul.sign-btns - %li=link_to('Sign Up', root_path, :class => 'join') - %li=link_to('Sign In', signin_path, :id => 'signin', :class => 'join') + %li=link_to('Sign Up', root_path, class: 'join') + %li=link_to('Sign In', signin_path, id: 'signin', class: 'join') -else -if users_team = current_user.team #currentteam %h2==You are currently on team #{users_team.name} - = render partial: "invitations/team_members", locals: {team: users_team } + = render "invitations/team_members", team: users_team .clear %h2 Team invitations - = render partial: "invitations/team_members", locals: {team: @team } + = render "invitations/team_members", team: @team