jqmobile_helpers 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +13 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +6 -0
- data/Rakefile +29 -0
- data/lib/jqmobile_helpers.rb +1 -0
- data/lib/jqmobile_helpers/action_view_extensions/form_helper.rb +54 -0
- data/lib/jqmobile_helpers/buttons_helper.rb +639 -0
- data/lib/jqmobile_helpers/form_builder.rb +301 -0
- data/lib/jqmobile_helpers/list_views_helper.rb +326 -0
- data/lib/jqmobile_helpers/railtie.rb +23 -0
- data/lib/jqmobile_helpers/toolbars_helper.rb +115 -0
- data/rdoc/JqmobileHelpers.html +185 -0
- data/rdoc/JqmobileHelpers/ActionViewExtensions.html +160 -0
- data/rdoc/JqmobileHelpers/ActionViewExtensions/FormHelper.html +231 -0
- data/rdoc/JqmobileHelpers/ButtonsHelper.html +1502 -0
- data/rdoc/JqmobileHelpers/FormBuilder.html +816 -0
- data/rdoc/JqmobileHelpers/ListViewsHelper.html +952 -0
- data/rdoc/JqmobileHelpers/Railtie.html +177 -0
- data/rdoc/JqmobileHelpers/ToolbarsHelper.html +416 -0
- data/rdoc/README_rdoc.html +109 -0
- data/rdoc/created.rid +9 -0
- data/rdoc/index.html +180 -0
- data/rdoc/js/darkfish.js +116 -0
- data/rdoc/js/jquery.js +32 -0
- data/rdoc/js/quicksearch.js +114 -0
- data/rdoc/js/thickbox-compressed.js +10 -0
- data/rdoc/lib/jqmobile_helpers/action_view_extensions/form_helper_rb.html +52 -0
- data/rdoc/lib/jqmobile_helpers/buttons_helper_rb.html +52 -0
- data/rdoc/lib/jqmobile_helpers/form_builder_rb.html +52 -0
- data/rdoc/lib/jqmobile_helpers/list_views_helper_rb.html +52 -0
- data/rdoc/lib/jqmobile_helpers/railtie_rb.html +62 -0
- data/rdoc/lib/jqmobile_helpers/toolbars_helper_rb.html +52 -0
- data/rdoc/lib/jqmobile_helpers_rb.html +54 -0
- data/rdoc/rdoc.css +706 -0
- data/test/buttons_helper_test.rb +112 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/buttons_controller.rb +9 -0
- data/test/dummy/app/controllers/forms_controller.rb +71 -0
- data/test/dummy/app/controllers/posts_controller.rb +83 -0
- data/test/dummy/app/controllers/toolbars_controller.rb +16 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/posts_helper.rb +2 -0
- data/test/dummy/app/helpers/toolbars_helper.rb +2 -0
- data/test/dummy/app/models/post.rb +2 -0
- data/test/dummy/app/models/toolbar.rb +2 -0
- data/test/dummy/app/views/buttons/index.html.erb +168 -0
- data/test/dummy/app/views/forms/_form.html.erb +20 -0
- data/test/dummy/app/views/forms/edit.html.erb +6 -0
- data/test/dummy/app/views/forms/index.html.erb +7 -0
- data/test/dummy/app/views/forms/new.html.erb +5 -0
- data/test/dummy/app/views/forms/show.html.erb +24 -0
- data/test/dummy/app/views/layouts/application.html.erb +49 -0
- data/test/dummy/app/views/posts/_form.html.erb +29 -0
- data/test/dummy/app/views/posts/edit.html.erb +6 -0
- data/test/dummy/app/views/posts/index.html.erb +128 -0
- data/test/dummy/app/views/posts/new.html.erb +5 -0
- data/test/dummy/app/views/posts/show.html.erb +24 -0
- data/test/dummy/app/views/toolbars/index.html.erb +25 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +45 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +22 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +26 -0
- data/test/dummy/config/environments/production.rb +49 -0
- data/test/dummy/config/environments/test.rb +35 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +69 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20110218095442_create_posts.rb +15 -0
- data/test/dummy/db/migrate/20110223031713_create_toolbars.rb +12 -0
- data/test/dummy/db/schema.rb +29 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +7446 -0
- data/test/dummy/log/production.log +0 -0
- data/test/dummy/log/server.log +0 -0
- data/test/dummy/log/test.log +2278 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/images/ajax-loader.png +0 -0
- data/test/dummy/public/images/form-check-off.png +0 -0
- data/test/dummy/public/images/form-check-on.png +0 -0
- data/test/dummy/public/images/form-radio-off.png +0 -0
- data/test/dummy/public/images/form-radio-on.png +0 -0
- data/test/dummy/public/images/icon-search-black.png +0 -0
- data/test/dummy/public/images/icons-18-black.png +0 -0
- data/test/dummy/public/images/icons-18-white.png +0 -0
- data/test/dummy/public/images/icons-36-black.png +0 -0
- data/test/dummy/public/images/icons-36-white.png +0 -0
- data/test/dummy/public/javascripts/application.js +2 -0
- data/test/dummy/public/javascripts/jquery-1.5.min.js +8176 -0
- data/test/dummy/public/javascripts/jquery-ui-1.8.9.custom.min.js +781 -0
- data/test/dummy/public/javascripts/jquery.mobile-1.0a3.min.js +121 -0
- data/test/dummy/public/javascripts/rails.js +175 -0
- data/test/dummy/public/stylesheets/images/ajax-loader.png +0 -0
- data/test/dummy/public/stylesheets/images/form-check-off.png +0 -0
- data/test/dummy/public/stylesheets/images/form-check-on.png +0 -0
- data/test/dummy/public/stylesheets/images/form-radio-off.png +0 -0
- data/test/dummy/public/stylesheets/images/form-radio-on.png +0 -0
- data/test/dummy/public/stylesheets/images/icon-search-black.png +0 -0
- data/test/dummy/public/stylesheets/images/icons-18-black.png +0 -0
- data/test/dummy/public/stylesheets/images/icons-18-white.png +0 -0
- data/test/dummy/public/stylesheets/images/icons-36-black.png +0 -0
- data/test/dummy/public/stylesheets/images/icons-36-white.png +0 -0
- data/test/dummy/public/stylesheets/jquery-ui-1.8.9.custom.css +573 -0
- data/test/dummy/public/stylesheets/jquery.mobile-1.0a3.min.css +16 -0
- data/test/dummy/public/stylesheets/scaffold.css +56 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- data/test/form_helper_test.rb +13 -0
- data/test/integration/navigation_test.rb +7 -0
- data/test/list_views_helper_test.rb +65 -0
- data/test/support/integration_case.rb +5 -0
- data/test/support/misc_helpers.rb +18 -0
- data/test/support/mock_controller.rb +15 -0
- data/test/support/mock_response.rb +14 -0
- data/test/support/models.rb +135 -0
- data/test/test_helper.rb +92 -0
- data/test/toolbars_helper_test.rb +21 -0
- metadata +182 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
module JqmobileHelpers
|
2
|
+
class Railtie < Rails::Railtie
|
3
|
+
initializer 'jqmobile_helpers.initialize' do
|
4
|
+
ActiveSupport.on_load(:action_view) do
|
5
|
+
require 'jqmobile_helpers/list_views_helper'
|
6
|
+
require 'jqmobile_helpers/toolbars_helper'
|
7
|
+
require 'jqmobile_helpers/buttons_helper'
|
8
|
+
require 'jqmobile_helpers/action_view_extensions/form_helper'
|
9
|
+
require 'jqmobile_helpers/form_builder'
|
10
|
+
|
11
|
+
include JqmobileHelpers::ListViewsHelper
|
12
|
+
include JqmobileHelpers::ToolbarsHelper
|
13
|
+
include JqmobileHelpers::ButtonsHelper
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
config.before_initialize do
|
18
|
+
# To set custom FormBuilder as default
|
19
|
+
#config.action_view.default_form_builder = JqmobileHelper::FormBuilder
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,115 @@
|
|
1
|
+
module JqmobileHelpers
|
2
|
+
# = JqmobileHelpers List View Helpers
|
3
|
+
# Provides a set of methods for making toolbars views
|
4
|
+
# for jquery-mobile markup
|
5
|
+
module ToolbarsHelper
|
6
|
+
|
7
|
+
|
8
|
+
# Header Bar Title
|
9
|
+
#
|
10
|
+
# === Examples
|
11
|
+
#
|
12
|
+
# => <%= header_toolbar_title('Put Title Here') %>
|
13
|
+
# => <h1>Page Title</h1>
|
14
|
+
#
|
15
|
+
|
16
|
+
def header_toolbar_title(title)
|
17
|
+
content_tag(:h1, title)
|
18
|
+
end
|
19
|
+
|
20
|
+
# Header Bar Link
|
21
|
+
#
|
22
|
+
# ---Options ---
|
23
|
+
# => '- data-direction = "reverse" ## reverse transition without actually going back in history
|
24
|
+
# => - data-icon [delete,check,home,gear]
|
25
|
+
# => - data-iconpos [text,notext] ## if use notext, link only show icon
|
26
|
+
# => - class
|
27
|
+
# => - data-theme ## default 'a'
|
28
|
+
#
|
29
|
+
# === Examples
|
30
|
+
#
|
31
|
+
# => <a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
|
32
|
+
|
33
|
+
def header_toolbar_link(link_name,path,options = {})
|
34
|
+
html_options = options.stringify_keys!
|
35
|
+
default_options = {'href' => "#{path}", 'data-direction' => "reverse"}
|
36
|
+
|
37
|
+
if html_options.has_key?('data-iconpos')
|
38
|
+
default_options = default_options.merge({'data-iconpos' => html_options['data-iconpos']})
|
39
|
+
end
|
40
|
+
|
41
|
+
if html_options.has_key?('data-icon')
|
42
|
+
default_options = default_options.merge({'data-icon' => html_options['data-icon']})
|
43
|
+
end
|
44
|
+
|
45
|
+
if html_options.has_key?('data-theme')
|
46
|
+
default_options = default_options.merge({'data-theme' => html_options['data-theme']})
|
47
|
+
end
|
48
|
+
|
49
|
+
content_tag(:a, "#{link_name}",default_options)
|
50
|
+
end
|
51
|
+
|
52
|
+
# navigation bar container
|
53
|
+
#
|
54
|
+
# A navbar is coded as an unordered list of links wrapped in a container element that has the data-role="navbar" attribute
|
55
|
+
# To set one of links to the active (selected) state, add class="ui-btn-active" to the anchor
|
56
|
+
# The navbar maxes out with 5 items, each 1/5 the width of the browser window
|
57
|
+
# Navbar can be in the header/footer.just add the navbar container inside header/footer container
|
58
|
+
#
|
59
|
+
# *** Options ***
|
60
|
+
# => data-role = 'navbar' (to specify the contanier as navbar)
|
61
|
+
#
|
62
|
+
# Example :
|
63
|
+
# <div data-role="navbar">
|
64
|
+
# <ul>
|
65
|
+
# <li><a href="a.html" class="ui-btn-active">One</a></li>
|
66
|
+
# <li><a href="b.html">Two</a></li>
|
67
|
+
# </ul>
|
68
|
+
# </div><!-- /navbar -->
|
69
|
+
# Usage :
|
70
|
+
# navbar_link(collection) ** this method is to create the link inside the navbar container
|
71
|
+
# <%= navbar_bar([navbar_link('saya',root_path,{'data-icon' => 'gear'}),navbar_link('saya',root_path,{'data-icon' => 'gear'}),navbar_link('dia',toolbars_path,{'data-icon' => 'home'}), navbar_link('kami',toolbars_path,{'data-icon' => 'plus'})]) %>
|
72
|
+
|
73
|
+
|
74
|
+
def navbar_bar(collection)
|
75
|
+
listing = collection.map {|item| content_tag("li",item)}
|
76
|
+
content_tag("div",content_tag(:ul, listing.join.html_safe), {'data-role' => 'navbar'})
|
77
|
+
end
|
78
|
+
|
79
|
+
# link inside the navbar
|
80
|
+
# *** Options ***
|
81
|
+
# => data-icon (to add icon to navbar items)
|
82
|
+
# => data-iconpos="top" (to stack icon above the navbar items label)
|
83
|
+
# => data-theme (set theming for navbar)
|
84
|
+
# Example
|
85
|
+
# # => <a href="a.html" class="ui-btn-active" 'data-icon'="gear">One</a>
|
86
|
+
# Usage :
|
87
|
+
# => navbar_link('saya',root_path,{'data-icon' => 'gear'})
|
88
|
+
|
89
|
+
|
90
|
+
def navbar_link(name,link, options ={})
|
91
|
+
html_options = options.stringify_keys!
|
92
|
+
default_options = {}
|
93
|
+
|
94
|
+
if html_options.has_key?('data-icon')
|
95
|
+
default_options = default_options.merge({'data-icon' => html_options['data-icon']})
|
96
|
+
end
|
97
|
+
|
98
|
+
if html_options.has_key?('data-iconpos')
|
99
|
+
default_options = default_options.merge({'data-iconpos' => html_options['data-iconpos']})
|
100
|
+
end
|
101
|
+
|
102
|
+
if html_options.has_key?('data-theme')
|
103
|
+
default_options = default_options.merge({'data-theme' => html_options['data-theme']})
|
104
|
+
end
|
105
|
+
|
106
|
+
if html_options.has_key?('class')
|
107
|
+
default_options = default_options.merge({'class' => html_options['class']})
|
108
|
+
end
|
109
|
+
|
110
|
+
content_tag('a',name, {'href' => "#{link}"}.merge(default_options))
|
111
|
+
end
|
112
|
+
|
113
|
+
|
114
|
+
end
|
115
|
+
end
|
@@ -0,0 +1,185 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Module: JqmobileHelpers</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript"
|
13
|
+
charset="utf-8"></script>
|
14
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
15
|
+
charset="utf-8"></script>
|
16
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
17
|
+
charset="utf-8"></script>
|
18
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
19
|
+
charset="utf-8"></script>
|
20
|
+
|
21
|
+
</head>
|
22
|
+
<body class="module">
|
23
|
+
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="file-metadata">
|
36
|
+
<div id="file-list-section" class="section">
|
37
|
+
<h3 class="section-header">In Files</h3>
|
38
|
+
<div class="section-body">
|
39
|
+
<ul>
|
40
|
+
|
41
|
+
<li><a href="./lib/jqmobile_helpers/action_view_extensions/form_helper_rb.html?TB_iframe=true&height=550&width=785"
|
42
|
+
class="thickbox" title="lib/jqmobile_helpers/action_view_extensions/form_helper.rb">lib/jqmobile_helpers/action_view_extensions/form_helper.rb</a></li>
|
43
|
+
|
44
|
+
<li><a href="./lib/jqmobile_helpers/buttons_helper_rb.html?TB_iframe=true&height=550&width=785"
|
45
|
+
class="thickbox" title="lib/jqmobile_helpers/buttons_helper.rb">lib/jqmobile_helpers/buttons_helper.rb</a></li>
|
46
|
+
|
47
|
+
<li><a href="./lib/jqmobile_helpers/form_builder_rb.html?TB_iframe=true&height=550&width=785"
|
48
|
+
class="thickbox" title="lib/jqmobile_helpers/form_builder.rb">lib/jqmobile_helpers/form_builder.rb</a></li>
|
49
|
+
|
50
|
+
<li><a href="./lib/jqmobile_helpers/list_views_helper_rb.html?TB_iframe=true&height=550&width=785"
|
51
|
+
class="thickbox" title="lib/jqmobile_helpers/list_views_helper.rb">lib/jqmobile_helpers/list_views_helper.rb</a></li>
|
52
|
+
|
53
|
+
<li><a href="./lib/jqmobile_helpers/railtie_rb.html?TB_iframe=true&height=550&width=785"
|
54
|
+
class="thickbox" title="lib/jqmobile_helpers/railtie.rb">lib/jqmobile_helpers/railtie.rb</a></li>
|
55
|
+
|
56
|
+
<li><a href="./lib/jqmobile_helpers/toolbars_helper_rb.html?TB_iframe=true&height=550&width=785"
|
57
|
+
class="thickbox" title="lib/jqmobile_helpers/toolbars_helper.rb">lib/jqmobile_helpers/toolbars_helper.rb</a></li>
|
58
|
+
|
59
|
+
</ul>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
|
63
|
+
|
64
|
+
</div>
|
65
|
+
|
66
|
+
<div id="class-metadata">
|
67
|
+
|
68
|
+
<!-- Parent Class -->
|
69
|
+
|
70
|
+
|
71
|
+
<!-- Namespace Contents -->
|
72
|
+
|
73
|
+
<div id="namespace-list-section" class="section">
|
74
|
+
<h3 class="section-header">Namespace</h3>
|
75
|
+
<ul class="link-list">
|
76
|
+
|
77
|
+
<li><span class="type">MODULE</span> <a href="JqmobileHelpers/ActionViewExtensions.html">JqmobileHelpers::ActionViewExtensions</a></li>
|
78
|
+
|
79
|
+
<li><span class="type">MODULE</span> <a href="JqmobileHelpers/ButtonsHelper.html">JqmobileHelpers::ButtonsHelper</a></li>
|
80
|
+
|
81
|
+
<li><span class="type">MODULE</span> <a href="JqmobileHelpers/ListViewsHelper.html">JqmobileHelpers::ListViewsHelper</a></li>
|
82
|
+
|
83
|
+
<li><span class="type">MODULE</span> <a href="JqmobileHelpers/ToolbarsHelper.html">JqmobileHelpers::ToolbarsHelper</a></li>
|
84
|
+
|
85
|
+
<li><span class="type">CLASS</span> <a href="JqmobileHelpers/FormBuilder.html">JqmobileHelpers::FormBuilder</a></li>
|
86
|
+
|
87
|
+
<li><span class="type">CLASS</span> <a href="JqmobileHelpers/Railtie.html">JqmobileHelpers::Railtie</a></li>
|
88
|
+
|
89
|
+
</ul>
|
90
|
+
</div>
|
91
|
+
|
92
|
+
|
93
|
+
<!-- Method Quickref -->
|
94
|
+
|
95
|
+
|
96
|
+
<!-- Included Modules -->
|
97
|
+
|
98
|
+
</div>
|
99
|
+
|
100
|
+
<div id="project-metadata">
|
101
|
+
|
102
|
+
|
103
|
+
<div id="fileindex-section" class="section project-section">
|
104
|
+
<h3 class="section-header">Files</h3>
|
105
|
+
<ul>
|
106
|
+
|
107
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
108
|
+
|
109
|
+
</ul>
|
110
|
+
</div>
|
111
|
+
|
112
|
+
|
113
|
+
<div id="classindex-section" class="section project-section">
|
114
|
+
<h3 class="section-header">Class Index
|
115
|
+
<span class="search-toggle"><img src="./images/find.png"
|
116
|
+
height="16" width="16" alt="[+]"
|
117
|
+
title="show/hide quicksearch" /></span></h3>
|
118
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
119
|
+
<fieldset>
|
120
|
+
<legend>Quicksearch</legend>
|
121
|
+
<input type="text" name="quicksearch" value=""
|
122
|
+
class="quicksearch-field" />
|
123
|
+
</fieldset>
|
124
|
+
</form>
|
125
|
+
|
126
|
+
<ul class="link-list">
|
127
|
+
|
128
|
+
<li><a href="./JqmobileHelpers.html">JqmobileHelpers</a></li>
|
129
|
+
|
130
|
+
<li><a href="./JqmobileHelpers/ActionViewExtensions.html">JqmobileHelpers::ActionViewExtensions</a></li>
|
131
|
+
|
132
|
+
<li><a href="./JqmobileHelpers/ActionViewExtensions/FormHelper.html">JqmobileHelpers::ActionViewExtensions::FormHelper</a></li>
|
133
|
+
|
134
|
+
<li><a href="./JqmobileHelpers/ButtonsHelper.html">JqmobileHelpers::ButtonsHelper</a></li>
|
135
|
+
|
136
|
+
<li><a href="./JqmobileHelpers/FormBuilder.html">JqmobileHelpers::FormBuilder</a></li>
|
137
|
+
|
138
|
+
<li><a href="./JqmobileHelpers/ListViewsHelper.html">JqmobileHelpers::ListViewsHelper</a></li>
|
139
|
+
|
140
|
+
<li><a href="./JqmobileHelpers/Railtie.html">JqmobileHelpers::Railtie</a></li>
|
141
|
+
|
142
|
+
<li><a href="./JqmobileHelpers/ToolbarsHelper.html">JqmobileHelpers::ToolbarsHelper</a></li>
|
143
|
+
|
144
|
+
</ul>
|
145
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
146
|
+
</div>
|
147
|
+
|
148
|
+
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div id="documentation">
|
153
|
+
<h1 class="module">JqmobileHelpers</h1>
|
154
|
+
|
155
|
+
<div id="description">
|
156
|
+
|
157
|
+
</div>
|
158
|
+
|
159
|
+
<!-- Constants -->
|
160
|
+
|
161
|
+
|
162
|
+
<!-- Attributes -->
|
163
|
+
|
164
|
+
|
165
|
+
<!-- Methods -->
|
166
|
+
|
167
|
+
|
168
|
+
</div>
|
169
|
+
|
170
|
+
|
171
|
+
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
172
|
+
|
173
|
+
<p>Disabled; run with --debug to generate this.</p>
|
174
|
+
|
175
|
+
</div>
|
176
|
+
|
177
|
+
<div id="validator-badges">
|
178
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
179
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
180
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
</body>
|
184
|
+
</html>
|
185
|
+
|
@@ -0,0 +1,160 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Module: JqmobileHelpers::ActionViewExtensions</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="../js/jquery.js" type="text/javascript"
|
13
|
+
charset="utf-8"></script>
|
14
|
+
<script src="../js/thickbox-compressed.js" type="text/javascript"
|
15
|
+
charset="utf-8"></script>
|
16
|
+
<script src="../js/quicksearch.js" type="text/javascript"
|
17
|
+
charset="utf-8"></script>
|
18
|
+
<script src="../js/darkfish.js" type="text/javascript"
|
19
|
+
charset="utf-8"></script>
|
20
|
+
|
21
|
+
</head>
|
22
|
+
<body class="module">
|
23
|
+
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="../index.html">Home</a>
|
29
|
+
<a href="../index.html#classes">Classes</a>
|
30
|
+
<a href="../index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="file-metadata">
|
36
|
+
<div id="file-list-section" class="section">
|
37
|
+
<h3 class="section-header">In Files</h3>
|
38
|
+
<div class="section-body">
|
39
|
+
<ul>
|
40
|
+
|
41
|
+
<li><a href="../lib/jqmobile_helpers/action_view_extensions/form_helper_rb.html?TB_iframe=true&height=550&width=785"
|
42
|
+
class="thickbox" title="lib/jqmobile_helpers/action_view_extensions/form_helper.rb">lib/jqmobile_helpers/action_view_extensions/form_helper.rb</a></li>
|
43
|
+
|
44
|
+
</ul>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<div id="class-metadata">
|
52
|
+
|
53
|
+
<!-- Parent Class -->
|
54
|
+
|
55
|
+
|
56
|
+
<!-- Namespace Contents -->
|
57
|
+
|
58
|
+
<div id="namespace-list-section" class="section">
|
59
|
+
<h3 class="section-header">Namespace</h3>
|
60
|
+
<ul class="link-list">
|
61
|
+
|
62
|
+
<li><span class="type">MODULE</span> <a href="ActionViewExtensions/FormHelper.html">JqmobileHelpers::ActionViewExtensions::FormHelper</a></li>
|
63
|
+
|
64
|
+
</ul>
|
65
|
+
</div>
|
66
|
+
|
67
|
+
|
68
|
+
<!-- Method Quickref -->
|
69
|
+
|
70
|
+
|
71
|
+
<!-- Included Modules -->
|
72
|
+
|
73
|
+
</div>
|
74
|
+
|
75
|
+
<div id="project-metadata">
|
76
|
+
|
77
|
+
|
78
|
+
<div id="fileindex-section" class="section project-section">
|
79
|
+
<h3 class="section-header">Files</h3>
|
80
|
+
<ul>
|
81
|
+
|
82
|
+
<li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
|
83
|
+
|
84
|
+
</ul>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
|
88
|
+
<div id="classindex-section" class="section project-section">
|
89
|
+
<h3 class="section-header">Class Index
|
90
|
+
<span class="search-toggle"><img src="../images/find.png"
|
91
|
+
height="16" width="16" alt="[+]"
|
92
|
+
title="show/hide quicksearch" /></span></h3>
|
93
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
94
|
+
<fieldset>
|
95
|
+
<legend>Quicksearch</legend>
|
96
|
+
<input type="text" name="quicksearch" value=""
|
97
|
+
class="quicksearch-field" />
|
98
|
+
</fieldset>
|
99
|
+
</form>
|
100
|
+
|
101
|
+
<ul class="link-list">
|
102
|
+
|
103
|
+
<li><a href="../JqmobileHelpers.html">JqmobileHelpers</a></li>
|
104
|
+
|
105
|
+
<li><a href="../JqmobileHelpers/ActionViewExtensions.html">JqmobileHelpers::ActionViewExtensions</a></li>
|
106
|
+
|
107
|
+
<li><a href="../JqmobileHelpers/ActionViewExtensions/FormHelper.html">JqmobileHelpers::ActionViewExtensions::FormHelper</a></li>
|
108
|
+
|
109
|
+
<li><a href="../JqmobileHelpers/ButtonsHelper.html">JqmobileHelpers::ButtonsHelper</a></li>
|
110
|
+
|
111
|
+
<li><a href="../JqmobileHelpers/FormBuilder.html">JqmobileHelpers::FormBuilder</a></li>
|
112
|
+
|
113
|
+
<li><a href="../JqmobileHelpers/ListViewsHelper.html">JqmobileHelpers::ListViewsHelper</a></li>
|
114
|
+
|
115
|
+
<li><a href="../JqmobileHelpers/Railtie.html">JqmobileHelpers::Railtie</a></li>
|
116
|
+
|
117
|
+
<li><a href="../JqmobileHelpers/ToolbarsHelper.html">JqmobileHelpers::ToolbarsHelper</a></li>
|
118
|
+
|
119
|
+
</ul>
|
120
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
121
|
+
</div>
|
122
|
+
|
123
|
+
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
<div id="documentation">
|
128
|
+
<h1 class="module">JqmobileHelpers::ActionViewExtensions</h1>
|
129
|
+
|
130
|
+
<div id="description">
|
131
|
+
|
132
|
+
</div>
|
133
|
+
|
134
|
+
<!-- Constants -->
|
135
|
+
|
136
|
+
|
137
|
+
<!-- Attributes -->
|
138
|
+
|
139
|
+
|
140
|
+
<!-- Methods -->
|
141
|
+
|
142
|
+
|
143
|
+
</div>
|
144
|
+
|
145
|
+
|
146
|
+
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
147
|
+
|
148
|
+
<p>Disabled; run with --debug to generate this.</p>
|
149
|
+
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div id="validator-badges">
|
153
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
154
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
155
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
156
|
+
</div>
|
157
|
+
|
158
|
+
</body>
|
159
|
+
</html>
|
160
|
+
|