hobo 0.7.4 → 0.7.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/bin/hobo +0 -6
- data/hobo_files/plugin/CHANGES.txt +103 -0
- data/hobo_files/plugin/Rakefile +2 -0
- data/hobo_files/plugin/generators/hobo_rapid/hobo_rapid_generator.rb +1 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/IE7.js +2 -0
- data/hobo_files/plugin/generators/hobo_rapid/templates/hobo-rapid.js +28 -12
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/stylesheets/{application.css → clean.css} +10 -9
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/public/stylesheets/rapid-ui.css +1 -1
- data/hobo_files/plugin/generators/hobo_rapid/templates/themes/clean/views/{application.dryml → clean.dryml} +0 -0
- data/hobo_files/plugin/init.rb +7 -3
- data/hobo_files/plugin/lib/hobo.rb +3 -1
- data/hobo_files/plugin/lib/hobo/bundle.rb +24 -14
- data/hobo_files/plugin/lib/hobo/dryml.rb +5 -1
- data/hobo_files/plugin/lib/hobo/dryml/dryml_builder.rb +1 -1
- data/hobo_files/plugin/lib/hobo/dryml/parser/base_parser.rb +11 -10
- data/hobo_files/plugin/lib/hobo/dryml/parser/document.rb +37 -10
- data/hobo_files/plugin/lib/hobo/dryml/template.rb +5 -22
- data/hobo_files/plugin/lib/hobo/dryml/template_environment.rb +1 -1
- data/hobo_files/plugin/lib/hobo/dryml/template_handler.rb +10 -2
- data/hobo_files/plugin/lib/hobo/hobo_helper.rb +7 -0
- data/hobo_files/plugin/lib/hobo/model.rb +18 -13
- data/hobo_files/plugin/lib/hobo/model_controller.rb +45 -54
- data/hobo_files/plugin/lib/hobo/model_router.rb +8 -1
- data/hobo_files/plugin/lib/hobo/scopes.rb +3 -4
- data/hobo_files/plugin/lib/hobo/scopes/automatic_scopes.rb +3 -0
- data/hobo_files/plugin/taglib-docs/core.markdown +165 -0
- data/hobo_files/plugin/taglib-docs/rapid.markdown +677 -0
- data/hobo_files/plugin/taglib-docs/rapid_document_tags.markdown +240 -0
- data/hobo_files/plugin/taglib-docs/rapid_editing.markdown +418 -0
- data/hobo_files/plugin/taglib-docs/rapid_forms.markdown +562 -0
- data/hobo_files/plugin/taglib-docs/rapid_generics.markdown +187 -0
- data/hobo_files/plugin/taglib-docs/rapid_navigation.markdown +214 -0
- data/hobo_files/plugin/taglib-docs/rapid_pages.markdown +530 -0
- data/hobo_files/plugin/taglib-docs/rapid_plus.markdown +65 -0
- data/hobo_files/plugin/taglib-docs/rapid_support.markdown +50 -0
- data/hobo_files/plugin/taglib-docs/rapid_user_pages.markdown +129 -0
- data/hobo_files/plugin/taglibs/rapid.dryml +2 -2
- data/hobo_files/plugin/taglibs/rapid_forms.dryml +7 -22
- data/hobo_files/plugin/taglibs/rapid_generics.dryml +14 -12
- data/hobo_files/plugin/taglibs/rapid_navigation.dryml +5 -4
- data/hobo_files/plugin/taglibs/rapid_pages.dryml +5 -1
- data/hobo_files/plugin/tasks/fix_dryml.rake +1 -1
- data/hobo_files/plugin/tasks/generate_tag_reference.rb +162 -0
- data/hobo_files/plugin/tasks/hobo_tasks.rake +17 -0
- metadata +46 -5
@@ -0,0 +1,562 @@
|
|
1
|
+
# Rapid Forms
|
2
|
+
|
3
|
+
* [<hidden-fields>](#hidden-fields)
|
4
|
+
* [<form>](#form)
|
5
|
+
* [<submit>](#submit)
|
6
|
+
* [<input>](#input)
|
7
|
+
* [<input for=`"text"`>](#input--for-text)
|
8
|
+
* [<input for=`"boolean"`>](#input--for-boolean)
|
9
|
+
* [<input for=`"password"`>](#input--for-password)
|
10
|
+
* [<input for=`"html"`>](#input--for-html)
|
11
|
+
* [<input for=`"date"`>](#input--for-date)
|
12
|
+
* [<input for=`"datetime"`>](#input--for-datetime)
|
13
|
+
* [<input for=`"integer"`>](#input--for-integer)
|
14
|
+
* [<input for=`"float"`>](#input--for-float)
|
15
|
+
* [<input for=`"string"`>](#input--for-string)
|
16
|
+
* [<input for=`"big_integer"`>](#input--for-big_integer)
|
17
|
+
* [<input for=`"HoboFields::EnumString"`>](#input--for-HoboFields::EnumString)
|
18
|
+
* [<remote-method-button>](#remote-method-button)
|
19
|
+
* [<update-button>](#update-button)
|
20
|
+
* [<delete-button>](#delete-button)
|
21
|
+
* [<create-button>](#create-button)
|
22
|
+
* [<select-one>](#select-one)
|
23
|
+
* [<name-one>](#name-one)
|
24
|
+
* [<sti-type-input>](#sti-type-input)
|
25
|
+
* [<select-input>](#select-input)
|
26
|
+
* [<error-messages>](#error-messages)
|
27
|
+
* [<select-many>](#select-many)
|
28
|
+
* [<after-submit>](#after-submit)
|
29
|
+
* [<hidden-field>](#hidden-field)
|
30
|
+
* [<select-menu>](#select-menu)
|
31
|
+
|
32
|
+
|
33
|
+
---
|
34
|
+
|
35
|
+
<a name="hidden-fields"> </a>
|
36
|
+
## <hidden-fields>
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
### Attributes
|
41
|
+
|
42
|
+
* fields
|
43
|
+
* skip
|
44
|
+
* for-query-string
|
45
|
+
|
46
|
+
|
47
|
+
### Parameters
|
48
|
+
|
49
|
+
None
|
50
|
+
|
51
|
+
|
52
|
+
---
|
53
|
+
|
54
|
+
<a name="form"> </a>
|
55
|
+
## <form>
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
### Attributes
|
60
|
+
|
61
|
+
* update
|
62
|
+
* hidden-fields
|
63
|
+
* action
|
64
|
+
* method
|
65
|
+
* web-method
|
66
|
+
|
67
|
+
|
68
|
+
### Parameters
|
69
|
+
|
70
|
+
None
|
71
|
+
|
72
|
+
|
73
|
+
---
|
74
|
+
|
75
|
+
<a name="submit"> </a>
|
76
|
+
## <submit>
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
### Attributes (merged with [<input>](#input))
|
81
|
+
|
82
|
+
* label
|
83
|
+
* image
|
84
|
+
|
85
|
+
|
86
|
+
### Parameters
|
87
|
+
|
88
|
+
None
|
89
|
+
|
90
|
+
|
91
|
+
---
|
92
|
+
|
93
|
+
<a name="input"> </a>
|
94
|
+
## <input>
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
### Attributes
|
99
|
+
|
100
|
+
None
|
101
|
+
|
102
|
+
### Parameters
|
103
|
+
|
104
|
+
None
|
105
|
+
|
106
|
+
|
107
|
+
---
|
108
|
+
|
109
|
+
<a name="input--for-text"> </a>
|
110
|
+
## <input for=`"text"`>
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
### Attributes
|
115
|
+
|
116
|
+
* name
|
117
|
+
|
118
|
+
|
119
|
+
### Parameters
|
120
|
+
|
121
|
+
None
|
122
|
+
|
123
|
+
|
124
|
+
---
|
125
|
+
|
126
|
+
<a name="input--for-boolean"> </a>
|
127
|
+
## <input for=`"boolean"`>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
### Attributes
|
132
|
+
|
133
|
+
* name
|
134
|
+
|
135
|
+
|
136
|
+
### Parameters
|
137
|
+
|
138
|
+
None
|
139
|
+
|
140
|
+
|
141
|
+
---
|
142
|
+
|
143
|
+
<a name="input--for-password"> </a>
|
144
|
+
## <input for=`"password"`>
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
### Attributes
|
149
|
+
|
150
|
+
* name
|
151
|
+
|
152
|
+
|
153
|
+
### Parameters
|
154
|
+
|
155
|
+
None
|
156
|
+
|
157
|
+
|
158
|
+
---
|
159
|
+
|
160
|
+
<a name="input--for-html"> </a>
|
161
|
+
## <input for=`"html"`>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
### Attributes
|
166
|
+
|
167
|
+
* name
|
168
|
+
|
169
|
+
|
170
|
+
### Parameters
|
171
|
+
|
172
|
+
None
|
173
|
+
|
174
|
+
|
175
|
+
---
|
176
|
+
|
177
|
+
<a name="input--for-date"> </a>
|
178
|
+
## <input for=`"date"`>
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
### Attributes
|
183
|
+
|
184
|
+
* order
|
185
|
+
|
186
|
+
|
187
|
+
### Parameters
|
188
|
+
|
189
|
+
None
|
190
|
+
|
191
|
+
|
192
|
+
---
|
193
|
+
|
194
|
+
<a name="input--for-datetime"> </a>
|
195
|
+
## <input for=`"datetime"`>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
### Attributes
|
200
|
+
|
201
|
+
* order
|
202
|
+
|
203
|
+
|
204
|
+
### Parameters
|
205
|
+
|
206
|
+
None
|
207
|
+
|
208
|
+
|
209
|
+
---
|
210
|
+
|
211
|
+
<a name="input--for-integer"> </a>
|
212
|
+
## <input for=`"integer"`>
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
### Attributes
|
217
|
+
|
218
|
+
* name
|
219
|
+
|
220
|
+
|
221
|
+
### Parameters
|
222
|
+
|
223
|
+
None
|
224
|
+
|
225
|
+
|
226
|
+
---
|
227
|
+
|
228
|
+
<a name="input--for-float"> </a>
|
229
|
+
## <input for=`"float"`>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
### Attributes
|
234
|
+
|
235
|
+
* name
|
236
|
+
|
237
|
+
|
238
|
+
### Parameters
|
239
|
+
|
240
|
+
None
|
241
|
+
|
242
|
+
|
243
|
+
---
|
244
|
+
|
245
|
+
<a name="input--for-string"> </a>
|
246
|
+
## <input for=`"string"`>
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
### Attributes
|
251
|
+
|
252
|
+
* name
|
253
|
+
|
254
|
+
|
255
|
+
### Parameters
|
256
|
+
|
257
|
+
None
|
258
|
+
|
259
|
+
|
260
|
+
---
|
261
|
+
|
262
|
+
<a name="input--for-big_integer"> </a>
|
263
|
+
## <input for=`"big_integer"`>
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
### Attributes
|
268
|
+
|
269
|
+
* name
|
270
|
+
|
271
|
+
|
272
|
+
### Parameters
|
273
|
+
|
274
|
+
None
|
275
|
+
|
276
|
+
|
277
|
+
---
|
278
|
+
|
279
|
+
<a name="input--for-HoboFields::EnumString"> </a>
|
280
|
+
## <input for=`"HoboFields::EnumString"`>
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
### Attributes (merged with [<select>](#select))
|
285
|
+
|
286
|
+
* labels
|
287
|
+
* titleize
|
288
|
+
|
289
|
+
|
290
|
+
### Parameters
|
291
|
+
|
292
|
+
None
|
293
|
+
|
294
|
+
|
295
|
+
---
|
296
|
+
|
297
|
+
<a name="remote-method-button"> </a>
|
298
|
+
## <remote-method-button>
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
### Attributes
|
303
|
+
|
304
|
+
* method
|
305
|
+
* update
|
306
|
+
* label
|
307
|
+
|
308
|
+
|
309
|
+
### Parameters
|
310
|
+
|
311
|
+
None
|
312
|
+
|
313
|
+
|
314
|
+
---
|
315
|
+
|
316
|
+
<a name="update-button"> </a>
|
317
|
+
## <update-button>
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
### Attributes
|
322
|
+
|
323
|
+
* label
|
324
|
+
* update
|
325
|
+
* fields
|
326
|
+
* params
|
327
|
+
|
328
|
+
|
329
|
+
### Parameters
|
330
|
+
|
331
|
+
None
|
332
|
+
|
333
|
+
|
334
|
+
---
|
335
|
+
|
336
|
+
<a name="delete-button"> </a>
|
337
|
+
## <delete-button>
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
### Attributes
|
342
|
+
|
343
|
+
* label
|
344
|
+
* update
|
345
|
+
* in-place
|
346
|
+
* image
|
347
|
+
* confirm
|
348
|
+
* fade
|
349
|
+
* subsite
|
350
|
+
|
351
|
+
|
352
|
+
### Parameters
|
353
|
+
|
354
|
+
None
|
355
|
+
|
356
|
+
|
357
|
+
---
|
358
|
+
|
359
|
+
<a name="create-button"> </a>
|
360
|
+
## <create-button>
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
### Attributes
|
365
|
+
|
366
|
+
* model
|
367
|
+
* update
|
368
|
+
* label
|
369
|
+
* fields
|
370
|
+
* message
|
371
|
+
|
372
|
+
|
373
|
+
### Parameters
|
374
|
+
|
375
|
+
None
|
376
|
+
|
377
|
+
|
378
|
+
---
|
379
|
+
|
380
|
+
<a name="select-one"> </a>
|
381
|
+
## <select-one>
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
### Attributes (merged with [<select>](#select))
|
386
|
+
|
387
|
+
* include-none
|
388
|
+
* blank-message
|
389
|
+
* options
|
390
|
+
* sort
|
391
|
+
|
392
|
+
|
393
|
+
### Parameters
|
394
|
+
|
395
|
+
None
|
396
|
+
|
397
|
+
|
398
|
+
---
|
399
|
+
|
400
|
+
<a name="name-one"> </a>
|
401
|
+
## <name-one>
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
### Attributes (merged with [<input>](#input))
|
406
|
+
|
407
|
+
* complete-target
|
408
|
+
* completer
|
409
|
+
|
410
|
+
|
411
|
+
### Parameters
|
412
|
+
|
413
|
+
None
|
414
|
+
|
415
|
+
|
416
|
+
---
|
417
|
+
|
418
|
+
<a name="sti-type-input"> </a>
|
419
|
+
## <sti-type-input>
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
### Attributes
|
424
|
+
|
425
|
+
None
|
426
|
+
|
427
|
+
### Parameters
|
428
|
+
|
429
|
+
None
|
430
|
+
|
431
|
+
|
432
|
+
---
|
433
|
+
|
434
|
+
<a name="select-input"> </a>
|
435
|
+
## <select-input>
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
### Attributes
|
440
|
+
|
441
|
+
None
|
442
|
+
|
443
|
+
### Parameters
|
444
|
+
|
445
|
+
<ul><li><default:> (<do>)
|
446
|
+
</li>
|
447
|
+
</ul>
|
448
|
+
|
449
|
+
|
450
|
+
---
|
451
|
+
|
452
|
+
<a name="error-messages"> </a>
|
453
|
+
## <error-messages>
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
### Attributes (merged with [<section>](#section))
|
458
|
+
|
459
|
+
None
|
460
|
+
|
461
|
+
### Parameters
|
462
|
+
|
463
|
+
<ul><li><heading:> (<h2>)
|
464
|
+
</li>
|
465
|
+
<li><errors.full_messages:>
|
466
|
+
<ul><li><li:>
|
467
|
+
</li>
|
468
|
+
</ul></li>
|
469
|
+
</ul>
|
470
|
+
|
471
|
+
|
472
|
+
---
|
473
|
+
|
474
|
+
<a name="select-many"> </a>
|
475
|
+
## <select-many>
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
### Attributes (merged with [<div>](#div))
|
480
|
+
|
481
|
+
* options
|
482
|
+
* targets
|
483
|
+
* remove-label
|
484
|
+
* prompt
|
485
|
+
|
486
|
+
|
487
|
+
### Parameters
|
488
|
+
|
489
|
+
<ul><li><proto-item:> (<div>)
|
490
|
+
<ul><li><proto-hidden:> (<input>)
|
491
|
+
</li>
|
492
|
+
<li><proto-remove-button:> (<input>)
|
493
|
+
</li>
|
494
|
+
</ul></li>
|
495
|
+
<li><item:> (<div>)
|
496
|
+
<ul><li><hidden:> (<input>)
|
497
|
+
</li>
|
498
|
+
<li><remove-button:> (<input>)
|
499
|
+
</li>
|
500
|
+
</ul></li>
|
501
|
+
</ul>
|
502
|
+
|
503
|
+
|
504
|
+
---
|
505
|
+
|
506
|
+
<a name="after-submit"> </a>
|
507
|
+
## <after-submit>
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
### Attributes
|
512
|
+
|
513
|
+
* uri
|
514
|
+
* stay-here
|
515
|
+
* go-back
|
516
|
+
|
517
|
+
|
518
|
+
### Parameters
|
519
|
+
|
520
|
+
None
|
521
|
+
|
522
|
+
|
523
|
+
---
|
524
|
+
|
525
|
+
<a name="hidden-field"> </a>
|
526
|
+
## <hidden-field>
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
### Attributes (merged with [<input>](#input))
|
531
|
+
|
532
|
+
* name
|
533
|
+
* value
|
534
|
+
|
535
|
+
|
536
|
+
### Parameters
|
537
|
+
|
538
|
+
None
|
539
|
+
|
540
|
+
|
541
|
+
---
|
542
|
+
|
543
|
+
<a name="select-menu"> </a>
|
544
|
+
## <select-menu>
|
545
|
+
|
546
|
+
|
547
|
+
|
548
|
+
### Attributes (merged with [<select>](#select))
|
549
|
+
|
550
|
+
* options
|
551
|
+
* selected
|
552
|
+
* first-option
|
553
|
+
* first-value
|
554
|
+
|
555
|
+
|
556
|
+
### Parameters
|
557
|
+
|
558
|
+
<ul><li><default:> (<select>)
|
559
|
+
<ul><li><options:> (<do>)
|
560
|
+
</li>
|
561
|
+
</ul></li>
|
562
|
+
</ul>
|