hitobito-kjv/app/helpers/kjv/standard_form_builder.rb
KJV Bautzen d3b74c9030 Initialer Wagon hitobito_kjv 🤖
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 14:32:02 +02:00

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