tramway-event 1.0 → 1.0.1

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: b68f2d665c0d194880be50bc972c2b6fa2cb47bd3003011422e28b6bd252c86a
4
- data.tar.gz: 73233cd3ceaecf0e0ccd4e78ad99f56749bc89711dfaee390996cd5e1df8bc6e
3
+ metadata.gz: e06fdaa43cfd4ef68dcdb5369e6212412a5fbc68fc95d035f68325eb6cf468ee
4
+ data.tar.gz: 24c0b650e98e7e3eef37ab86a680c58c27c77f8ba2518a89901d80fb7e6f6758
5
5
  SHA512:
6
- metadata.gz: ae4346afafcadd0ff12986f25c2ee6504a695866be09c33e669a872c73319a71dfe896f56c2e14647b11b8101d8bd5a365a9d5d8b5a82c7b369467d3a9f4def8
7
- data.tar.gz: 1b4dd83e339feb17d46f200821fb2d747337632cce9e0d9928cf80537d1d9b7d1b55167a44729da6613d750c60ae153f288c51fa6ab1c692de6dade84195cc05
6
+ metadata.gz: af8d9d1da075c48caae42599b8bc260f93d87eabe2a7dea505bbba1bec68545973b3412e674cb4f2c99fa2ab88fe11376a0d060f9ab10821f35f32c91bc0f82a
7
+ data.tar.gz: cf0e98feebee348ece819498dac34d69fec774459902fe7735e70f60d1ccc6c27bce66a2012b63a0737324e9355ffaa39efa3502036a3c9124e58e910ce29922
@@ -1,13 +1 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
1
  //= require_tree .
@@ -15,4 +15,12 @@ class Tramway::Event::ParticipantFormFieldForm < ::Tramway::Core::ApplicationFor
15
15
  def event=(value)
16
16
  super ::Tramway::Event::Event.find value
17
17
  end
18
+
19
+ def options
20
+ model.options.to_json
21
+ end
22
+
23
+ def options=(value)
24
+ super JSON.parse value
25
+ end
18
26
  end
@@ -13,7 +13,7 @@
13
13
  %hr/
14
14
  %p.mb-0
15
15
  По всем вопросам обращайтесь по телефону
16
- = tel_tag '+79603727276'
16
+ = tel_tag '+79278023244'
17
17
  или пишите на email
18
18
  = mail_to 'kalashnikov@ulmic.ru'
19
19
  - if params[:flash] == 'error'
@@ -25,7 +25,7 @@
25
25
  %hr/
26
26
  %p.mb-0
27
27
  Если ошибка повторяется или не отображается, обращайтесь по телефону
28
- = tel_tag '+79603727276'
28
+ = tel_tag '+79278023244'
29
29
  или пишите на email
30
30
  = mail_to 'kalashnikov@ulmic.ru'
31
31
  = render 'tramway/landing/blocks/templates/full_page', block: @event, buttons: []
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Event
3
- VERSION = '1.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-event
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-16 00:00:00.000000000 Z
11
+ date: 2018-09-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rails engine for events
14
14
  email: