sul-dlss/argo

View on GitHub
app/components/edit_modal_component.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

# This models the component that appears when you click one of the blue buttons to modify an object.
# It does not depend on the BlacklightModalComponent, which has a bunch of jquery javascript for
# doing the ajax.  That javascript prevents us from showing errors after a form is submitted.
class EditModalComponent < ApplicationComponent
  renders_one :header
  renders_one :body
  renders_one :footer
end