Various fixes
Various fixes:
- fixed alert classes for error input for bootstrap 5 (changes to
alert alert-danger
was justalert-danger
; todo: this should be abstracted intoLayoutStrategy::Bootstrap
) - switches to use a self-defined instance var
@action
instead ofaction_name
; this is so I can
switch it back to 'new' or 'edit' upon a failure re-display to have the view behave the expected way - fix in
create.turbo_stream.erb
for failure redisplay (was not working) - fixes syntax error (in generated code) in
edit.erb
when there was a nested set