aureus 1.3.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +4 -1
- data/Gemfile +9 -8
- data/Gemfile.lock +105 -104
- data/README.md +80 -0
- data/Rakefile +3 -16
- data/app/assets/javascripts/aureus/index.js +78 -20
- data/app/assets/stylesheets/aureus/index.scss +3 -35
- data/app/assets/stylesheets/aureus/skin/default.scss +52 -0
- data/app/assets/stylesheets/aureus/theme.scss +7 -0
- data/app/assets/stylesheets/aureus/theme/base.scss +19 -0
- data/app/assets/stylesheets/aureus/theme/content.scss +65 -0
- data/app/assets/stylesheets/aureus/{form.scss → theme/form.scss} +27 -27
- data/app/assets/stylesheets/aureus/theme/messages.scss +16 -0
- data/app/assets/stylesheets/aureus/theme/navigation.scss +42 -0
- data/app/assets/stylesheets/aureus/theme/table.scss +121 -0
- data/app/assets/stylesheets/aureus/theme/toolbar.scss +80 -0
- data/aureus.gemspec +21 -12
- data/config.ru +10 -0
- data/lib/aureus.rb +22 -18
- data/lib/aureus/components/box.rb +58 -0
- data/lib/aureus/components/content.rb +19 -0
- data/lib/aureus/components/data_table.rb +169 -0
- data/lib/aureus/components/listing.rb +43 -0
- data/lib/aureus/components/messages.rb +27 -0
- data/lib/aureus/components/navigation.rb +48 -0
- data/lib/aureus/components/row.rb +69 -0
- data/lib/aureus/components/simple_map.rb +21 -0
- data/lib/aureus/components/toolbar.rb +124 -0
- data/lib/aureus/engine.rb +8 -2
- data/lib/aureus/helper.rb +56 -55
- data/lib/aureus/renderable.rb +4 -12
- data/lib/aureus/version.rb +2 -2
- data/lib/generators/aureus/devise_i18n/devise_i18n_generator.rb +17 -12
- data/{config → lib/generators/aureus/devise_i18n}/locales/devise_base.de.yml +0 -0
- data/{config → lib/generators/aureus/devise_i18n}/locales/devise_base.en.yml +1 -1
- data/{config → lib/generators/aureus/devise_i18n}/locales/devise_mail.de.yml +1 -1
- data/{config → lib/generators/aureus/devise_i18n}/locales/devise_mail.en.yml +1 -1
- data/{config → lib/generators/aureus/devise_i18n}/locales/devise_ui.de.yml +0 -0
- data/{config → lib/generators/aureus/devise_i18n}/locales/devise_ui.en.yml +0 -0
- data/lib/generators/aureus/devise_invitable_i18n/devise_invitable_i18n_generator.rb +25 -0
- data/lib/generators/aureus/devise_invitable_i18n/locales/devise_invitable_base.de.yml +11 -0
- data/lib/generators/aureus/devise_invitable_i18n/locales/devise_invitable_base.en.yml +11 -0
- data/lib/generators/aureus/devise_invitable_i18n/locales/devise_invitable_mail.de.yml +9 -0
- data/lib/generators/aureus/devise_invitable_i18n/locales/devise_invitable_mail.en.yml +9 -0
- data/lib/generators/aureus/devise_invitable_i18n/locales/devise_invitable_ui.de.yml +12 -0
- data/lib/generators/aureus/devise_invitable_i18n/locales/devise_invitable_ui.en.yml +12 -0
- data/lib/generators/aureus/devise_invitable_views/devise_invitable_views_generator.rb +23 -0
- data/lib/generators/aureus/devise_invitable_views/templates/devise/invitations/edit.html.haml +9 -0
- data/lib/generators/aureus/devise_invitable_views/templates/devise/invitations/new.html.haml +8 -0
- data/lib/generators/aureus/devise_invitable_views/templates/devise/mailer/invitation_instructions.html.haml +5 -0
- data/lib/generators/aureus/devise_views/devise_views_generator.rb +17 -15
- data/lib/generators/aureus/devise_views/templates/devise/confirmations/new.html.haml +5 -5
- data/lib/generators/aureus/devise_views/templates/devise/mailer/confirmation_instructions.html.haml +3 -3
- data/lib/generators/aureus/devise_views/templates/devise/mailer/reset_password_instructions.html.haml +5 -5
- data/lib/generators/aureus/devise_views/templates/devise/mailer/unlock_instructions.html.haml +4 -4
- data/lib/generators/aureus/devise_views/templates/devise/passwords/edit.html.haml +7 -7
- data/lib/generators/aureus/devise_views/templates/devise/passwords/new.html.haml +5 -5
- data/lib/generators/aureus/devise_views/templates/devise/registrations/edit.html.haml +9 -9
- data/lib/generators/aureus/devise_views/templates/devise/registrations/new.html.haml +7 -7
- data/lib/generators/aureus/devise_views/templates/devise/sessions/new.html.haml +7 -7
- data/lib/generators/aureus/devise_views/templates/devise/shared/_links.html.haml +6 -6
- data/lib/generators/aureus/devise_views/templates/devise/unlocks/new.html.haml +5 -5
- data/lib/generators/aureus/layout/layout_generator.rb +10 -10
- data/lib/generators/aureus/layout/templates/layout.html.haml +8 -8
- data/lib/generators/aureus/views/templates/views/_form.html.haml +3 -3
- data/lib/generators/aureus/views/templates/views/_item.html.haml +2 -2
- data/lib/generators/aureus/views/templates/views/_list.html.haml +8 -8
- data/lib/generators/aureus/views/templates/views/edit.html.haml +4 -4
- data/lib/generators/aureus/views/templates/views/index.html.haml +3 -3
- data/lib/generators/aureus/views/templates/views/new.html.haml +4 -4
- data/lib/generators/aureus/views/templates/views/show.html.haml +4 -4
- data/lib/generators/aureus/views/views_generator.rb +70 -68
- data/spec/controllers/all_spec.rb +19 -0
- data/spec/internal/app/assets/javascripts/application.js +9 -0
- data/spec/internal/app/assets/stylesheets/application.scss +5 -0
- data/spec/internal/app/controllers/all_controller.rb +14 -0
- data/spec/internal/app/controllers/resources_controller.rb +2 -0
- data/spec/{lib/helper → internal/app/models}/resource.rb +0 -0
- data/spec/internal/app/views/all/centered.html.haml +5 -0
- data/spec/internal/app/views/all/index.html.haml +39 -0
- data/spec/internal/app/views/layouts/application.html.haml +24 -0
- data/spec/internal/app/views/layouts/naked.html.haml +10 -0
- data/spec/internal/config/database.yml +3 -0
- data/spec/internal/config/routes.rb +5 -0
- data/spec/internal/db/schema.rb +10 -0
- data/spec/internal/log/.gitignore +1 -0
- data/spec/internal/public/favicon.ico +0 -0
- data/spec/lib/generators/devise_i18n_spec.rb +19 -0
- data/spec/lib/generators/devise_invitable_i18n_spec.rb +19 -0
- data/spec/lib/generators/devise_invitable_views_spec.rb +19 -0
- data/spec/lib/generators/devise_views_spec.rb +25 -0
- data/spec/lib/generators/layout_spec.rb +17 -0
- data/spec/lib/generators/views_spec.rb +26 -0
- data/spec/requests/all_spec.rb +12 -0
- data/spec/spec_helper.rb +15 -0
- metadata +219 -78
- data/.rspec +0 -2
- data/Guardfile +0 -4
- data/Readme.md +0 -370
- data/TODO.md +0 -11
- data/app/assets/images/aureus/background.png +0 -0
- data/app/assets/images/aureus/topbar.png +0 -0
- data/app/assets/javascripts/aureus/defaults.js +0 -30
- data/app/assets/javascripts/aureus/extensions.js +0 -42
- data/app/assets/javascripts/aureus/functions.js +0 -67
- data/app/assets/javascripts/aureus/plugins/jquery-calendrical.js +0 -508
- data/app/assets/javascripts/aureus/plugins/jquery-datatables.js +0 -11838
- data/app/assets/javascripts/aureus/plugins/jquery-qtip.js +0 -15
- data/app/assets/stylesheets/aureus/base.scss +0 -48
- data/app/assets/stylesheets/aureus/content.scss +0 -100
- data/app/assets/stylesheets/aureus/mixins.scss +0 -43
- data/app/assets/stylesheets/aureus/navigation.scss +0 -43
- data/app/assets/stylesheets/aureus/reset.scss +0 -50
- data/app/assets/stylesheets/aureus/table.scss +0 -153
- data/app/assets/stylesheets/aureus/topbar.scss +0 -89
- data/app/assets/stylesheets/aureus/ui.scss +0 -98
- data/lib/aureus/box.rb +0 -54
- data/lib/aureus/content.rb +0 -15
- data/lib/aureus/data_table.rb +0 -148
- data/lib/aureus/listing.rb +0 -39
- data/lib/aureus/map.rb +0 -17
- data/lib/aureus/messages.rb +0 -23
- data/lib/aureus/navigation.rb +0 -42
- data/lib/aureus/row.rb +0 -65
- data/lib/aureus/toolbar.rb +0 -99
- data/spec/lib/helper/schema.rb +0 -6
- data/spec/lib/render_spec.rb +0 -16
- data/spec/lib/spec_helper.rb +0 -21
- data/spec/lib/views/box.haml +0 -14
- data/spec/lib/views/content.haml +0 -2
- data/spec/lib/views/datatable.haml +0 -11
- data/spec/lib/views/listing.haml +0 -5
- data/spec/lib/views/messages.haml +0 -2
- data/spec/lib/views/navigation.haml +0 -4
- data/spec/lib/views/row.haml +0 -28
- data/spec/lib/views/toolbar.haml +0 -11
@@ -0,0 +1,27 @@
|
|
1
|
+
module Aureus
|
2
|
+
|
3
|
+
module Components
|
4
|
+
|
5
|
+
class Messages < Renderable
|
6
|
+
|
7
|
+
def initialize flash
|
8
|
+
@flash = flash
|
9
|
+
end
|
10
|
+
|
11
|
+
def render
|
12
|
+
content_tag 'div', class: 'aureus-messages' do
|
13
|
+
out = Array.new
|
14
|
+
[:notice,:error,:alert].each do |i|
|
15
|
+
if @flash[i]
|
16
|
+
out << content_tag('p', @flash[i], class: i.to_s)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
compact *out
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
module Aureus
|
2
|
+
|
3
|
+
module Components
|
4
|
+
|
5
|
+
class Navigation < Renderable
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
@title = ''
|
9
|
+
@buttons = Array.new
|
10
|
+
end
|
11
|
+
|
12
|
+
def title title
|
13
|
+
@title = title
|
14
|
+
end
|
15
|
+
|
16
|
+
def button content
|
17
|
+
@buttons << NavigationButton.new(content)
|
18
|
+
end
|
19
|
+
|
20
|
+
def submit_form_button resource, text
|
21
|
+
form_class = resource.is_a?(String) ? resource : resource.class.name.underscore
|
22
|
+
tag = content_tag 'a', text, onclick: "aureus_trigger_form('form.#{form_class}')", class: 'submit_form_button'
|
23
|
+
@buttons << NavigationButton.new(tag)
|
24
|
+
end
|
25
|
+
|
26
|
+
def render
|
27
|
+
content_tag 'div', class: 'aureus-navigation' do
|
28
|
+
compact content_tag('h2', content_tag('span',@title)), content_tag('ul', compact_render(*@buttons), id: 'quicklinks')
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
class NavigationButton < Renderable
|
35
|
+
|
36
|
+
def initialize content
|
37
|
+
@content = content
|
38
|
+
end
|
39
|
+
|
40
|
+
def render
|
41
|
+
content_tag 'li', @content
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
|
48
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
module Aureus
|
2
|
+
|
3
|
+
module Components
|
4
|
+
|
5
|
+
class Row < Renderable
|
6
|
+
|
7
|
+
def initialize &block
|
8
|
+
init_haml_helpers
|
9
|
+
@columns = Array.new
|
10
|
+
@content = capture_haml self, &block
|
11
|
+
end
|
12
|
+
|
13
|
+
def column width, &block
|
14
|
+
@columns << RowColumn.new(width,capture_haml(&block))
|
15
|
+
end
|
16
|
+
|
17
|
+
def space width
|
18
|
+
@columns << RowColumn.new(width,'')
|
19
|
+
end
|
20
|
+
|
21
|
+
def divider
|
22
|
+
tag 'hr'
|
23
|
+
end
|
24
|
+
|
25
|
+
def render
|
26
|
+
if @columns.empty?
|
27
|
+
content_tag 'div', @content, class: 'row'
|
28
|
+
elsif @columns.length == 1
|
29
|
+
content_tag 'div', @columns.first.content, class: 'row'
|
30
|
+
else
|
31
|
+
total_width = @columns.inject 0 do |sum, n|
|
32
|
+
sum + n.width
|
33
|
+
end
|
34
|
+
out = String.new.html_safe
|
35
|
+
@columns.each_with_index do |c,i|
|
36
|
+
left = 0.5
|
37
|
+
right = 0.5
|
38
|
+
width = (100.0 / total_width * c.width).round
|
39
|
+
if i == 0
|
40
|
+
left = 0
|
41
|
+
width -= 0.5
|
42
|
+
elsif i == @columns.length-1
|
43
|
+
right = 0
|
44
|
+
width -= 0.5
|
45
|
+
else
|
46
|
+
width -= 1
|
47
|
+
end
|
48
|
+
out += content_tag 'div', c.render, class: :column, style: "width: #{width}%; margin-left: #{left}%; margin-right: #{right}%"
|
49
|
+
end
|
50
|
+
content_tag 'div', out, class: 'row'
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
55
|
+
|
56
|
+
class RowColumn < Renderable
|
57
|
+
|
58
|
+
attr_reader :width, :content
|
59
|
+
|
60
|
+
def initialize width, content
|
61
|
+
@width = width
|
62
|
+
@content = content
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
|
67
|
+
end
|
68
|
+
|
69
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module Aureus
|
2
|
+
|
3
|
+
module Components
|
4
|
+
|
5
|
+
class SimpleMap < Renderable
|
6
|
+
|
7
|
+
def initialize args
|
8
|
+
init args, { height: 300, zoom: 13 }
|
9
|
+
end
|
10
|
+
|
11
|
+
def render
|
12
|
+
if @options[:longitude] and @options[:latitude]
|
13
|
+
content_tag('div',nil, class: 'aureus-simple-map', data: @options )
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
@@ -0,0 +1,124 @@
|
|
1
|
+
module Aureus
|
2
|
+
|
3
|
+
module Components
|
4
|
+
|
5
|
+
class Toolbar < Renderable
|
6
|
+
|
7
|
+
def initialize title
|
8
|
+
@title = title
|
9
|
+
@left = ToolbarSection.new 'left'
|
10
|
+
@right = ToolbarSection.new 'right'
|
11
|
+
end
|
12
|
+
|
13
|
+
def left
|
14
|
+
yield @left
|
15
|
+
end
|
16
|
+
|
17
|
+
def right
|
18
|
+
yield @right
|
19
|
+
end
|
20
|
+
|
21
|
+
def render
|
22
|
+
content_tag 'div', { class: 'aureus-toolbar' } do
|
23
|
+
compact content_tag('h1',@title), @left.render, @right.render
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class ToolbarSection < Renderable
|
30
|
+
|
31
|
+
def initialize position
|
32
|
+
@items = Array.new
|
33
|
+
@position = position
|
34
|
+
end
|
35
|
+
|
36
|
+
def link_to text, url, *args
|
37
|
+
@items << ToolbarButton.new(text,0,url,args)
|
38
|
+
end
|
39
|
+
|
40
|
+
def dropdown title
|
41
|
+
toolbar = ToolbarDropdown.new(title)
|
42
|
+
yield toolbar
|
43
|
+
@items << toolbar
|
44
|
+
end
|
45
|
+
|
46
|
+
def info text
|
47
|
+
@items << ToolbarInfo.new(text,0)
|
48
|
+
end
|
49
|
+
|
50
|
+
def render
|
51
|
+
content_tag 'ul', compact_render(*@items), class: @position
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
55
|
+
|
56
|
+
class ToolbarButton < Renderable
|
57
|
+
|
58
|
+
def initialize text, level, url, args
|
59
|
+
@text = text
|
60
|
+
@level = level
|
61
|
+
@url = url
|
62
|
+
@args = args
|
63
|
+
end
|
64
|
+
|
65
|
+
def render
|
66
|
+
content_tag 'li', link_to(@text,@url,*@args), class: "level-#{@level}"
|
67
|
+
end
|
68
|
+
|
69
|
+
end
|
70
|
+
|
71
|
+
class ToolbarInfo < Renderable
|
72
|
+
|
73
|
+
def initialize text, level
|
74
|
+
@text = text
|
75
|
+
@level = level
|
76
|
+
end
|
77
|
+
|
78
|
+
def render
|
79
|
+
content_tag 'li', content_tag('span', @text, class: :info), class: "level-#{@level}"
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
83
|
+
|
84
|
+
class ToolbarDivider < Renderable
|
85
|
+
|
86
|
+
def initialize
|
87
|
+
end
|
88
|
+
|
89
|
+
def render
|
90
|
+
content_tag 'div', '', class: :line
|
91
|
+
end
|
92
|
+
|
93
|
+
end
|
94
|
+
|
95
|
+
class ToolbarDropdown < Renderable
|
96
|
+
|
97
|
+
def initialize title
|
98
|
+
@title = title
|
99
|
+
@items = Array.new
|
100
|
+
end
|
101
|
+
|
102
|
+
def link_to text, url, *args
|
103
|
+
@items << ToolbarButton.new(text,1,url,args)
|
104
|
+
end
|
105
|
+
|
106
|
+
def info text
|
107
|
+
@items << ToolbarInfo.new(text,1)
|
108
|
+
end
|
109
|
+
|
110
|
+
def divider
|
111
|
+
@items << ToolbarDivider.new
|
112
|
+
end
|
113
|
+
|
114
|
+
def render
|
115
|
+
title = content_tag 'span', @title, class: 'dropdown-accessor'
|
116
|
+
list = content_tag 'ul', compact_render(*@items), class: 'dropdown-inner'
|
117
|
+
content_tag 'li', title+list, class: 'dropdown-outer'
|
118
|
+
end
|
119
|
+
|
120
|
+
end
|
121
|
+
|
122
|
+
end
|
123
|
+
|
124
|
+
end
|
data/lib/aureus/engine.rb
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
module Aureus
|
2
|
+
|
2
3
|
class Engine < Rails::Engine
|
3
|
-
|
4
|
+
config.autoload_paths << File.expand_path('../../', __FILE__)
|
5
|
+
initializer 'aureus.configure_rails_initialization' do |app|
|
6
|
+
ActiveSupport.on_load :action_view do
|
4
7
|
include Aureus::Helper
|
5
8
|
end
|
9
|
+
end
|
10
|
+
|
6
11
|
end
|
7
|
-
|
12
|
+
|
13
|
+
end
|
data/lib/aureus/helper.rb
CHANGED
@@ -1,61 +1,62 @@
|
|
1
1
|
module Aureus
|
2
|
-
module Helper
|
3
2
|
|
4
|
-
|
5
|
-
|
3
|
+
module Helper
|
4
|
+
|
5
|
+
def aureus_toolbar title
|
6
|
+
toolbar = Components::Toolbar.new title
|
6
7
|
yield toolbar
|
7
8
|
toolbar.render
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
9
|
+
end
|
10
|
+
|
11
|
+
def aureus_navigation
|
12
|
+
navigation = Components::Navigation.new
|
13
|
+
yield navigation
|
14
|
+
navigation.render
|
15
|
+
end
|
16
|
+
|
17
|
+
def aureus_messages flash
|
18
|
+
messages = Components::Messages.new flash
|
19
|
+
messages.render
|
20
|
+
end
|
21
|
+
|
22
|
+
def aureus_content html
|
23
|
+
content = Components::Content.new html
|
24
|
+
content.render
|
25
|
+
end
|
26
|
+
|
27
|
+
def aureus_row &block
|
28
|
+
row = Components::Row.new &block
|
29
|
+
row.render
|
30
|
+
end
|
31
|
+
|
32
|
+
def aureus_box title, *args, &block
|
33
|
+
box = Components::Box.new title, args, &block
|
34
|
+
box.render
|
35
|
+
end
|
36
|
+
|
37
|
+
def aureus_datatable resource
|
38
|
+
table = Components::DataTable.new resource
|
39
|
+
yield table
|
40
|
+
table.render
|
41
|
+
end
|
42
|
+
|
43
|
+
def aureus_form args, &block
|
44
|
+
semantic_form_for args do |f|
|
45
|
+
capture_haml f, &block
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def aureus_listing
|
50
|
+
listing = Components::Listing.new
|
51
|
+
yield listing
|
52
|
+
listing.render
|
53
|
+
end
|
54
|
+
|
55
|
+
def aureus_simple_map *args
|
56
|
+
map = Components::SimpleMap.new args
|
57
|
+
map.render
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
60
61
|
|
61
62
|
end
|
data/lib/aureus/renderable.rb
CHANGED
@@ -12,7 +12,7 @@ module Aureus
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def init args, *defaults
|
15
|
-
@options = defaults.extract_options!.merge
|
15
|
+
@options = defaults.extract_options!.merge(args.extract_options!)
|
16
16
|
end
|
17
17
|
|
18
18
|
def content_tag name, content_or_options_with_block = nil, options = nil, escape = false, &block
|
@@ -20,19 +20,11 @@ module Aureus
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def compact *args
|
23
|
-
|
24
|
-
args.each do |i|
|
25
|
-
out += i
|
26
|
-
end
|
27
|
-
out
|
23
|
+
args.join.html_safe
|
28
24
|
end
|
29
25
|
|
30
26
|
def compact_render *args
|
31
|
-
|
32
|
-
args.each do |i|
|
33
|
-
out += i.render
|
34
|
-
end
|
35
|
-
out
|
27
|
+
args.map{ |e| e.render }.join.html_safe
|
36
28
|
end
|
37
29
|
|
38
30
|
def render
|
@@ -41,4 +33,4 @@ module Aureus
|
|
41
33
|
|
42
34
|
end
|
43
35
|
|
44
|
-
end
|
36
|
+
end
|