diff --git a/app/views/organizations/staff/pets/tabs/partials/_application_create_button.html.erb b/app/views/organizations/staff/pets/tabs/partials/_application_create_button.html.erb index b445d923a..59feb8323 100644 --- a/app/views/organizations/staff/pets/tabs/partials/_application_create_button.html.erb +++ b/app/views/organizations/staff/pets/tabs/partials/_application_create_button.html.erb @@ -7,9 +7,7 @@ match_type: :adoption} }, class: "btn btn-outline-primary", - data: { turbo_method: :post, - turbo_confirm: "Click OK to finalize this adoption." - } + data: { turbo_confirm: "Click OK to finalize this adoption." } %> <% else %> + <% unless app.status == 'adoption_made' %>
<%= render 'organizations/staff/pets/tabs/partials/application_create_button', app: app %>
+ <% else %> +
+
+ <% end %>
<%= render 'organizations/staff/pets/tabs/partials/application_notes', app: app, modal_id: 'table' %> diff --git a/app/views/organizations/staff/pets/tabs/partials/_application_status.html.erb b/app/views/organizations/staff/pets/tabs/partials/_application_status.html.erb index c4953ae26..79b24ef8a 100644 --- a/app/views/organizations/staff/pets/tabs/partials/_application_status.html.erb +++ b/app/views/organizations/staff/pets/tabs/partials/_application_status.html.erb @@ -1,16 +1,18 @@ \ No newline at end of file