diff --git a/tramway-event/app/decorators/tramway/event/event_decorator.rb b/tramway-event/app/decorators/tramway/event/event_decorator.rb index 1a423721..c9507969 100644 --- a/tramway-event/app/decorators/tramway/event/event_decorator.rb +++ b/tramway-event/app/decorators/tramway/event/event_decorator.rb @@ -77,7 +77,7 @@ def events_link event_url = ['molodoy.online', event_link].join content_tag(:div) do concat link_to event_url, event_url, id: "event#{object.id}" - concat " " + concat ' ' concat(button_tag(class: 'btn btn-info clipboard-btn', data: { clipboard_action: 'copy', clipboard_target: "#event#{object.id}" }) do fa_icon 'copy' end) diff --git a/tramway-event/app/forms/tramway/event/participant_form_field_form.rb b/tramway-event/app/forms/tramway/event/participant_form_field_form.rb index c9e0b6a3..c84e5871 100644 --- a/tramway-event/app/forms/tramway/event/participant_form_field_form.rb +++ b/tramway-event/app/forms/tramway/event/participant_form_field_form.rb @@ -7,12 +7,12 @@ class Tramway::Event::ParticipantFormFieldForm < ::Tramway::Core::ExtendedApplic def initialize(object) super(object).tap do form_properties event: :association, - title: :string, - description: :string, - field_type: :default, - options: :text, - list_field: :boolean, - position: :numeric + title: :string, + description: :string, + field_type: :default, + options: :text, + list_field: :boolean, + position: :numeric end end