tramway-event 1.5.2 → 1.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03520a269ce5fdccb8d569dfa63c42f1148b0b5ad344d80bfbeb97db34db5c70
4
- data.tar.gz: 76a7932edf7df8cf9c12177d0317f0ba4a0136b03c4d1b6cde3c9df31c1e8917
3
+ metadata.gz: 8bdd15c1d6768bdd294bf659faa8c73f1913044f3f0501e21d5662c7fab2f13b
4
+ data.tar.gz: f9f85015244b70b72b77410d34a8388304641d5d1396995d62bb1f52e7ca8411
5
5
  SHA512:
6
- metadata.gz: 1e9a9d5ef007d8a92f3a5fe23caeda6071b59fd3a04989b379521ecaa1b50442df629d877608edb888908ef2a3cfbe1d1b8779d24c32750e5a4cf63e3ad63e41
7
- data.tar.gz: 77f83732c60a6e538ece1e58f736c3e5e34e55f23f2029893bdb94bfe710513a4b4af222b1cca1d5868e0ca4daded247a0d797ade5bc0b432682136275eb652a
6
+ metadata.gz: 7d9dc647e7c9219ad652d87c5b9bc26b59e5c9aa900f4f80ed277085d7dd6bd9ecae27e6eab4bc8c687fd900849dab6a57d9310b09db2fbe4212b18195aadec7
7
+ data.tar.gz: 28c175e0bc84d52662be229b72e07729609073712550ccb01cf04be394015c1b24f3af4fa498e4e363d33bbc6c9a9798f0a96fe8ee38e54903995eb375e89912
@@ -7,8 +7,9 @@ class Tramway::Event::EventDecorator < ::Tramway::Core::ApplicationDecorator
7
7
 
8
8
  delegate :title, to: :object
9
9
  delegate :description, to: :object
10
- delegate :participant_form_fields, to: :object
11
- delegate :sections, to: :object
10
+ decorate_association :participants
11
+ decorate_association :participant_form_fields
12
+ decorate_association :sections
12
13
 
13
14
  def background
14
15
  object.photo
@@ -27,7 +27,8 @@
27
27
  = render 'tramway/landing/blocks/templates/full_page', block: event, buttons: []
28
28
  %main
29
29
  .container
30
- = render 'tramway/landing/blocks/templates/features_list', block: OpenStruct.new(title: "Направления IT Way'18", description: "Вы можете выбрать любое из направлений", anchor: :features), collection: sections_as_features
30
+ -#= render 'tramway/landing/blocks/templates/features_list', block: OpenStruct.new(title: "Направления IT Way'18", description: "Вы можете выбрать любое из направлений", anchor: :features), collection: sections_as_features
31
+ = render 'tramway/landing/blocks/templates/features_list', collection: sections_as_features
31
32
  %br
32
33
  .row
33
34
  .col
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Event
3
- VERSION = '1.5.2'
3
+ VERSION = '1.5.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-event
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov