15 lines
580 B
Ruby
15 lines
580 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Copyright (c) 2026, Kreisjagdverband Bautzen e.V. This file is part of
|
|
# hitobito_kjv and licensed under the Affero General Public License version 3
|
|
# or later. See the COPYING file at the top-level directory.
|
|
|
|
module Kjv::StandardFormBuilder
|
|
# Social-Media-Konten im Personenformular ausblenden, ohne das Core-Partial
|
|
# contactable/_fields zu kopieren. Gruppen behalten das Feld.
|
|
def labeled_inline_fields_for(assoc, *args, &block)
|
|
return "".html_safe if assoc.to_sym == :social_accounts && object.is_a?(Person)
|
|
|
|
super
|
|
end
|
|
end
|