bootstrap-on 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bootstrap-on"
8
- s.version = "0.0.5"
8
+ s.version = "0.0.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Stuart Chinery"]
12
- s.date = "2012-07-10"
12
+ s.date = "2012-08-30"
13
13
  s.description = "Generates Padrino admin and admin page templates with Twitter Bootstrap integrated."
14
14
  s.email = "stuart.chinery@headlondon.com"
15
15
  s.extra_rdoc_files = [
@@ -1,3 +1,11 @@
1
+ <%%= error_messages_for @<%= @orm.name_singular %>,
2
+ :header_tag => 'h3',
3
+ :id => "errors",
4
+ :class => "alert alert-error",
5
+ :header_message => "",
6
+ :message => "There were some problems updating this case study."
7
+ %>
8
+
1
9
  <fieldset>
2
10
  <% @orm.column_fields.each do |column| %>
3
11
  <div class="control-group">
@@ -16,7 +16,6 @@ Admin.controllers :<%= @orm.name_plural %> do
16
16
  flash[:notice] = "#{mt(<%= @orm.klass_name %>)} was successfully created."
17
17
  redirect url(:<%= @orm.name_plural %>, :edit, :id => @<%= @orm.name_singular%>.id)
18
18
  else
19
- flash.now[:error] = "There were some problems creating this #{mt(<%= @orm.klass_name %>)}."
20
19
  render '<%= @orm.name_plural %>/new'
21
20
  end
22
21
  end
@@ -32,7 +31,6 @@ Admin.controllers :<%= @orm.name_plural %> do
32
31
  flash[:notice] = "#{mt(<%= @orm.klass_name %>)} was successfully updated."
33
32
  redirect url(:<%= @orm.name_plural %>, :edit, :id => @<%= @orm.name_singular %>.id)
34
33
  else
35
- flash.now[:error] = "There were some problems updating this #{mt(<%= @orm.klass_name %>)}."
36
34
  render '<%= @orm.name_plural %>/edit'
37
35
  end
38
36
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-on
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stuart Chinery
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-10 00:00:00 Z
18
+ date: 2012-08-30 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  type: :runtime