fullstack-admin 0.2.4 → 0.2.5

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.2.5
@@ -180,6 +180,21 @@ module AdminFormHelper
180
180
  end
181
181
  end
182
182
 
183
+ def box(title, options = {})
184
+ options[:orientation] ||= "form-horizontal"
185
+
186
+ @target.template.content_tag(:div, :class => ("box " << options[:orientation])) do
187
+ buff = ""
188
+ buff << @target.template.content_tag(:div, title, :class => "box-header")
189
+ buff << @target.template.content_tag(:div, :class => "box-content") do
190
+ yield
191
+ end
192
+ buff.html_safe
193
+ end
194
+
195
+ end
196
+
197
+
183
198
  def sort_association(association, options = {})
184
199
  assoc_str = association.to_s
185
200
  @target.template.render :partial => "sort", :locals => {
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fullstack-admin"
8
- s.version = "0.2.4"
8
+ s.version = "0.2.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fullstack-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -1279,7 +1279,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1279
1279
  version: '0'
1280
1280
  segments:
1281
1281
  - 0
1282
- hash: 3654501658894322693
1282
+ hash: 1400748193854743822
1283
1283
  required_rubygems_version: !ruby/object:Gem::Requirement
1284
1284
  none: false
1285
1285
  requirements: