bootstrap2-rails 0.0.4 → 0.0.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.
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<%%= form_for(@<%= singular_table_name %>, html: {class: 'form-horizontal'}) do |f| %>
|
|
2
2
|
<%% if @<%= singular_table_name %>.errors.any? %>
|
|
3
|
-
<div class="alert alert-
|
|
3
|
+
<div class="alert alert-error">
|
|
4
4
|
<p>
|
|
5
5
|
<strong><%%= pluralize(@<%= singular_table_name %>.errors.count, "error") %> prohibited this <%= singular_table_name %> from being saved:</strong>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
</
|
|
6
|
+
</p>
|
|
7
|
+
<ul>
|
|
8
|
+
<%% @<%= singular_table_name %>.errors.full_messages.each do |msg| %>
|
|
9
|
+
<li style="display: block"><%%= msg %></li>
|
|
10
|
+
<%% end %>
|
|
11
|
+
</ul>
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
14
|
<script type="text/javascript">
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootstrap2-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,11 +9,11 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-02-
|
|
12
|
+
date: 2012-02-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: will_paginate
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &74743050 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *74743050
|
|
25
25
|
description: This is a scaffold replacement with a Twitter Bootstrap look
|
|
26
26
|
email:
|
|
27
27
|
- stapait@gmail.com
|