inline_forms 0.9.0 → 0.9.1
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.9.
|
1
|
+
0.9.1
|
@@ -83,7 +83,7 @@ class InlineFormsController < ApplicationController
|
|
83
83
|
send("#{form_element.to_s}_update", object, attribute) unless form_element == :associated
|
84
84
|
end
|
85
85
|
if object.save
|
86
|
-
flash[:
|
86
|
+
flash[:success] = "Successfully created product."
|
87
87
|
else
|
88
88
|
flash[:error] = "NOT Successfully created product."
|
89
89
|
end
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<% end %>
|
4
4
|
|
5
5
|
<li class="inline_forms_new_record">
|
6
|
-
<%= inline_forms_new_record_link %>
|
6
|
+
<%= inline_forms_new_record_link %>
|
7
7
|
</li>
|
8
8
|
<%= inline_forms_list(@objects) %>
|
9
9
|
<%= will_paginate @objects %>
|
10
|
-
|
10
|
+
<div id="paginate_info"><%= page_entries_info @objects %></div>
|
@@ -1,6 +1,10 @@
|
|
1
|
+
<% flash.each do |key, value| %>
|
2
|
+
<div class="flash <%= key %>"><%= value %></div>
|
3
|
+
<% end %>
|
4
|
+
|
1
5
|
<li class="inline_forms_new_record_link">
|
2
6
|
<%= inline_forms_new_record_link %>
|
3
7
|
</li>
|
4
8
|
<%= inline_forms_list(@objects) %>
|
5
9
|
<%= will_paginate @objects %>
|
6
|
-
|
10
|
+
<div id="paginate_info"><%= page_entries_info @objects %></div>
|
data/inline_forms.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{inline_forms}
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ace Suares"]
|
12
|
-
s.date = %q{2011-03-
|
12
|
+
s.date = %q{2011-03-23}
|
13
13
|
s.description = %q{Inline Forms aims to ease the setup of forms that provide inline editing. The field list can be specified in the model.}
|
14
14
|
s.email = %q{ace@suares.an}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inline_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 57
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 1
|
10
|
+
version: 0.9.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ace Suares
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-03-
|
18
|
+
date: 2011-03-23 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|