ui_bibz 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +8 -8
  2. data/.yardoc/checksums +49 -46
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/Gemfile.lock +69 -56
  6. data/README.md +156 -61
  7. data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +6 -6
  8. data/doc/UiBibz/Concerns/Models/Searchable.html +2 -2
  9. data/doc/UiBibz/Concerns/Models.html +115 -0
  10. data/doc/UiBibz/Concerns.html +115 -0
  11. data/doc/UiBibz/Helpers/MetaHelper.html +75 -9
  12. data/doc/UiBibz/Helpers/UiCoreHelper.html +120 -68
  13. data/doc/UiBibz/Helpers/UiUxHelper.html +2 -2
  14. data/doc/UiBibz/Helpers/UtilsHelper.html +2 -2
  15. data/doc/UiBibz/Helpers.html +115 -0
  16. data/doc/UiBibz/Rails/Engine.html +1 -1
  17. data/doc/UiBibz/Rails.html +1 -1
  18. data/doc/UiBibz/Ui/Base.html +2 -2
  19. data/doc/UiBibz/Ui/Core/Alert.html +26 -13
  20. data/doc/UiBibz/Ui/Core/Bar.html +26 -13
  21. data/doc/UiBibz/Ui/Core/Breadcrumb.html +32 -19
  22. data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +26 -13
  23. data/doc/UiBibz/Ui/Core/Button.html +26 -13
  24. data/doc/UiBibz/Ui/Core/ButtonDropdown.html +31 -18
  25. data/doc/UiBibz/Ui/Core/ButtonGroup.html +26 -13
  26. data/doc/UiBibz/Ui/Core/ButtonLink.html +26 -13
  27. data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +27 -14
  28. data/doc/UiBibz/Ui/Core/Col.html +26 -13
  29. data/doc/UiBibz/Ui/Core/Component.html +166 -225
  30. data/doc/UiBibz/Ui/Core/Dropdown.html +61 -410
  31. data/doc/UiBibz/Ui/Core/DropdownLink.html +373 -0
  32. data/doc/UiBibz/Ui/Core/DropdownList.html +26 -13
  33. data/doc/UiBibz/Ui/Core/Glyph.html +26 -386
  34. data/doc/UiBibz/Ui/Core/Jumbotron.html +26 -13
  35. data/doc/UiBibz/Ui/Core/Label.html +29 -15
  36. data/doc/UiBibz/Ui/Core/List.html +64 -25
  37. data/doc/UiBibz/Ui/Core/ListGroup.html +47 -21
  38. data/doc/UiBibz/Ui/Core/Nav.html +64 -25
  39. data/doc/UiBibz/Ui/Core/NavDropdown.html +29 -16
  40. data/doc/UiBibz/Ui/Core/NavLink.html +30 -15
  41. data/doc/UiBibz/Ui/Core/Navbar.html +154 -45
  42. data/doc/UiBibz/Ui/Core/NavbarForm.html +58 -38
  43. data/doc/UiBibz/Ui/Core/NavbarNav.html +7 -7
  44. data/doc/UiBibz/Ui/Core/NavbarText.html +26 -13
  45. data/doc/UiBibz/Ui/Core/Panel.html +38 -237
  46. data/doc/UiBibz/Ui/Core/ProgressBar.html +45 -19
  47. data/doc/UiBibz/Ui/Core/Row.html +26 -13
  48. data/doc/UiBibz/Ui/Core/Stars.html +367 -0
  49. data/doc/UiBibz/Ui/Core.html +16 -5
  50. data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
  51. data/doc/UiBibz/Ui/Ux/Actions.html +198 -14
  52. data/doc/UiBibz/Ui/Ux/Column.html +4 -4
  53. data/doc/UiBibz/Ui/Ux/Columns.html +42 -16
  54. data/doc/UiBibz/Ui/Ux/Grid.html +31 -371
  55. data/doc/UiBibz/Ui/Ux/Paginable.html +22 -9
  56. data/doc/UiBibz/Ui/Ux/Searchable.html +22 -9
  57. data/doc/UiBibz/Ui/Ux/Sortable.html +18 -7
  58. data/doc/UiBibz/Ui/Ux/Store.html +160 -56
  59. data/doc/UiBibz/Ui/Ux/Table.html +109 -374
  60. data/doc/UiBibz/Ui/Ux/TableAction.html +2 -2
  61. data/doc/UiBibz/Ui/Ux/TablePagination.html +33 -14
  62. data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +30 -15
  63. data/doc/UiBibz/Ui/Ux/TablePanel.html +139 -43
  64. data/doc/UiBibz/Ui/Ux/TableSearchField.html +26 -13
  65. data/doc/UiBibz/Ui/Ux.html +15 -4
  66. data/doc/UiBibz/Ui.html +4 -2
  67. data/doc/UiBibz/Utils/Internationalization.html +1 -1
  68. data/doc/UiBibz/Utils.html +1 -1
  69. data/doc/UiBibz.html +5 -5
  70. data/doc/_index.html +50 -7
  71. data/doc/class_list.html +1 -1
  72. data/doc/file.README.html +155 -63
  73. data/doc/images/stars.png +0 -0
  74. data/doc/index.html +155 -63
  75. data/doc/method_list.html +278 -398
  76. data/doc/top-level-namespace.html +1 -1
  77. data/lib/ui_bibz/concerns/models/searchable.rb +36 -13
  78. data/lib/ui_bibz/helpers/meta_helper.rb +22 -3
  79. data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
  80. data/lib/ui_bibz/ui/core/alert.rb +2 -0
  81. data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +3 -0
  82. data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -0
  83. data/lib/ui_bibz/ui/core/button/button.rb +2 -0
  84. data/lib/ui_bibz/ui/core/button/button_dropdown.rb +6 -4
  85. data/lib/ui_bibz/ui/core/button/button_group.rb +2 -0
  86. data/lib/ui_bibz/ui/core/button/button_link.rb +2 -0
  87. data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +2 -0
  88. data/lib/ui_bibz/ui/core/col.rb +2 -0
  89. data/lib/ui_bibz/ui/core/component.rb +23 -25
  90. data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +57 -0
  91. data/lib/ui_bibz/ui/core/dropdown/components/dropdown_list.rb +2 -0
  92. data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +22 -9
  93. data/lib/ui_bibz/ui/core/glyph.rb +10 -0
  94. data/lib/ui_bibz/ui/core/jumbotron.rb +2 -0
  95. data/lib/ui_bibz/ui/core/label.rb +3 -0
  96. data/lib/ui_bibz/ui/core/list/components/list.rb +4 -0
  97. data/lib/ui_bibz/ui/core/list/list_group.rb +4 -0
  98. data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +4 -2
  99. data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +4 -1
  100. data/lib/ui_bibz/ui/core/nav/components/navbar_form.rb +39 -3
  101. data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -0
  102. data/lib/ui_bibz/ui/core/nav/components/navbar_text.rb +8 -0
  103. data/lib/ui_bibz/ui/core/nav/nav.rb +6 -0
  104. data/lib/ui_bibz/ui/core/nav/navbar.rb +31 -4
  105. data/lib/ui_bibz/ui/core/panel.rb +7 -5
  106. data/lib/ui_bibz/ui/core/progress_bar/components/bar.rb +2 -0
  107. data/lib/ui_bibz/ui/core/progress_bar/progress_bar.rb +4 -0
  108. data/lib/ui_bibz/ui/core/row.rb +2 -0
  109. data/lib/ui_bibz/ui/core/stars.rb +88 -0
  110. data/lib/ui_bibz/ui/ux/grid.rb +4 -0
  111. data/lib/ui_bibz/ui/ux/table/components/actions.rb +17 -2
  112. data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -2
  113. data/lib/ui_bibz/ui/ux/table/components/columns.rb +4 -2
  114. data/lib/ui_bibz/ui/ux/table/components/store.rb +10 -1
  115. data/lib/ui_bibz/ui/ux/table/extensions/actionable.rb +3 -1
  116. data/lib/ui_bibz/ui/ux/table/extensions/paginable.rb +1 -0
  117. data/lib/ui_bibz/ui/ux/table/extensions/searchable.rb +1 -0
  118. data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +8 -2
  119. data/lib/ui_bibz/ui/ux/table/table.rb +19 -8
  120. data/lib/ui_bibz/ui/ux/table/table_pagination.rb +8 -1
  121. data/lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb +10 -2
  122. data/lib/ui_bibz/ui/ux/table/table_panel.rb +28 -13
  123. data/lib/ui_bibz/ui/ux/table/table_search_field.rb +9 -1
  124. data/lib/ui_bibz/version.rb +1 -1
  125. data/lib/ui_bibz.rb +1 -0
  126. data/test/test_helper.rb +5 -0
  127. data/test/ui/dropdown_test.rb +4 -4
  128. data/test/ui/stars_test.rb +42 -0
  129. data/test/ui/table_test.rb +25 -6
  130. data/ui_bibz.gemspec +4 -1
  131. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  132. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  133. data/vendor/assets/fonts/fontawesome-webfont.svg +640 -0
  134. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  135. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  136. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  137. data/vendor/assets/javascripts/bootstrap-datepicker.min.js +8 -0
  138. data/vendor/assets/javascripts/bootstrap-select.min.js +8 -0
  139. data/vendor/assets/javascripts/bootstrap-switch.min.js +22 -0
  140. data/vendor/assets/javascripts/bootstrap.min.js +7 -0
  141. data/vendor/assets/javascripts/jquery-2.1.4.min.js +4 -0
  142. data/vendor/assets/javascripts/ui_bibz.js.coffee +8 -0
  143. data/vendor/assets/stylesheets/bootstrap-datepicker3.min.css +8 -0
  144. data/vendor/assets/stylesheets/bootstrap-select.min.css +6 -0
  145. data/vendor/assets/stylesheets/bootstrap-switch.min.css +22 -0
  146. data/vendor/assets/stylesheets/bootstrap-theme.min.css +5 -0
  147. data/vendor/assets/stylesheets/bootstrap.min.css +5 -0
  148. data/vendor/assets/stylesheets/font-awesome.min.css +4 -0
  149. data/vendor/assets/stylesheets/ui_bibz.sass +23 -0
  150. metadata +71 -2
@@ -152,6 +152,11 @@ end</code></pre>
152
152
  <span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Link 1</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>#</span><span class='tstring_end'>&quot;</span></span>
153
153
  <span class='id identifier rubyid_n'>n</span><span class='period'>.</span><span class='id identifier rubyid_link'>link</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Link 2</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>#</span><span class='tstring_end'>&quot;</span></span>
154
154
  <span class='kw'>end</span>
155
+ <span class='id identifier rubyid_nb'>nb</span><span class='period'>.</span><span class='id identifier rubyid_form'>form</span><span class='lparen'>(</span><span class='label'>url:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>search/</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='symbol'>:form_tag</span><span class='rparen'>)</span> <span class='kw'>do</span>
156
+ <span class='id identifier rubyid_text_field_tag'>text_field_tag</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>search</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>form-control</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>placeholder:</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Search</span><span class='tstring_end'>'</span></span> <span class='rbrace'>}</span>
157
+ <span class='id identifier rubyid_button'>button</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Submit</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='symbol'>:submit</span>
158
+ <span class='kw'>end</span>
159
+ <span class='id identifier rubyid_nb'>nb</span><span class='period'>.</span><span class='id identifier rubyid_text'>text</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>My text</span><span class='tstring_end'>'</span></span>
155
160
  <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span></code></pre>
156
161
 
157
162
  <h4>Helper</h4>
@@ -199,7 +204,7 @@ end</code></pre>
199
204
  <li class="public ">
200
205
  <span class="summary_signature">
201
206
 
202
- <a href="#form-instance_method" title="#form (instance method)">- (Object) <strong>form</strong>(content = nil, options = nil, html_options = nil, &amp;block) </a>
207
+ <a href="#brand-instance_method" title="#brand (instance method)">- (Object) <strong>brand</strong>(content = nil, options = nil, html_options = nil, &amp;block) </a>
203
208
 
204
209
 
205
210
 
@@ -215,6 +220,30 @@ end</code></pre>
215
220
 
216
221
  <span class="summary_desc"><div class='inline'></div></span>
217
222
 
223
+ </li>
224
+
225
+
226
+ <li class="public ">
227
+ <span class="summary_signature">
228
+
229
+ <a href="#form-instance_method" title="#form (instance method)">- (Object) <strong>form</strong>(model_or_url, options = {}, &amp;block) </a>
230
+
231
+
232
+
233
+ </span>
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+ <span class="summary_desc"><div class='inline'>
244
+ <p>Add navbar form items See UiBibz::Ui::Core::NavbarForm.</p>
245
+ </div></span>
246
+
218
247
  </li>
219
248
 
220
249
 
@@ -238,7 +267,7 @@ end</code></pre>
238
267
 
239
268
 
240
269
  <span class="summary_desc"><div class='inline'>
241
- <p>A new instance of Navbar.</p>
270
+ <p>See UiBibz::Ui::Core::Component.initialize.</p>
242
271
  </div></span>
243
272
 
244
273
  </li>
@@ -261,7 +290,9 @@ end</code></pre>
261
290
 
262
291
 
263
292
 
264
- <span class="summary_desc"><div class='inline'></div></span>
293
+ <span class="summary_desc"><div class='inline'>
294
+ <p>Add navbar nav items See UiBibz::Ui::Core::NavbarNav.</p>
295
+ </div></span>
265
296
 
266
297
  </li>
267
298
 
@@ -283,7 +314,9 @@ end</code></pre>
283
314
 
284
315
 
285
316
 
286
- <span class="summary_desc"><div class='inline'></div></span>
317
+ <span class="summary_desc"><div class='inline'>
318
+ <p>Render html tag.</p>
319
+ </div></span>
287
320
 
288
321
  </li>
289
322
 
@@ -305,7 +338,9 @@ end</code></pre>
305
338
 
306
339
 
307
340
 
308
- <span class="summary_desc"><div class='inline'></div></span>
341
+ <span class="summary_desc"><div class='inline'>
342
+ <p>Add navbar text items See UiBibz::Ui::Core::NavbarText.</p>
343
+ </div></span>
309
344
 
310
345
  </li>
311
346
 
@@ -323,7 +358,7 @@ end</code></pre>
323
358
 
324
359
 
325
360
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
326
- <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#options_in_html_options-instance_method" title="UiBibz::Ui::Core::Component#options_in_html_options (method)">#options_in_html_options</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span>, <span class='object_link'><a href="Component.html#states-instance_method" title="UiBibz::Ui::Core::Component#states (method)">#states</a></span>, <span class='object_link'><a href="Component.html#status-instance_method" title="UiBibz::Ui::Core::Component#status (method)">#status</a></span></p>
361
+ <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span></p>
327
362
 
328
363
 
329
364
 
@@ -351,7 +386,7 @@ end</code></pre>
351
386
  </h3><div class="docstring">
352
387
  <div class="discussion">
353
388
 
354
- <p>Returns a new instance of Navbar</p>
389
+ <p>See UiBibz::Ui::Core::Component.initialize</p>
355
390
 
356
391
 
357
392
  </div>
@@ -365,13 +400,13 @@ end</code></pre>
365
400
  <pre class="lines">
366
401
 
367
402
 
368
- 59
369
- 60
370
- 61
371
- 62</pre>
403
+ 67
404
+ 68
405
+ 69
406
+ 70</pre>
372
407
  </td>
373
408
  <td>
374
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 59</span>
409
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 67</span>
375
410
 
376
411
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
377
412
  <span class='kw'>super</span>
@@ -390,9 +425,9 @@ end</code></pre>
390
425
 
391
426
 
392
427
  <div class="method_details first">
393
- <h3 class="signature first" id="form-instance_method">
428
+ <h3 class="signature first" id="brand-instance_method">
394
429
 
395
- - (<tt>Object</tt>) <strong>form</strong>(content = nil, options = nil, html_options = nil, &amp;block)
430
+ - (<tt>Object</tt>) <strong>brand</strong>(content = nil, options = nil, html_options = nil, &amp;block)
396
431
 
397
432
 
398
433
 
@@ -404,16 +439,57 @@ end</code></pre>
404
439
  <pre class="lines">
405
440
 
406
441
 
407
- 78
408
- 79
409
- 80</pre>
442
+ 101
443
+ 102
444
+ 103</pre>
445
+ </td>
446
+ <td>
447
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 101</span>
448
+
449
+ <span class='kw'>def</span> <span class='id identifier rubyid_brand'>brand</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
450
+ <span class='ivar'>@brand</span> <span class='op'>=</span> <span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>Component</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
451
+ <span class='kw'>end</span></pre>
452
+ </td>
453
+ </tr>
454
+ </table>
455
+ </div>
456
+
457
+ <div class="method_details ">
458
+ <h3 class="signature " id="form-instance_method">
459
+
460
+ - (<tt>Object</tt>) <strong>form</strong>(model_or_url, options = {}, &amp;block)
461
+
462
+
463
+
464
+
465
+
466
+ </h3><div class="docstring">
467
+ <div class="discussion">
468
+
469
+ <p>Add navbar form items See UiBibz::Ui::Core::NavbarForm</p>
470
+
471
+
472
+ </div>
473
+ </div>
474
+ <div class="tags">
475
+
476
+
477
+ </div><table class="source_code">
478
+ <tr>
479
+ <td>
480
+ <pre class="lines">
481
+
482
+
483
+ 91
484
+ 92
485
+ 93</pre>
410
486
  </td>
411
487
  <td>
412
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 78</span>
488
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 91</span>
413
489
 
414
- <span class='kw'>def</span> <span class='id identifier rubyid_form'>form</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
415
- <span class='comment'># @items &lt;&lt; UiBibz::Ui::Core::Form.new(content, options, html_options).tap(&amp;block)
416
- </span><span class='kw'>end</span></pre>
490
+ <span class='kw'>def</span> <span class='id identifier rubyid_form'>form</span> <span class='id identifier rubyid_model_or_url'>model_or_url</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
491
+ <span class='ivar'>@items</span> <span class='op'>&lt;&lt;</span> <span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>NavbarForm</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_model_or_url'>model_or_url</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
492
+ <span class='kw'>end</span></pre>
417
493
  </td>
418
494
  </tr>
419
495
  </table>
@@ -428,19 +504,30 @@ end</code></pre>
428
504
 
429
505
 
430
506
 
431
- </h3><table class="source_code">
507
+ </h3><div class="docstring">
508
+ <div class="discussion">
509
+
510
+ <p>Add navbar nav items See UiBibz::Ui::Core::NavbarNav</p>
511
+
512
+
513
+ </div>
514
+ </div>
515
+ <div class="tags">
516
+
517
+
518
+ </div><table class="source_code">
432
519
  <tr>
433
520
  <td>
434
521
  <pre class="lines">
435
522
 
436
523
 
437
- 73
438
- 74
439
- 75
440
- 76</pre>
524
+ 84
525
+ 85
526
+ 86
527
+ 87</pre>
441
528
  </td>
442
529
  <td>
443
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 73</span>
530
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 84</span>
444
531
 
445
532
  <span class='kw'>def</span> <span class='id identifier rubyid_nav'>nav</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
446
533
  <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>||</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
@@ -460,23 +547,34 @@ end</code></pre>
460
547
 
461
548
 
462
549
 
463
- </h3><table class="source_code">
550
+ </h3><div class="docstring">
551
+ <div class="discussion">
552
+
553
+ <p>Render html tag</p>
554
+
555
+
556
+ </div>
557
+ </div>
558
+ <div class="tags">
559
+
560
+
561
+ </div><table class="source_code">
464
562
  <tr>
465
563
  <td>
466
564
  <pre class="lines">
467
565
 
468
566
 
469
- 64
470
- 65
471
- 66
472
- 67
473
- 68
474
- 69
475
- 70
476
- 71</pre>
567
+ 73
568
+ 74
569
+ 75
570
+ 76
571
+ 77
572
+ 78
573
+ 79
574
+ 80</pre>
477
575
  </td>
478
576
  <td>
479
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 64</span>
577
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 73</span>
480
578
 
481
579
  <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
482
580
  <span class='id identifier rubyid_content_tag'>content_tag</span> <span class='symbol'>:nav</span><span class='comma'>,</span> <span class='id identifier rubyid_class_and_html_options'>class_and_html_options</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>navbar</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_position'>position</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>do</span>
@@ -500,22 +598,33 @@ end</code></pre>
500
598
 
501
599
 
502
600
 
503
- </h3><table class="source_code">
601
+ </h3><div class="docstring">
602
+ <div class="discussion">
603
+
604
+ <p>Add navbar text items See UiBibz::Ui::Core::NavbarText</p>
605
+
606
+
607
+ </div>
608
+ </div>
609
+ <div class="tags">
610
+
611
+
612
+ </div><table class="source_code">
504
613
  <tr>
505
614
  <td>
506
615
  <pre class="lines">
507
616
 
508
617
 
509
- 82
510
- 83
511
- 84</pre>
618
+ 97
619
+ 98
620
+ 99</pre>
512
621
  </td>
513
622
  <td>
514
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 82</span>
623
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/navbar.rb', line 97</span>
515
624
 
516
625
  <span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
517
- <span class='comment'># @items &lt;&lt; UiBibz::Ui::Core::Text.new(content, options, html_options).tap(&amp;block)
518
- </span><span class='kw'>end</span></pre>
626
+ <span class='ivar'>@items</span> <span class='op'>&lt;&lt;</span> <span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>NavbarText</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
627
+ <span class='kw'>end</span></pre>
519
628
  </td>
520
629
  </tr>
521
630
  </table>
@@ -526,7 +635,7 @@ end</code></pre>
526
635
  </div>
527
636
 
528
637
  <div id="footer">
529
- Generated on Wed Jul 8 15:00:17 2015 by
638
+ Generated on Mon Aug 31 14:08:53 2015 by
530
639
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
531
640
  0.8.7.6 (ruby-1.9.3).
532
641
  </div>
@@ -73,15 +73,13 @@
73
73
 
74
74
  <dt class="r1">Inherits:</dt>
75
75
  <dd class="r1">
76
- <span class="inheritName"><span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></span>
76
+ <span class="inheritName"><span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></span>
77
77
 
78
78
  <ul class="fullTree">
79
79
  <li>Object</li>
80
80
 
81
81
  <li class="next"><span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></li>
82
82
 
83
- <li class="next"><span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></li>
84
-
85
83
  <li class="next">UiBibz::Ui::Core::NavbarForm</li>
86
84
 
87
85
  </ul>
@@ -94,11 +92,15 @@
94
92
 
95
93
 
96
94
 
95
+ <dt class="r2">Includes:</dt>
96
+ <dd class="r2">ActionView::Helpers, Haml::Helpers</dd>
97
+
98
+
97
99
 
98
100
 
99
101
 
100
- <dt class="r2 last">Defined in:</dt>
101
- <dd class="r2 last">lib/ui_bibz/ui/core/nav/components/navbar_form.rb</dd>
102
+ <dt class="r1 last">Defined in:</dt>
103
+ <dd class="r1 last">lib/ui_bibz/ui/core/nav/components/navbar_form.rb</dd>
102
104
 
103
105
  </dl>
104
106
  <div class="clear"></div>
@@ -125,7 +127,9 @@ Rails</p>
125
127
  <p>You can add HTML attributes using the <tt>html_options</tt>. You can pass
126
128
  arguments in options attribute:</p>
127
129
 
128
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_http'>http</span><span class='symbol'>:/</span><span class='op'>/</span><span class='id identifier rubyid_api'>api</span><span class='period'>.</span><span class='id identifier rubyid_rubyonrails'>rubyonrails</span><span class='period'>.</span><span class='id identifier rubyid_org'>org</span><span class='op'>/</span><span class='id identifier rubyid_classes'>classes</span><span class='op'>/</span><span class='const'>ActionView</span><span class='op'>/</span><span class='const'>Helpers</span><span class='op'>/</span><span class='const'>FormHelper</span><span class='period'>.</span><span class='id identifier rubyid_html'>html</span><span class='comment'>#method-i-form_for</span></code></pre>
130
+ <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_http'>http</span><span class='symbol'>:/</span><span class='op'>/</span><span class='id identifier rubyid_api'>api</span><span class='period'>.</span><span class='id identifier rubyid_rubyonrails'>rubyonrails</span><span class='period'>.</span><span class='id identifier rubyid_org'>org</span><span class='op'>/</span><span class='id identifier rubyid_classes'>classes</span><span class='op'>/</span><span class='const'>ActionView</span><span class='op'>/</span><span class='const'>Helpers</span><span class='op'>/</span><span class='const'>FormHelper</span><span class='period'>.</span><span class='id identifier rubyid_html'>html</span><span class='comment'>#method-i-form_for
131
+ </span><span class='comment'># and
132
+ </span><span class='id identifier rubyid_http'>http</span><span class='symbol'>:/</span><span class='op'>/</span><span class='id identifier rubyid_api'>api</span><span class='period'>.</span><span class='id identifier rubyid_rubyonrails'>rubyonrails</span><span class='period'>.</span><span class='id identifier rubyid_org'>org</span><span class='op'>/</span><span class='id identifier rubyid_classes'>classes</span><span class='op'>/</span><span class='const'>ActionView</span><span class='op'>/</span><span class='const'>Helpers</span><span class='op'>/</span><span class='const'>FormTagHelper</span><span class='period'>.</span><span class='id identifier rubyid_html'>html</span><span class='comment'>#method-i-form_tag</span></code></pre>
129
133
 
130
134
  <h4>Signatures</h4>
131
135
 
@@ -139,6 +143,11 @@ arguments in options attribute:</p>
139
143
  <pre class="code ruby"><code class="ruby"><span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>NavbarForm</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='label'>position:</span> <span class='symbol'>:right</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span>
140
144
  <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_text_field'>text_field</span> <span class='symbol'>:field</span>
141
145
  <span class='id identifier rubyid_f'>f</span><span class='period'>.</span><span class='id identifier rubyid_submit'>submit</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Submit</span><span class='tstring_end'>'</span></span>
146
+ <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span>
147
+
148
+ <span class='const'>UiBibz</span><span class='op'>::</span><span class='const'>Ui</span><span class='op'>::</span><span class='const'>Core</span><span class='op'>::</span><span class='const'>NavbarForm</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/search</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='label'>type:</span> <span class='symbol'>:form_tag</span><span class='rparen'>)</span> <span class='kw'>do</span>
149
+ <span class='id identifier rubyid_text_field_tag'>text_field_tag</span> <span class='symbol'>:field</span>
150
+ <span class='id identifier rubyid_submit_tag'>submit_tag</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Submit</span><span class='tstring_end'>'</span></span>
142
151
  <span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_render'>render</span></code></pre>
143
152
 
144
153
 
@@ -155,11 +164,6 @@ arguments in options attribute:</p>
155
164
 
156
165
  <h2>Instance Attribute Summary</h2>
157
166
 
158
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
159
- <p class="inherited"><span class='object_link'><a href="Component.html#content-instance_method" title="UiBibz::Ui::Core::Component#content (method)">#content</a></span>, <span class='object_link'><a href="Component.html#html_options-instance_method" title="UiBibz::Ui::Core::Component#html_options (method)">#html_options</a></span>, <span class='object_link'><a href="Component.html#options-instance_method" title="UiBibz::Ui::Core::Component#options (method)">#options</a></span></p>
160
-
161
-
162
-
163
167
  <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
164
168
  <p class="inherited"><span class='object_link'><a href="../Base.html#output_buffer-instance_method" title="UiBibz::Ui::Base#output_buffer (method)">#output_buffer</a></span></p>
165
169
 
@@ -175,7 +179,7 @@ arguments in options attribute:</p>
175
179
  <li class="public ">
176
180
  <span class="summary_signature">
177
181
 
178
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (NavbarForm) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &amp;block) </a>
182
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (NavbarForm) <strong>initialize</strong>(model_or_url, options = {}, &amp;block) </a>
179
183
 
180
184
 
181
185
 
@@ -192,7 +196,7 @@ arguments in options attribute:</p>
192
196
 
193
197
 
194
198
  <span class="summary_desc"><div class='inline'>
195
- <p>A new instance of NavbarForm.</p>
199
+ <p>See UiBibz::Ui::Core::Component.initialize.</p>
196
200
  </div></span>
197
201
 
198
202
  </li>
@@ -215,7 +219,9 @@ arguments in options attribute:</p>
215
219
 
216
220
 
217
221
 
218
- <span class="summary_desc"><div class='inline'></div></span>
222
+ <span class="summary_desc"><div class='inline'>
223
+ <p>Render html tag.</p>
224
+ </div></span>
219
225
 
220
226
  </li>
221
227
 
@@ -232,15 +238,6 @@ arguments in options attribute:</p>
232
238
 
233
239
 
234
240
 
235
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Component.html" title="UiBibz::Ui::Core::Component (class)">Component</a></span></h3>
236
- <p class="inherited"><span class='object_link'><a href="Component.html#add_classes-instance_method" title="UiBibz::Ui::Core::Component#add_classes (method)">#add_classes</a></span>, <span class='object_link'><a href="Component.html#badge_html-instance_method" title="UiBibz::Ui::Core::Component#badge_html (method)">#badge_html</a></span>, <span class='object_link'><a href="Component.html#class_and_html_options-instance_method" title="UiBibz::Ui::Core::Component#class_and_html_options (method)">#class_and_html_options</a></span>, <span class='object_link'><a href="Component.html#glyph-instance_method" title="UiBibz::Ui::Core::Component#glyph (method)">#glyph</a></span>, <span class='object_link'><a href="Component.html#glyph_and_content_html-instance_method" title="UiBibz::Ui::Core::Component#glyph_and_content_html (method)">#glyph_and_content_html</a></span>, <span class='object_link'><a href="Component.html#glyph_with_space-instance_method" title="UiBibz::Ui::Core::Component#glyph_with_space (method)">#glyph_with_space</a></span>, <span class='object_link'><a href="Component.html#options_in_html_options-instance_method" title="UiBibz::Ui::Core::Component#options_in_html_options (method)">#options_in_html_options</a></span>, <span class='object_link'><a href="Component.html#state-instance_method" title="UiBibz::Ui::Core::Component#state (method)">#state</a></span>, <span class='object_link'><a href="Component.html#states-instance_method" title="UiBibz::Ui::Core::Component#states (method)">#states</a></span>, <span class='object_link'><a href="Component.html#status-instance_method" title="UiBibz::Ui::Core::Component#status (method)">#status</a></span></p>
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
241
 
245
242
 
246
243
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Base.html" title="UiBibz::Ui::Base (class)">Base</a></span></h3>
@@ -252,7 +249,7 @@ arguments in options attribute:</p>
252
249
  <div class="method_details first">
253
250
  <h3 class="signature first" id="initialize-instance_method">
254
251
 
255
- - (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::NavbarForm (class)">NavbarForm</a></span></tt>) <strong>initialize</strong>(content = nil, options = nil, html_options = nil, &amp;block)
252
+ - (<tt><span class='object_link'><a href="" title="UiBibz::Ui::Core::NavbarForm (class)">NavbarForm</a></span></tt>) <strong>initialize</strong>(model_or_url, options = {}, &amp;block)
256
253
 
257
254
 
258
255
 
@@ -261,7 +258,7 @@ arguments in options attribute:</p>
261
258
  </h3><div class="docstring">
262
259
  <div class="discussion">
263
260
 
264
- <p>Returns a new instance of NavbarForm</p>
261
+ <p>See UiBibz::Ui::Core::Component.initialize</p>
265
262
 
266
263
 
267
264
  </div>
@@ -275,15 +272,27 @@ arguments in options attribute:</p>
275
272
  <pre class="lines">
276
273
 
277
274
 
278
- 36
279
- 37
280
- 38</pre>
275
+ 47
276
+ 48
277
+ 49
278
+ 50
279
+ 51
280
+ 52
281
+ 53
282
+ 54
283
+ 55</pre>
281
284
  </td>
282
285
  <td>
283
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_form.rb', line 36</span>
284
-
285
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_content'>content</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
286
- <span class='ivar'>@form</span> <span class='op'>=</span> <span class='id identifier rubyid_form_for'>form_for</span><span class='lparen'>(</span><span class='id identifier rubyid_content'>content</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='id identifier rubyid_html_options'>html_options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
286
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_form.rb', line 47</span>
287
+
288
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_model_or_url'>model_or_url</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span>
289
+ <span class='id identifier rubyid_init_haml_helpers'>init_haml_helpers</span>
290
+ <span class='ivar'>@options</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span>
291
+ <span class='kw'>if</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='symbol'>:form_for</span>
292
+ <span class='ivar'>@form</span> <span class='op'>=</span> <span class='id identifier rubyid_form_for'>form_for</span><span class='lparen'>(</span><span class='id identifier rubyid_model_or_url'>model_or_url</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
293
+ <span class='kw'>else</span>
294
+ <span class='ivar'>@form</span> <span class='op'>=</span> <span class='id identifier rubyid_form_tag'>form_tag</span><span class='lparen'>(</span><span class='id identifier rubyid_model_or_url'>model_or_url</span><span class='comma'>,</span> <span class='label'>class:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>navbar-form </span><span class='embexpr_beg'>#{</span> <span class='id identifier rubyid_position'>position</span> <span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
295
+ <span class='kw'>end</span>
287
296
  <span class='kw'>end</span></pre>
288
297
  </td>
289
298
  </tr>
@@ -306,18 +315,29 @@ arguments in options attribute:</p>
306
315
 
307
316
 
308
317
 
309
- </h3><table class="source_code">
318
+ </h3><div class="docstring">
319
+ <div class="discussion">
320
+
321
+ <p>Render html tag</p>
322
+
323
+
324
+ </div>
325
+ </div>
326
+ <div class="tags">
327
+
328
+
329
+ </div><table class="source_code">
310
330
  <tr>
311
331
  <td>
312
332
  <pre class="lines">
313
333
 
314
334
 
315
- 40
316
- 41
317
- 42</pre>
335
+ 58
336
+ 59
337
+ 60</pre>
318
338
  </td>
319
339
  <td>
320
- <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_form.rb', line 40</span>
340
+ <pre class="code"><span class="info file"># File 'lib/ui_bibz/ui/core/nav/components/navbar_form.rb', line 58</span>
321
341
 
322
342
  <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
323
343
  <span class='ivar'>@form</span>
@@ -332,7 +352,7 @@ arguments in options attribute:</p>
332
352
  </div>
333
353
 
334
354
  <div id="footer">
335
- Generated on Wed Jul 8 15:00:18 2015 by
355
+ Generated on Mon Aug 31 14:08:55 2015 by
336
356
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
337
357
  0.8.7.6 (ruby-1.9.3).
338
358
  </div>