diff --git a/app/templates/admin/matches/index.html.erb b/app/templates/admin/matches/index.html.erb index 887460a..ba4466a 100644 --- a/app/templates/admin/matches/index.html.erb +++ b/app/templates/admin/matches/index.html.erb @@ -13,6 +13,7 @@ Team 2 Score Status + Actions @@ -20,11 +21,14 @@ <%= match.id %> <%= match.played_at&.strftime('%Y-%m-%d %H:%M') %> - <%= match.team_1_p1_id %>/<%= match.team_1_p2_id %> - <%= match.team_1_score %> - <%= match.team_2_p1_id %>/<%= match.team_2_p2_id %> - <%= match.team_2_score %> + <%= match.team_1_p1_name %> + <%= match.team_1_p2_name %> + <%= match.team_1_score %> + <%= match.team_2_p1_name %> + <%= match.team_2_p2_name %> + <%= match.team_2_score %> <%= match.status %> + + Edit + <% end %> diff --git a/app/templates/admin/players/new.html.erb b/app/templates/admin/players/new.html.erb index 62a3041..9174d52 100644 --- a/app/templates/admin/players/new.html.erb +++ b/app/templates/admin/players/new.html.erb @@ -1 +1,19 @@ -

EuchreCamp::Views::Admin::Players::New

+

Add New Player

+ +
+
+ + +
+ +
+ + + Default rating is 1000 +
+ +
+ + Cancel +
+