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.
- checksums.yaml +8 -8
- data/.yardoc/checksums +49 -46
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +69 -56
- data/README.md +156 -61
- data/doc/UiBibz/Concerns/Models/Searchable/ClassMethods.html +6 -6
- data/doc/UiBibz/Concerns/Models/Searchable.html +2 -2
- data/doc/UiBibz/Concerns/Models.html +115 -0
- data/doc/UiBibz/Concerns.html +115 -0
- data/doc/UiBibz/Helpers/MetaHelper.html +75 -9
- data/doc/UiBibz/Helpers/UiCoreHelper.html +120 -68
- data/doc/UiBibz/Helpers/UiUxHelper.html +2 -2
- data/doc/UiBibz/Helpers/UtilsHelper.html +2 -2
- data/doc/UiBibz/Helpers.html +115 -0
- data/doc/UiBibz/Rails/Engine.html +1 -1
- data/doc/UiBibz/Rails.html +1 -1
- data/doc/UiBibz/Ui/Base.html +2 -2
- data/doc/UiBibz/Ui/Core/Alert.html +26 -13
- data/doc/UiBibz/Ui/Core/Bar.html +26 -13
- data/doc/UiBibz/Ui/Core/Breadcrumb.html +32 -19
- data/doc/UiBibz/Ui/Core/BreadcrumbLink.html +26 -13
- data/doc/UiBibz/Ui/Core/Button.html +26 -13
- data/doc/UiBibz/Ui/Core/ButtonDropdown.html +31 -18
- data/doc/UiBibz/Ui/Core/ButtonGroup.html +26 -13
- data/doc/UiBibz/Ui/Core/ButtonLink.html +26 -13
- data/doc/UiBibz/Ui/Core/ButtonSplitDropdown.html +27 -14
- data/doc/UiBibz/Ui/Core/Col.html +26 -13
- data/doc/UiBibz/Ui/Core/Component.html +166 -225
- data/doc/UiBibz/Ui/Core/Dropdown.html +61 -410
- data/doc/UiBibz/Ui/Core/DropdownLink.html +373 -0
- data/doc/UiBibz/Ui/Core/DropdownList.html +26 -13
- data/doc/UiBibz/Ui/Core/Glyph.html +26 -386
- data/doc/UiBibz/Ui/Core/Jumbotron.html +26 -13
- data/doc/UiBibz/Ui/Core/Label.html +29 -15
- data/doc/UiBibz/Ui/Core/List.html +64 -25
- data/doc/UiBibz/Ui/Core/ListGroup.html +47 -21
- data/doc/UiBibz/Ui/Core/Nav.html +64 -25
- data/doc/UiBibz/Ui/Core/NavDropdown.html +29 -16
- data/doc/UiBibz/Ui/Core/NavLink.html +30 -15
- data/doc/UiBibz/Ui/Core/Navbar.html +154 -45
- data/doc/UiBibz/Ui/Core/NavbarForm.html +58 -38
- data/doc/UiBibz/Ui/Core/NavbarNav.html +7 -7
- data/doc/UiBibz/Ui/Core/NavbarText.html +26 -13
- data/doc/UiBibz/Ui/Core/Panel.html +38 -237
- data/doc/UiBibz/Ui/Core/ProgressBar.html +45 -19
- data/doc/UiBibz/Ui/Core/Row.html +26 -13
- data/doc/UiBibz/Ui/Core/Stars.html +367 -0
- data/doc/UiBibz/Ui/Core.html +16 -5
- data/doc/UiBibz/Ui/Ux/Actionable.html +1 -1
- data/doc/UiBibz/Ui/Ux/Actions.html +198 -14
- data/doc/UiBibz/Ui/Ux/Column.html +4 -4
- data/doc/UiBibz/Ui/Ux/Columns.html +42 -16
- data/doc/UiBibz/Ui/Ux/Grid.html +31 -371
- data/doc/UiBibz/Ui/Ux/Paginable.html +22 -9
- data/doc/UiBibz/Ui/Ux/Searchable.html +22 -9
- data/doc/UiBibz/Ui/Ux/Sortable.html +18 -7
- data/doc/UiBibz/Ui/Ux/Store.html +160 -56
- data/doc/UiBibz/Ui/Ux/Table.html +109 -374
- data/doc/UiBibz/Ui/Ux/TableAction.html +2 -2
- data/doc/UiBibz/Ui/Ux/TablePagination.html +33 -14
- data/doc/UiBibz/Ui/Ux/TablePaginationPerPage.html +30 -15
- data/doc/UiBibz/Ui/Ux/TablePanel.html +139 -43
- data/doc/UiBibz/Ui/Ux/TableSearchField.html +26 -13
- data/doc/UiBibz/Ui/Ux.html +15 -4
- data/doc/UiBibz/Ui.html +4 -2
- data/doc/UiBibz/Utils/Internationalization.html +1 -1
- data/doc/UiBibz/Utils.html +1 -1
- data/doc/UiBibz.html +5 -5
- data/doc/_index.html +50 -7
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +155 -63
- data/doc/images/stars.png +0 -0
- data/doc/index.html +155 -63
- data/doc/method_list.html +278 -398
- data/doc/top-level-namespace.html +1 -1
- data/lib/ui_bibz/concerns/models/searchable.rb +36 -13
- data/lib/ui_bibz/helpers/meta_helper.rb +22 -3
- data/lib/ui_bibz/helpers/ui_core_helper.rb +4 -0
- data/lib/ui_bibz/ui/core/alert.rb +2 -0
- data/lib/ui_bibz/ui/core/breadcrumb/breadcrumb.rb +3 -0
- data/lib/ui_bibz/ui/core/breadcrumb/components/breadcrumb_link.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button_dropdown.rb +6 -4
- data/lib/ui_bibz/ui/core/button/button_group.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button_link.rb +2 -0
- data/lib/ui_bibz/ui/core/button/button_split_dropdown.rb +2 -0
- data/lib/ui_bibz/ui/core/col.rb +2 -0
- data/lib/ui_bibz/ui/core/component.rb +23 -25
- data/lib/ui_bibz/ui/core/dropdown/components/dropdown_link.rb +57 -0
- data/lib/ui_bibz/ui/core/dropdown/components/dropdown_list.rb +2 -0
- data/lib/ui_bibz/ui/core/dropdown/dropdown.rb +22 -9
- data/lib/ui_bibz/ui/core/glyph.rb +10 -0
- data/lib/ui_bibz/ui/core/jumbotron.rb +2 -0
- data/lib/ui_bibz/ui/core/label.rb +3 -0
- data/lib/ui_bibz/ui/core/list/components/list.rb +4 -0
- data/lib/ui_bibz/ui/core/list/list_group.rb +4 -0
- data/lib/ui_bibz/ui/core/nav/components/nav_dropdown.rb +4 -2
- data/lib/ui_bibz/ui/core/nav/components/nav_link.rb +4 -1
- data/lib/ui_bibz/ui/core/nav/components/navbar_form.rb +39 -3
- data/lib/ui_bibz/ui/core/nav/components/navbar_nav.rb +1 -0
- data/lib/ui_bibz/ui/core/nav/components/navbar_text.rb +8 -0
- data/lib/ui_bibz/ui/core/nav/nav.rb +6 -0
- data/lib/ui_bibz/ui/core/nav/navbar.rb +31 -4
- data/lib/ui_bibz/ui/core/panel.rb +7 -5
- data/lib/ui_bibz/ui/core/progress_bar/components/bar.rb +2 -0
- data/lib/ui_bibz/ui/core/progress_bar/progress_bar.rb +4 -0
- data/lib/ui_bibz/ui/core/row.rb +2 -0
- data/lib/ui_bibz/ui/core/stars.rb +88 -0
- data/lib/ui_bibz/ui/ux/grid.rb +4 -0
- data/lib/ui_bibz/ui/ux/table/components/actions.rb +17 -2
- data/lib/ui_bibz/ui/ux/table/components/column.rb +2 -2
- data/lib/ui_bibz/ui/ux/table/components/columns.rb +4 -2
- data/lib/ui_bibz/ui/ux/table/components/store.rb +10 -1
- data/lib/ui_bibz/ui/ux/table/extensions/actionable.rb +3 -1
- data/lib/ui_bibz/ui/ux/table/extensions/paginable.rb +1 -0
- data/lib/ui_bibz/ui/ux/table/extensions/searchable.rb +1 -0
- data/lib/ui_bibz/ui/ux/table/extensions/sortable.rb +8 -2
- data/lib/ui_bibz/ui/ux/table/table.rb +19 -8
- data/lib/ui_bibz/ui/ux/table/table_pagination.rb +8 -1
- data/lib/ui_bibz/ui/ux/table/table_pagination_per_page.rb +10 -2
- data/lib/ui_bibz/ui/ux/table/table_panel.rb +28 -13
- data/lib/ui_bibz/ui/ux/table/table_search_field.rb +9 -1
- data/lib/ui_bibz/version.rb +1 -1
- data/lib/ui_bibz.rb +1 -0
- data/test/test_helper.rb +5 -0
- data/test/ui/dropdown_test.rb +4 -4
- data/test/ui/stars_test.rb +42 -0
- data/test/ui/table_test.rb +25 -6
- data/ui_bibz.gemspec +4 -1
- data/vendor/assets/fonts/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +640 -0
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/vendor/assets/javascripts/bootstrap-datepicker.min.js +8 -0
- data/vendor/assets/javascripts/bootstrap-select.min.js +8 -0
- data/vendor/assets/javascripts/bootstrap-switch.min.js +22 -0
- data/vendor/assets/javascripts/bootstrap.min.js +7 -0
- data/vendor/assets/javascripts/jquery-2.1.4.min.js +4 -0
- data/vendor/assets/javascripts/ui_bibz.js.coffee +8 -0
- data/vendor/assets/stylesheets/bootstrap-datepicker3.min.css +8 -0
- data/vendor/assets/stylesheets/bootstrap-select.min.css +6 -0
- data/vendor/assets/stylesheets/bootstrap-switch.min.css +22 -0
- data/vendor/assets/stylesheets/bootstrap-theme.min.css +5 -0
- data/vendor/assets/stylesheets/bootstrap.min.css +5 -0
- data/vendor/assets/stylesheets/font-awesome.min.css +4 -0
- data/vendor/assets/stylesheets/ui_bibz.sass +23 -0
- 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'>"</span><span class='tstring_content'>#</span><span class='tstring_end'>"</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'>"</span><span class='tstring_content'>#</span><span class='tstring_end'>"</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="#
|
207
|
+
<a href="#brand-instance_method" title="#brand (instance method)">- (Object) <strong>brand</strong>(content = nil, options = nil, html_options = nil, &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 = {}, &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>
|
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'
|
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'
|
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'
|
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#
|
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>
|
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
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
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
|
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'>&</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="
|
428
|
+
<h3 class="signature first" id="brand-instance_method">
|
394
429
|
|
395
|
-
- (<tt>Object</tt>) <strong>
|
430
|
+
- (<tt>Object</tt>) <strong>brand</strong>(content = nil, options = nil, html_options = nil, &block)
|
396
431
|
|
397
432
|
|
398
433
|
|
@@ -404,16 +439,57 @@ end</code></pre>
|
|
404
439
|
<pre class="lines">
|
405
440
|
|
406
441
|
|
407
|
-
|
408
|
-
|
409
|
-
|
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'>&</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'>&</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 = {}, &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
|
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
|
415
|
-
|
416
|
-
|
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'>&</span><span class='id identifier rubyid_block'>block</span>
|
491
|
+
<span class='ivar'>@items</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'>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'>&</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><
|
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
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
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
|
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'>&</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><
|
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
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
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
|
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><
|
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
|
-
|
510
|
-
|
511
|
-
|
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
|
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'>&</span><span class='id identifier rubyid_block'>block</span>
|
517
|
-
|
518
|
-
|
626
|
+
<span class='ivar'>@items</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'>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'>&</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
|
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="
|
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="
|
101
|
-
<dd class="
|
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
|
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>(
|
182
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (NavbarForm) <strong>initialize</strong>(model_or_url, options = {}, &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>
|
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'
|
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>(
|
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 = {}, &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>
|
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
|
-
|
279
|
-
|
280
|
-
|
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
|
284
|
-
|
285
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier
|
286
|
-
<span class='
|
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'>&</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'>&</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'>"</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'>"</span></span><span class='comma'>,</span> <span class='op'>&</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><
|
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
|
-
|
316
|
-
|
317
|
-
|
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
|
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
|
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>
|