diff --git a/app/views/application/_modal.html.erb b/app/views/application/_modal.html.erb new file mode 100644 index 00000000..58586b37 --- /dev/null +++ b/app/views/application/_modal.html.erb @@ -0,0 +1,20 @@ +<%# Partial params: id, dialog_class, title %> + \ No newline at end of file diff --git a/app/views/vms/show.html.erb b/app/views/vms/show.html.erb index 9c5c1156..12f69a6d 100644 --- a/app/views/vms/show.html.erb +++ b/app/views/vms/show.html.erb @@ -148,51 +148,37 @@ end %> <% if @vm.config.present? && current_user.admin? %> - <%# Render content in location defined in app/views/layouts/application.html.erb %> - <% content_for :modals do %> - <%# Modal for Puppet Script display %> -