diff options
author | David Gay <david@davidgay.org> | 2021-05-25 20:31:22 -0400 |
---|---|---|
committer | David Gay <david@davidgay.org> | 2021-05-25 20:31:22 -0400 |
commit | ca9d189e51b7467f539d906a6e891fa4a7caa2fc (patch) | |
tree | 2904645ffce5290ef2aa8303a14f4683e30197b3 /app/views | |
parent | 0dd10a2297cc9b3d2a0fe991c1d597b8a1d5fcc2 (diff) |
Queued actions, allowing for non-infinite activity repeat and one-time activities
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/characters/hearth/index.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ <div class="my-3"> <%= 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 %> <div class="text-sm">(costs <%= construct_activity.cost_string %>)</div> @@ -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 %>) |