From ca9d189e51b7467f539d906a6e891fa4a7caa2fc Mon Sep 17 00:00:00 2001 From: David Gay Date: Tue, 25 May 2021 20:31:22 -0400 Subject: Queued actions, allowing for non-infinite activity repeat and one-time activities --- app/views/characters/hearth/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/characters') diff --git a/app/views/characters/hearth/index.html.erb b/app/views/characters/hearth/index.html.erb index e425fee..c95977e 100644 --- a/app/views/characters/hearth/index.html.erb +++ b/app/views/characters/hearth/index.html.erb @@ -27,6 +27,7 @@
<%= form_with url: start_activity_path do |f| %> <%= f.hidden_field :id, value: construct_activity.id %> + <%= f.hidden_field :queued_actions, value: 0 %> <%= f.submit construct_activity.name %> <% end %>
(costs <%= construct_activity.cost_string %>)
@@ -40,6 +41,7 @@ <% construct_activity = foundation.construct_activity(1) %> <%= form_with url: start_activity_path do |f| %> <%= f.hidden_field :id, value: construct_activity.id %> + <%= f.hidden_field :queued_actions, value: 0 %> <%= f.submit construct_activity.name %> <% end %> (costs <%= construct_activity.cost_string %>) -- cgit v1.2.3