From 3a3aecce332a144ff3c904b40b7aae9f32ea3deb Mon Sep 17 00:00:00 2001 From: David Gay Date: Thu, 3 Jun 2021 21:39:57 -0400 Subject: Remove Rest section from the Character view --- app/views/characters/show.html.erb | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'app') diff --git a/app/views/characters/show.html.erb b/app/views/characters/show.html.erb index 42a932e..7b37ef4 100644 --- a/app/views/characters/show.html.erb +++ b/app/views/characters/show.html.erb @@ -106,16 +106,5 @@ <% if @character == current_char %> -
-

Rest

-

- You have <%= distance_of_time_in_words_to_now(current_char.rested_until) %> of rested time. - <% if current_char.resting? %> - This does not include time from your current rest. That time will be added when you stop resting. - <% end %> -

- <%= button_to current_char.resting? ? "Stop Resting" : "Start Resting", toggle_resting_path %> -
- <%= link_to "Manage account", edit_user_registration_path, class: "text-sm" %> <% end %> -- cgit v1.2.3