bento 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +38 -5
- data/lib/bento.rb +1 -0
- data/lib/bento/controllers/account_scopable.rb +75 -43
- data/lib/bento/models/modules/user_association.rb +2 -1
- data/lib/bento/models/user.rb +24 -0
- data/lib/bento/rails/routes.rb +7 -2
- data/lib/bento/version.rb +1 -1
- data/lib/generators/active_record/bento_generator.rb +5 -5
- data/lib/generators/active_record/templates/bento_membership_migration.rb +25 -0
- data/lib/generators/bento/orm_helpers.rb +50 -0
- data/spec/bento/models/modules/user_accessors_spec.rb +12 -2
- data/spec/bento/models/user_spec.rb +24 -0
- data/spec/controllers/bento_for_custom_routes_spec.rb +38 -0
- data/spec/controllers/bento_for_detault_routes_spec.rb +23 -0
- data/spec/controllers/bento_for_nested_routes_spec.rb +28 -0
- data/spec/rails_app/app/models/account.rb +3 -1
- data/spec/rails_app/app/models/bento_membership.rb +6 -0
- data/spec/rails_app/app/models/user.rb +8 -3
- data/spec/rails_app/app/views/layouts/application.html.erb +6 -1
- data/spec/rails_app/app/views/projects/_my_accounts.html.erb +6 -0
- data/spec/rails_app/app/views/projects/_my_projects.html.erb +9 -0
- data/spec/rails_app/app/views/projects/index.html.erb +4 -0
- data/spec/rails_app/config/environment.rb +4 -0
- data/spec/rails_app/db/development.sqlite3 +0 -0
- data/spec/rails_app/db/migrate/20101015094514_bento_create_accounts.rb +0 -1
- data/spec/rails_app/db/migrate/20110821091847_add_plan_to_accounts.rb +9 -0
- data/spec/rails_app/db/migrate/20110821095924_bento_create_bento_memberships.rb +25 -0
- data/spec/rails_app/{log/production.log → db/production.sqlite3} +0 -0
- data/spec/rails_app/db/schema.rb +11 -3
- data/spec/rails_app/db/test.sqlite3 +0 -0
- data/spec/rails_app/log/development.log +78 -72
- data/spec/rails_app/log/test.log +32588 -33752
- data/spec/rails_app/tmp/capybara/capybara-201108261408529518409580.html +23 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261409354283519857.html +23 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261411215267908820.html +36 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261411377094743316.html +36 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261607322084409756.html +34 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261612128889477667.html +34 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261614323748273234.html +34 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261614562813014420.html +34 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261615145359399760.html +34 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261616296916249304.html +34 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261617171731033403.html +34 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261617339533158457.html +36 -0
- data/spec/rails_app/tmp/capybara/capybara-201108261620375648320872.html +41 -0
- data/spec/spec_helper.rb +7 -3
- data/spec/support/bento_spec_helper.rb +2 -2
- data/spec/support/blueprints.rb +0 -1
- metadata +97 -96
- data/spec/bento_spec.rb +0 -4
- data/spec/controllers/bento_for_routes_spec.rb +0 -55
- data/spec/rails_app/log/server.log +0 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
<p id="flash" class="notice">Account was successfully updated.</p>
|
8
|
+
|
9
|
+
<a href="/accounts">Manage accounts</a>
|
10
|
+
<a href="/accounts/new">Bento accounts</a>
|
11
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
12
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
13
|
+
|
14
|
+
<a href="/projects">Projects</a>
|
15
|
+
<a href="/projects?my=true">My projects</a>
|
16
|
+
<a href="/projects?all=true">All projects</a>
|
17
|
+
|
18
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
19
|
+
<a href="/users/sign_out">Sign out</a>
|
20
|
+
|
21
|
+
Welcome to the index page
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
<p id="flash" class="notice">Account was successfully updated.</p>
|
8
|
+
|
9
|
+
<a href="/accounts">Manage accounts</a>
|
10
|
+
<a href="/accounts/new">Bento accounts</a>
|
11
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
12
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
13
|
+
|
14
|
+
<a href="/projects">Projects</a>
|
15
|
+
<a href="/projects?my=true">My projects</a>
|
16
|
+
<a href="/projects?all=true">All projects</a>
|
17
|
+
|
18
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
19
|
+
<a href="/users/sign_out">Sign out</a>
|
20
|
+
|
21
|
+
Welcome to the index page
|
22
|
+
</body>
|
23
|
+
</html>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
<p id="flash" class="notice">Account was successfully updated.</p>
|
8
|
+
|
9
|
+
<a href="/accounts">Manage accounts</a>
|
10
|
+
<a href="/accounts/new">Bento accounts</a>
|
11
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
12
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
13
|
+
|
14
|
+
<a href="/projects">Projects</a>
|
15
|
+
<a href="/projects?my=true">My projects</a>
|
16
|
+
<a href="/projects?all=true">All projects</a>
|
17
|
+
|
18
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
19
|
+
<a href="/users/sign_out">Sign out</a>
|
20
|
+
|
21
|
+
<h1>Elabs</h1>
|
22
|
+
|
23
|
+
<div class="show_for account" id="account_89">
|
24
|
+
<p class="wrapper account_name"><strong class="label">Name</strong><br>Elabs</p>
|
25
|
+
</div>
|
26
|
+
<p>
|
27
|
+
<a href="/accounts/89/edit">Edit</a>
|
28
|
+
</p>
|
29
|
+
<form method="post" action="/accounts/89" class="button_to"><div>
|
30
|
+
<input name="_method" type="hidden" value="delete"><input type="submit" value="Delete">
|
31
|
+
</div></form>
|
32
|
+
|
33
|
+
|
34
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
35
|
+
</body>
|
36
|
+
</html>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
<p id="flash" class="notice">Account was successfully updated.</p>
|
8
|
+
|
9
|
+
<a href="/accounts">Manage accounts</a>
|
10
|
+
<a href="/accounts/new">Bento accounts</a>
|
11
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
12
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
13
|
+
|
14
|
+
<a href="/projects">Projects</a>
|
15
|
+
<a href="/projects?my=true">My projects</a>
|
16
|
+
<a href="/projects?all=true">All projects</a>
|
17
|
+
|
18
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
19
|
+
<a href="/users/sign_out">Sign out</a>
|
20
|
+
|
21
|
+
<h1>Elabs</h1>
|
22
|
+
|
23
|
+
<div class="show_for account" id="account_92">
|
24
|
+
<p class="wrapper account_name"><strong class="label">Name</strong><br>Elabs</p>
|
25
|
+
</div>
|
26
|
+
<p>
|
27
|
+
<a href="/accounts/92/edit">Edit</a>
|
28
|
+
</p>
|
29
|
+
<form method="post" action="/accounts/92" class="button_to"><div>
|
30
|
+
<input name="_method" type="hidden" value="delete"><input type="submit" value="Delete">
|
31
|
+
</div></form>
|
32
|
+
|
33
|
+
|
34
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
35
|
+
</body>
|
36
|
+
</html>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
|
8
|
+
<a href="/accounts">Manage accounts</a>
|
9
|
+
<a href="/accounts/new">Bento accounts</a>
|
10
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
11
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
12
|
+
|
13
|
+
<a href="/projects">Projects</a>
|
14
|
+
<a href="/projects?my=true">My projects</a>
|
15
|
+
<a href="/projects?all=true">All projects</a>
|
16
|
+
|
17
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
18
|
+
<a href="/users/sign_out">Sign out</a>
|
19
|
+
|
20
|
+
<h1>Edit account</h1>
|
21
|
+
<form accept-charset="UTF-8" action="/accounts/376" class="simple_form account" id="edit_account_376" method="post">
|
22
|
+
<div style="margin:0;padding:0;display:inline">
|
23
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
24
|
+
</div> <div class="input string required">
|
25
|
+
<label class="string required" for="account_name"><abbr title="required">*</abbr> Name</label><input class="string required" id="account_name" maxlength="255" name="account[name]" required="required" size="50" type="text" value="Engine Yard">
|
26
|
+
</div>
|
27
|
+
<div class="input check_boxes optional">
|
28
|
+
<label class="check_boxes optional" for="account_user_ids"> Users</label><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_575" name="account[user_ids][]" type="checkbox" value="575"><label class="collection_check_boxes" for="account_user_ids_575">#<User:0x105917520></label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_576" name="account[user_ids][]" type="checkbox" value="576"><label class="collection_check_boxes" for="account_user_ids_576">#<User:0x105912070></label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_577" name="account[user_ids][]" type="checkbox" value="577"><label class="collection_check_boxes" for="account_user_ids_577">#<User:0x105911fd0></label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_578" name="account[user_ids][]" type="checkbox" value="578"><label class="collection_check_boxes" for="account_user_ids_578">#<User:0x105911f30></label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_579" name="account[user_ids][]" type="checkbox" value="579"><label class="collection_check_boxes" for="account_user_ids_579">#<User:0x105911e90></label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_580" name="account[user_ids][]" type="checkbox" value="580"><label class="collection_check_boxes" for="account_user_ids_580">#<User:0x105911df0></label></span>
|
29
|
+
</div>
|
30
|
+
<input class="button" id="account_submit" name="commit" type="submit" value="Update Account">
|
31
|
+
</form>
|
32
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
|
8
|
+
<a href="/accounts">Manage accounts</a>
|
9
|
+
<a href="/accounts/new">Bento accounts</a>
|
10
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
11
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
12
|
+
|
13
|
+
<a href="/projects">Projects</a>
|
14
|
+
<a href="/projects?my=true">My projects</a>
|
15
|
+
<a href="/projects?all=true">All projects</a>
|
16
|
+
|
17
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
18
|
+
<a href="/users/sign_out">Sign out</a>
|
19
|
+
|
20
|
+
<h1>Edit account</h1>
|
21
|
+
<form accept-charset="UTF-8" action="/accounts/382" class="simple_form account" id="edit_account_382" method="post">
|
22
|
+
<div style="margin:0;padding:0;display:inline">
|
23
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
24
|
+
</div> <div class="input string required">
|
25
|
+
<label class="string required" for="account_name"><abbr title="required">*</abbr> Name</label><input class="string required" id="account_name" maxlength="255" name="account[name]" required="required" size="50" type="text" value="Engine Yard">
|
26
|
+
</div>
|
27
|
+
<div class="input check_boxes optional">
|
28
|
+
<label class="check_boxes optional" for="account_user_ids"> Users</label><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_593" name="account[user_ids][]" type="checkbox" value="593"><label class="collection_check_boxes" for="account_user_ids_593">aric.skiles@kautzergoyette.name</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_594" name="account[user_ids][]" type="checkbox" value="594"><label class="collection_check_boxes" for="account_user_ids_594">alysson@wisozkcorwin.biz</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_595" name="account[user_ids][]" type="checkbox" value="595"><label class="collection_check_boxes" for="account_user_ids_595">greg@lesch.us</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_596" name="account[user_ids][]" type="checkbox" value="596"><label class="collection_check_boxes" for="account_user_ids_596">antony@elabs.se</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_597" name="account[user_ids][]" type="checkbox" value="597"><label class="collection_check_boxes" for="account_user_ids_597">tammer@ey.com</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_598" name="account[user_ids][]" type="checkbox" value="598"><label class="collection_check_boxes" for="account_user_ids_598">ops@ey.com</label></span>
|
29
|
+
</div>
|
30
|
+
<input class="button" id="account_submit" name="commit" type="submit" value="Update Account">
|
31
|
+
</form>
|
32
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
|
8
|
+
<a href="/accounts">Manage accounts</a>
|
9
|
+
<a href="/accounts/new">Bento accounts</a>
|
10
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
11
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
12
|
+
|
13
|
+
<a href="/projects">Projects</a>
|
14
|
+
<a href="/projects?my=true">My projects</a>
|
15
|
+
<a href="/projects?all=true">All projects</a>
|
16
|
+
|
17
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
18
|
+
<a href="/users/sign_out">Sign out</a>
|
19
|
+
|
20
|
+
<h1>Edit account</h1>
|
21
|
+
<form accept-charset="UTF-8" action="/accounts/384" class="simple_form account" id="edit_account_384" method="post">
|
22
|
+
<div style="margin:0;padding:0;display:inline">
|
23
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
24
|
+
</div> <div class="input string required">
|
25
|
+
<label class="string required" for="account_name"><abbr title="required">*</abbr> Name</label><input class="string required" id="account_name" maxlength="255" name="account[name]" required="required" size="50" type="text" value="Engine Yard">
|
26
|
+
</div>
|
27
|
+
<div class="input check_boxes optional">
|
28
|
+
<label class="check_boxes optional" for="account_user_ids"> Users</label><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_599" name="account[user_ids][]" type="checkbox" value="599"><label class="collection_check_boxes" for="account_user_ids_599">aric.skiles@kautzergoyette.name</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_600" name="account[user_ids][]" type="checkbox" value="600"><label class="collection_check_boxes" for="account_user_ids_600">alysson@wisozkcorwin.biz</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_601" name="account[user_ids][]" type="checkbox" value="601"><label class="collection_check_boxes" for="account_user_ids_601">greg@lesch.us</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_602" name="account[user_ids][]" type="checkbox" value="602"><label class="collection_check_boxes" for="account_user_ids_602">antony@elabs.se</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_603" name="account[user_ids][]" type="checkbox" value="603"><label class="collection_check_boxes" for="account_user_ids_603">tammer@ey.com</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_604" name="account[user_ids][]" type="checkbox" value="604"><label class="collection_check_boxes" for="account_user_ids_604">ops@ey.com</label></span>
|
29
|
+
</div>
|
30
|
+
<input class="button" id="account_submit" name="commit" type="submit" value="Update Account">
|
31
|
+
</form>
|
32
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
|
8
|
+
<a href="/accounts">Manage accounts</a>
|
9
|
+
<a href="/accounts/new">Bento accounts</a>
|
10
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
11
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
12
|
+
|
13
|
+
<a href="/projects">Projects</a>
|
14
|
+
<a href="/projects?my=true">My projects</a>
|
15
|
+
<a href="/projects?all=true">All projects</a>
|
16
|
+
|
17
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
18
|
+
<a href="/users/sign_out">Sign out</a>
|
19
|
+
|
20
|
+
<h1>Edit account</h1>
|
21
|
+
<form accept-charset="UTF-8" action="/accounts/386" class="simple_form account" id="edit_account_386" method="post">
|
22
|
+
<div style="margin:0;padding:0;display:inline">
|
23
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
24
|
+
</div> <div class="input string required">
|
25
|
+
<label class="string required" for="account_name"><abbr title="required">*</abbr> Name</label><input class="string required" id="account_name" maxlength="255" name="account[name]" required="required" size="50" type="text" value="Engine Yard">
|
26
|
+
</div>
|
27
|
+
<div class="input check_boxes optional">
|
28
|
+
<label class="check_boxes optional" for="account_user_ids"> Users</label><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_605" name="account[user_ids][]" type="checkbox" value="605"><label class="collection_check_boxes" for="account_user_ids_605">aric.skiles@kautzergoyette.name</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_606" name="account[user_ids][]" type="checkbox" value="606"><label class="collection_check_boxes" for="account_user_ids_606">alysson@wisozkcorwin.biz</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_607" name="account[user_ids][]" type="checkbox" value="607"><label class="collection_check_boxes" for="account_user_ids_607">greg@lesch.us</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_608" name="account[user_ids][]" type="checkbox" value="608"><label class="collection_check_boxes" for="account_user_ids_608">antony@elabs.se</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_609" name="account[user_ids][]" type="checkbox" value="609"><label class="collection_check_boxes" for="account_user_ids_609">tammer@ey.com</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_610" name="account[user_ids][]" type="checkbox" value="610"><label class="collection_check_boxes" for="account_user_ids_610">ops@ey.com</label></span>
|
29
|
+
</div>
|
30
|
+
<input class="button" id="account_submit" name="commit" type="submit" value="Update Account">
|
31
|
+
</form>
|
32
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
|
8
|
+
<a href="/accounts">Manage accounts</a>
|
9
|
+
<a href="/accounts/new">Bento accounts</a>
|
10
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
11
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
12
|
+
|
13
|
+
<a href="/projects">Projects</a>
|
14
|
+
<a href="/projects?my=true">My projects</a>
|
15
|
+
<a href="/projects?all=true">All projects</a>
|
16
|
+
|
17
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
18
|
+
<a href="/users/sign_out">Sign out</a>
|
19
|
+
|
20
|
+
<h1>Edit account</h1>
|
21
|
+
<form accept-charset="UTF-8" action="/accounts/388" class="simple_form account" id="edit_account_388" method="post">
|
22
|
+
<div style="margin:0;padding:0;display:inline">
|
23
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
24
|
+
</div> <div class="input string required">
|
25
|
+
<label class="string required" for="account_name"><abbr title="required">*</abbr> Name</label><input class="string required" id="account_name" maxlength="255" name="account[name]" required="required" size="50" type="text" value="Engine Yard">
|
26
|
+
</div>
|
27
|
+
<div class="input check_boxes optional">
|
28
|
+
<label class="check_boxes optional" for="account_user_ids"> Users</label><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_611" name="account[user_ids][]" type="checkbox" value="611"><label class="collection_check_boxes" for="account_user_ids_611">aric.skiles@kautzergoyette.name</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_612" name="account[user_ids][]" type="checkbox" value="612"><label class="collection_check_boxes" for="account_user_ids_612">alysson@wisozkcorwin.biz</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_613" name="account[user_ids][]" type="checkbox" value="613"><label class="collection_check_boxes" for="account_user_ids_613">greg@lesch.us</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_614" name="account[user_ids][]" type="checkbox" value="614"><label class="collection_check_boxes" for="account_user_ids_614">antony@elabs.se</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_615" name="account[user_ids][]" type="checkbox" value="615"><label class="collection_check_boxes" for="account_user_ids_615">tammer@ey.com</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_616" name="account[user_ids][]" type="checkbox" value="616"><label class="collection_check_boxes" for="account_user_ids_616">ops@ey.com</label></span>
|
29
|
+
</div>
|
30
|
+
<input class="button" id="account_submit" name="commit" type="submit" value="Update Account">
|
31
|
+
</form>
|
32
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
|
8
|
+
<a href="/accounts">Manage accounts</a>
|
9
|
+
<a href="/accounts/new">Bento accounts</a>
|
10
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
11
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
12
|
+
|
13
|
+
<a href="/projects">Projects</a>
|
14
|
+
<a href="/projects?my=true">My projects</a>
|
15
|
+
<a href="/projects?all=true">All projects</a>
|
16
|
+
|
17
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
18
|
+
<a href="/users/sign_out">Sign out</a>
|
19
|
+
|
20
|
+
<h1>Edit account</h1>
|
21
|
+
<form accept-charset="UTF-8" action="/accounts/390" class="simple_form account" id="edit_account_390" method="post">
|
22
|
+
<div style="margin:0;padding:0;display:inline">
|
23
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
24
|
+
</div> <div class="input string required">
|
25
|
+
<label class="string required" for="account_name"><abbr title="required">*</abbr> Name</label><input class="string required" id="account_name" maxlength="255" name="account[name]" required="required" size="50" type="text" value="Engine Yard">
|
26
|
+
</div>
|
27
|
+
<div class="input check_boxes optional">
|
28
|
+
<label class="check_boxes optional" for="account_user_ids"> Users</label><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_617" name="account[user_ids][]" type="checkbox" value="617"><label class="collection_check_boxes" for="account_user_ids_617">aric.skiles@kautzergoyette.name</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_618" name="account[user_ids][]" type="checkbox" value="618"><label class="collection_check_boxes" for="account_user_ids_618">alysson@wisozkcorwin.biz</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_619" name="account[user_ids][]" type="checkbox" value="619"><label class="collection_check_boxes" for="account_user_ids_619">greg@lesch.us</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_620" name="account[user_ids][]" type="checkbox" value="620"><label class="collection_check_boxes" for="account_user_ids_620">antony@elabs.se</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_621" name="account[user_ids][]" type="checkbox" value="621"><label class="collection_check_boxes" for="account_user_ids_621">tammer@ey.com</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_622" name="account[user_ids][]" type="checkbox" value="622"><label class="collection_check_boxes" for="account_user_ids_622">ops@ey.com</label></span>
|
29
|
+
</div>
|
30
|
+
<input class="button" id="account_submit" name="commit" type="submit" value="Update Account">
|
31
|
+
</form>
|
32
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
|
8
|
+
<a href="/accounts">Manage accounts</a>
|
9
|
+
<a href="/accounts/new">Bento accounts</a>
|
10
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
11
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
12
|
+
|
13
|
+
<a href="/projects">Projects</a>
|
14
|
+
<a href="/projects?my=true">My projects</a>
|
15
|
+
<a href="/projects?all=true">All projects</a>
|
16
|
+
|
17
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
18
|
+
<a href="/users/sign_out">Sign out</a>
|
19
|
+
|
20
|
+
<h1>Edit account</h1>
|
21
|
+
<form accept-charset="UTF-8" action="/accounts/392" class="simple_form account" id="edit_account_392" method="post">
|
22
|
+
<div style="margin:0;padding:0;display:inline">
|
23
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
24
|
+
</div> <div class="input string required">
|
25
|
+
<label class="string required" for="account_name"><abbr title="required">*</abbr> Name</label><input class="string required" id="account_name" maxlength="255" name="account[name]" required="required" size="50" type="text" value="Engine Yard">
|
26
|
+
</div>
|
27
|
+
<div class="input check_boxes optional">
|
28
|
+
<label class="check_boxes optional" for="account_user_ids"> Users</label><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_623" name="account[user_ids][]" type="checkbox" value="623"><label class="collection_check_boxes" for="account_user_ids_623">aric.skiles@kautzergoyette.name</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_624" name="account[user_ids][]" type="checkbox" value="624"><label class="collection_check_boxes" for="account_user_ids_624">alysson@wisozkcorwin.biz</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_625" name="account[user_ids][]" type="checkbox" value="625"><label class="collection_check_boxes" for="account_user_ids_625">greg@lesch.us</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input class="check_boxes optional" id="account_user_ids_626" name="account[user_ids][]" type="checkbox" value="626"><label class="collection_check_boxes" for="account_user_ids_626">antony@elabs.se</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_627" name="account[user_ids][]" type="checkbox" value="627"><label class="collection_check_boxes" for="account_user_ids_627">tammer@ey.com</label></span><span><input name="account[user_ids][]" type="hidden" value=""><input checked class="check_boxes optional" id="account_user_ids_628" name="account[user_ids][]" type="checkbox" value="628"><label class="collection_check_boxes" for="account_user_ids_628">ops@ey.com</label></span>
|
29
|
+
</div>
|
30
|
+
<input class="button" id="account_submit" name="commit" type="submit" value="Update Account">
|
31
|
+
</form>
|
32
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
33
|
+
</body>
|
34
|
+
</html>
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
<p id="flash" class="notice">Account was successfully updated.</p>
|
8
|
+
|
9
|
+
<a href="/accounts">Manage accounts</a>
|
10
|
+
<a href="/accounts/new">Bento accounts</a>
|
11
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
12
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
13
|
+
|
14
|
+
<a href="/projects">Projects</a>
|
15
|
+
<a href="/projects?my=true">My projects</a>
|
16
|
+
<a href="/projects?all=true">All projects</a>
|
17
|
+
|
18
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
19
|
+
<a href="/users/sign_out">Sign out</a>
|
20
|
+
|
21
|
+
<h1>Engine Yard</h1>
|
22
|
+
|
23
|
+
<div class="show_for account" id="account_394">
|
24
|
+
<p class="wrapper account_name"><strong class="label">Name</strong><br>Engine Yard</p>
|
25
|
+
</div>
|
26
|
+
<p>
|
27
|
+
<a href="/accounts/394/edit">Edit</a>
|
28
|
+
</p>
|
29
|
+
<form method="post" action="/accounts/394" class="button_to"><div>
|
30
|
+
<input name="_method" type="hidden" value="delete"><input type="submit" value="Delete">
|
31
|
+
</div></form>
|
32
|
+
|
33
|
+
|
34
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
35
|
+
</body>
|
36
|
+
</html>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head><title>RailsApp</title></head>
|
4
|
+
<body>
|
5
|
+
<h1>Welcome to the app that's using Bento</h1>
|
6
|
+
|
7
|
+
<p id="flash" class="notice">Account was successfully updated.</p>
|
8
|
+
|
9
|
+
<a href="/accounts">Manage accounts</a>
|
10
|
+
<a href="/accounts/new">Bento accounts</a>
|
11
|
+
<a href="/custom_accounts/new?sign_up=true">Custom accounts</a>
|
12
|
+
<a href="/custom_accounts">Manage custom accounts</a>
|
13
|
+
|
14
|
+
<a href="/projects">Projects</a>
|
15
|
+
<a href="/projects?my=true">My projects</a>
|
16
|
+
<a href="/projects?all=true">All projects</a>
|
17
|
+
|
18
|
+
<a href="/projects?my_accounts=true">My accounts</a>
|
19
|
+
<a href="/users/sign_out">Sign out</a>
|
20
|
+
|
21
|
+
<h1>Engine Yard</h1>
|
22
|
+
|
23
|
+
<div class="show_for account" id="account_398">
|
24
|
+
<p class="wrapper account_name"><strong class="label">Name</strong><br>Engine Yard</p>
|
25
|
+
</div>
|
26
|
+
<ul>
|
27
|
+
<li>greg@lesch.us</li>
|
28
|
+
<li>antony@elabs.se</li>
|
29
|
+
<li>tammer@ey.com</li>
|
30
|
+
</ul>
|
31
|
+
<p>
|
32
|
+
<a href="/accounts/398/edit">Edit</a>
|
33
|
+
</p>
|
34
|
+
<form method="post" action="/accounts/398" class="button_to"><div>
|
35
|
+
<input name="_method" type="hidden" value="delete"><input type="submit" value="Delete">
|
36
|
+
</div></form>
|
37
|
+
|
38
|
+
|
39
|
+
<p><a href="/accounts">Back to accounts</a></p>
|
40
|
+
</body>
|
41
|
+
</html>
|