= field_set do
  = hidden_field_tag :journal_id, (resource.new_record? ? params[:journal_id] : resource.journal_id)
  -# = f.referenced_association :journal, readonly: true, input_html: {data: {dependents: "#items-form"}}
  = f.input :number
  = f.input :printed_on, input_html: {data: {dependents: "#items-form", parameter_name: "printed_on"}}
  = f.custom_fields
  #items-form{href: new_backend_journal_entry_path, data: {refresh: new_backend_journal_entry_path, refresh_mode: :update, with: "#journal_id"}}
    = render partial: "items_form"

  = f.attachments_field_set

= field_set do
  = hidden_field_tag :journal_id, (resource.new_record? ? params[:journal_id] : resource.journal_id)
  -# = f.referenced_association :journal, readonly: true, input_html: {data: {dependents: "#items-form"}}
  = f.input :number
  = f.input :printed_on, input_html: {data: {dependents: "#items-form", parameter_name: "printed_on"}}
  = f.custom_fields
  #items-form{href: new_backend_journal_entry_path, data: {refresh: new_backend_journal_entry_path, refresh_mode: :update, with: "#journal_id"}}
    = render partial: "items_form"

= f.attachments_field_set

Remove nested nested_fields in journal entries form
Remove nested nested_fields in journal entries form
