diff --git a/app/views/teams/edit.html.haml b/app/views/teams/edit.html.haml index e0962f2b05b718c167b47c3526bd9c63d02789ba..3435583600d2ccbe5f29f93e9f3f4a6e985b1a18 100644 --- a/app/views/teams/edit.html.haml +++ b/app/views/teams/edit.html.haml @@ -1,6 +1,6 @@ %h3.page_title= "Edit Team #{@team.name}" %hr -= form_for @team, url: teams_path do |f| += form_for @team, url: team_path(@team) do |f| - if @team.errors.any? .alert.alert-error %span= @team.errors.full_messages.first