Adv Mian Naveed Ali said about 1 year ago on Hotwire Modals :
i'm getting this error
i'm using bootstrap ,rails 7.1.1 and ruby 3.2.2

 ActionController::UnknownFormat in EmployeesController#new 

EmployeesController#new is missing a template for this request format and variant.
request.formats: ["text/html"] 
request.variant: []