Extract components to edit and add cards

This way we'll be able to reuse it in the SDG Management section while
reusing the `title` method to set the page title.
This commit is contained in:
Javi Martín
2021-01-07 20:38:44 +01:00
parent 13f95e9419
commit 1e7517d1f6
10 changed files with 54 additions and 31 deletions

View File

@@ -1,3 +1,4 @@
class ApplicationComponent < ViewComponent::Base
include SettingsHelper
delegate :back_link_to, to: :helpers
end