diff options
Diffstat (limited to 'app/views/backends/terraform_libvirt')
-rw-r--r-- | app/views/backends/terraform_libvirt/show.html.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/backends/terraform_libvirt/show.html.erb b/app/views/backends/terraform_libvirt/show.html.erb index 5b2213b..f97b4e2 100644 --- a/app/views/backends/terraform_libvirt/show.html.erb +++ b/app/views/backends/terraform_libvirt/show.html.erb @@ -52,6 +52,17 @@ License along with the GOV.UK Mini Environment Admin. If not, see class: 'btn btn-lg btn-danger') %> <% end %> + + <%= form_with( + url: perform_action_terraform_libvirt_backend_path(@backend), + local: true, + method: "post" + ) do %> + <%= submit_tag("Refresh state", + role: 'button', + class: 'btn btn-lg btn-info') + %> + <% end %> </div> <div class="col-md-6"> <%= render( |