Skip to content

Commit

Permalink
#tramway-event rubocop is worked
Browse files Browse the repository at this point in the history
  • Loading branch information
moshinaan committed Jan 28, 2020
1 parent 27b7799 commit b943b87
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Expand Up @@ -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)
Expand Down
Expand Up @@ -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

Expand Down

0 comments on commit b943b87

Please sign in to comment.