summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-06-03 21:39:57 -0400
committerDavid Gay <david@davidgay.org>2021-06-03 21:39:57 -0400
commit3a3aecce332a144ff3c904b40b7aae9f32ea3deb (patch)
tree7839cdeb08fb93cdbea11b80bff3afd391a771c8 /app
parent9e56a00ce9fd61a45e35de62d049ab57ffd6dede (diff)
Remove Rest section from the Character view
Diffstat (limited to 'app')
-rw-r--r--app/views/characters/show.html.erb11
1 files changed, 0 insertions, 11 deletions
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 @@
</div>
<% if @character == current_char %>
- <div class="my-6">
- <h2 class="text-xl mb-4">Rest</h2>
- <p class="mb-4">
- 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 %>
- </p>
- <%= button_to current_char.resting? ? "Stop Resting" : "Start Resting", toggle_resting_path %>
- </div>
-
<%= link_to "Manage account", edit_user_registration_path, class: "text-sm" %>
<% end %>