tramway-event 1.6.3 → 1.6.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17c5fef82865b2a59a341fdd4b602e8bf461497dc68fffbf1f33425adc9f4144
|
4
|
+
data.tar.gz: 55605dafbd285e984dffaeef226a71fe5a6b1ad36a6a6313393ee90528bc26ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05d26eb2fb4eaaf2800dbe5e093b8d14ee283c7e73790dd64e8b0752d4015025953c8af91851caed73f32634db2e066edf28ea1f27c0c7a39b6d0a272e33339b
|
7
|
+
data.tar.gz: 128e495a8396c61c12f151d14d39f94e392f08f77b30fe165884e06eae42d4015dd1018536a256456ff3f6d57868042375fe6653528854f482bb39edcd914a90
|
@@ -22,6 +22,14 @@ class Tramway::Event::ParticipantDecorator < ::Tramway::Core::ApplicationDecorat
|
|
22
22
|
|
23
23
|
def list_fields
|
24
24
|
content_tag :table, class: :table do
|
25
|
+
concat(content_tag(:tr) do
|
26
|
+
concat(content_tag(:td) do
|
27
|
+
object.class.human_attribute_name(:event)
|
28
|
+
end)
|
29
|
+
concat(content_tag(:td) do
|
30
|
+
object.event.title
|
31
|
+
end)
|
32
|
+
end)
|
25
33
|
object.event.participant_form_fields.map do |field|
|
26
34
|
hash = field.options.is_a?(Hash) ? field.options : JSON.parse(field.options.present? ? field.options : '{}')
|
27
35
|
if hash.dig('list_field') == 'true'
|
data/config/locales/models.yml
CHANGED