scrivito_table_widget 0.6.0 → 0.6.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3e19b94eda1188a9089c8a9f0bf8a0a923f12c3
|
4
|
+
data.tar.gz: 8fadd7d8361c3688e1b74501aa112cfac34ecf3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc9398fb436f42cf4efdac05336397f72f910952143df3d222c7205bea75b027434cb6a4a5bb01c29ecb19114fcdd7843574c4c496c0397ad08ed9aba475caaa
|
7
|
+
data.tar.gz: 22da682c64d17251d4874077e157a07193c706bc8d17d0bfda42585c53dd8656da30a2d0be635b5c3a6f53c3ff7fdc4e4c289ba37761267242c74803537f4ced
|
data/Rakefile
CHANGED
data/app/models/table_widget.rb
CHANGED
@@ -1,3 +1,15 @@
|
|
1
1
|
class TableWidget < Widget
|
2
|
-
attribute :table, :html
|
2
|
+
attribute :table, :html
|
3
|
+
|
4
|
+
default_for :table do |a,b|
|
5
|
+
"<table class='table'>
|
6
|
+
<thead>
|
7
|
+
<tr><th>Headline</th><th>Headline</th></tr><
|
8
|
+
/thead>
|
9
|
+
<tbody>
|
10
|
+
<tr><td>Content</td><td>Content</td></tr>
|
11
|
+
<tr><td>Content</td><td>Content</td></tr>
|
12
|
+
</tbody>
|
13
|
+
</table>"
|
14
|
+
end
|
3
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_table_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: scrivito
|