diff --git a/app/models/party.rb b/app/models/party.rb index bfc74ef..2fd96f8 100644 --- a/app/models/party.rb +++ b/app/models/party.rb @@ -1,2 +1,3 @@ class Party < ApplicationRecord + validates :title, :location, :start_date, :start_time, :status, presence: true end diff --git a/app/views/friends/index.html.erb b/app/views/friends/index.html.erb index 727c9fe..2cf4bf7 100644 --- a/app/views/friends/index.html.erb +++ b/app/views/friends/index.html.erb @@ -10,6 +10,26 @@ <%= link_to "Neuer Freund", new_friend_path, class: "btn-new" %> +
| Name | +Telefon | ++ | |
|---|---|---|---|
| + | + | + | + |