inline_forms 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -15
- data/lib/inline_forms/version.rb +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -5,24 +5,17 @@ Inline Forms is almost a complete admin application. You can try it out easily.
|
|
5
5
|
= Usage
|
6
6
|
|
7
7
|
gem install inline_forms
|
8
|
+
|
8
9
|
inline_forms MyAppName
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
image:image_field \
|
13
|
-
description:text \
|
14
|
-
apartment:belongs_to \
|
15
|
-
_presentation:'#{name}' -f
|
10
|
+
|
11
|
+
rails g inline_forms Picture name:string caption:string image:image_field description:text apartment:belongs_to _presentation:'#{name}' -f
|
12
|
+
|
16
13
|
rails generate uploader Image
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
description:text \
|
21
|
-
pictures:has_many \
|
22
|
-
pictures:associated \
|
23
|
-
_enabled:yes \
|
24
|
-
_presentation:'#{name}' -f
|
14
|
+
|
15
|
+
rails g inline_forms Apartment name:string title:string description:text pictures:has_many pictures:associated _enabled:yes _presentation:'#{name}' -f
|
16
|
+
|
25
17
|
rails s
|
18
|
+
|
26
19
|
point your browser to http://localhost:3000/apartments (make sure JavaScript is enabled)
|
27
20
|
|
28
21
|
It's work in progress.
|
data/lib/inline_forms/version.rb
CHANGED
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: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ace Suares
|