modulate 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/modulate/application_controller.rb +3 -0
- data/app/models/modulate/document.rb +39 -0
- data/app/uploaders/modulate/document_uploader.rb +5 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20130320174022_add_modulate_document_table.rb +27 -0
- data/lib/generators/modulate/USAGE +8 -0
- data/lib/generators/modulate/modulate_generator.rb +33 -0
- data/lib/generators/modulate/templates/_carrierwave.rb +5 -0
- data/lib/generators/modulate/templates/_modulate_attachments.html.haml +11 -0
- data/lib/generators/modulate/templates/_modulate_documents.html.haml +31 -0
- data/lib/modulate.rb +20 -0
- data/lib/modulate/configuration.rb +10 -0
- data/lib/modulate/engine.rb +21 -0
- data/lib/modulate/relation.rb +10 -0
- data/lib/modulate/version.rb +3 -0
- data/lib/tasks/modulate_tasks.rake +4 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/accounts_controller.rb +23 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/account.rb +5 -0
- data/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml +31 -0
- data/spec/dummy/app/views/accounts/_modulate_attachments.html.haml +11 -0
- data/spec/dummy/app/views/accounts/index.html.haml +0 -0
- data/spec/dummy/app/views/accounts/show.html.erb +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +16 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +59 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/carrierwave.rb +5 -0
- data/spec/dummy/config/database.yml +19 -0
- data/spec/dummy/config/database.yml.example +19 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/carrierwave.rb +5 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +6 -0
- data/spec/dummy/config/setup_load_paths.rb +13 -0
- data/spec/dummy/db/migrate/20130325151020_create_account_table.rb +13 -0
- data/spec/dummy/db/migrate/20130326150838_add_modulate_document_table.modulate_engine.rb +28 -0
- data/spec/dummy/db/schema.rb +39 -0
- data/spec/dummy/log/development.log +3082 -0
- data/spec/dummy/log/test.log +158 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/uploads/tmp/20130325-1326-99529-7743/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1339-356-7432/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1346-523-3336/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1356-749-8446/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1400-850-1252/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1415-1419-1757/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1907-5106-0607/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1911-5106-7321/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1912-5106-9847/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1921-5966-2686/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1921-5993-4088/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1925-6117-8582/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1925-6144-5138/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-1927-6226-6892/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130325-1929-6226-5235/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130325-1929-6229-8925/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130325-1929-6258-0126/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130325-1930-6203-2358/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130325-1930-6226-1942/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130325-1930-6226-6311/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130325-1931-6258-4650/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130325-1932-6229-3505/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130325-1959-6759-5643/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-2000-6796-5968/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130325-2011-7688-7128/cheat_sheet.txt +45 -0
- data/spec/dummy/public/uploads/tmp/20130326-1409-11412-4323/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130326-1410-11453-4835/test.txt +1 -0
- data/spec/dummy/public/uploads/tmp/20130326-1411-11541-3107/test.txt +1 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/CE1/F20/sprockets%2F27802e706f9b4a4cb47f23279b8ef112 +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/D8B/5A0/sprockets%2Fd3f389f822beaa012aea0e1608a7a72c +0 -0
- data/spec/dummy/tmp/cache/assets/D9F/9E0/sprockets%2Ffa7ea1d234b86f62fd44bcd872e804f0 +0 -0
- data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/E46/F00/sprockets%2Fef28af54ec693affaad6788eac6597af +0 -0
- data/spec/dummy/tmp/capybara/capybara-20130325113329863132478.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201303251136086016711973.html +43 -0
- data/spec/dummy/tmp/capybara/capybara-2013032511414321142326.html +43 -0
- data/spec/dummy/tmp/capybara/capybara-20130325114349437448737.html +43 -0
- data/spec/dummy/tmp/capybara/capybara-201303251145079289531432.html +43 -0
- data/spec/dummy/tmp/capybara/capybara-201303251146231982487841.html +43 -0
- data/spec/dummy/tmp/capybara/capybara-201303251501229219755210.html +43 -0
- data/spec/dummy/tmp/capybara/capybara-201303251504055386888420.html +43 -0
- data/spec/dummy/tmp/restart.txt +0 -0
- data/spec/factories/account_factory.rb +6 -0
- data/spec/features/modulate_spec.rb +14 -0
- data/spec/fixtures/test.txt +1 -0
- data/spec/modulate/configuration_spec.rb +34 -0
- data/spec/modulate/relation_spec.rb +40 -0
- data/spec/modulate_spec.rb +55 -0
- data/spec/spec_helper.rb +22 -0
- metadata +405 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
######## CHEAT SHEET #########
|
2
|
+
######## RSPEC ##############
|
3
|
+
describe "group of related ideas" do
|
4
|
+
describe "idea" do
|
5
|
+
it "works as I expect"
|
6
|
+
it "handles any special cases"
|
7
|
+
it "handles errors/failures gracefully"
|
8
|
+
|
9
|
+
######### VIM #################
|
10
|
+
|
11
|
+
T - back to whatever character you type
|
12
|
+
F back on whatever character you type
|
13
|
+
c - change character(s) without entering insert mode
|
14
|
+
dd - delete line
|
15
|
+
A - append to end of line
|
16
|
+
a - append to end of word
|
17
|
+
o - new line here
|
18
|
+
O - new line below
|
19
|
+
Shift-V - visual mode (BLOCK)
|
20
|
+
CTRL -V - visual mode (chunk)
|
21
|
+
v - visual mode
|
22
|
+
x - delete selection
|
23
|
+
== - auto indent selection
|
24
|
+
= auto indent line
|
25
|
+
~ change case
|
26
|
+
b - beginning of word
|
27
|
+
B - beginning of sentence
|
28
|
+
ysiw" - wrap in quotes
|
29
|
+
ciw - change inside word
|
30
|
+
r - replace character
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
yip - copy line
|
35
|
+
viw - view inside word
|
36
|
+
csXY - change surrounding current(x) with (y)
|
37
|
+
zz - jump up
|
38
|
+
zt - jump way up
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
RACK APPS
|
44
|
+
config.ru *+(rack up)
|
45
|
+
composed of middle wares
|
@@ -0,0 +1,45 @@
|
|
1
|
+
######## CHEAT SHEET #########
|
2
|
+
######## RSPEC ##############
|
3
|
+
describe "group of related ideas" do
|
4
|
+
describe "idea" do
|
5
|
+
it "works as I expect"
|
6
|
+
it "handles any special cases"
|
7
|
+
it "handles errors/failures gracefully"
|
8
|
+
|
9
|
+
######### VIM #################
|
10
|
+
|
11
|
+
T - back to whatever character you type
|
12
|
+
F back on whatever character you type
|
13
|
+
c - change character(s) without entering insert mode
|
14
|
+
dd - delete line
|
15
|
+
A - append to end of line
|
16
|
+
a - append to end of word
|
17
|
+
o - new line here
|
18
|
+
O - new line below
|
19
|
+
Shift-V - visual mode (BLOCK)
|
20
|
+
CTRL -V - visual mode (chunk)
|
21
|
+
v - visual mode
|
22
|
+
x - delete selection
|
23
|
+
== - auto indent selection
|
24
|
+
= auto indent line
|
25
|
+
~ change case
|
26
|
+
b - beginning of word
|
27
|
+
B - beginning of sentence
|
28
|
+
ysiw" - wrap in quotes
|
29
|
+
ciw - change inside word
|
30
|
+
r - replace character
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
yip - copy line
|
35
|
+
viw - view inside word
|
36
|
+
csXY - change surrounding current(x) with (y)
|
37
|
+
zz - jump up
|
38
|
+
zt - jump way up
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
RACK APPS
|
44
|
+
config.ru *+(rack up)
|
45
|
+
composed of middle wares
|
@@ -0,0 +1,45 @@
|
|
1
|
+
######## CHEAT SHEET #########
|
2
|
+
######## RSPEC ##############
|
3
|
+
describe "group of related ideas" do
|
4
|
+
describe "idea" do
|
5
|
+
it "works as I expect"
|
6
|
+
it "handles any special cases"
|
7
|
+
it "handles errors/failures gracefully"
|
8
|
+
|
9
|
+
######### VIM #################
|
10
|
+
|
11
|
+
T - back to whatever character you type
|
12
|
+
F back on whatever character you type
|
13
|
+
c - change character(s) without entering insert mode
|
14
|
+
dd - delete line
|
15
|
+
A - append to end of line
|
16
|
+
a - append to end of word
|
17
|
+
o - new line here
|
18
|
+
O - new line below
|
19
|
+
Shift-V - visual mode (BLOCK)
|
20
|
+
CTRL -V - visual mode (chunk)
|
21
|
+
v - visual mode
|
22
|
+
x - delete selection
|
23
|
+
== - auto indent selection
|
24
|
+
= auto indent line
|
25
|
+
~ change case
|
26
|
+
b - beginning of word
|
27
|
+
B - beginning of sentence
|
28
|
+
ysiw" - wrap in quotes
|
29
|
+
ciw - change inside word
|
30
|
+
r - replace character
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
yip - copy line
|
35
|
+
viw - view inside word
|
36
|
+
csXY - change surrounding current(x) with (y)
|
37
|
+
zz - jump up
|
38
|
+
zt - jump way up
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
RACK APPS
|
44
|
+
config.ru *+(rack up)
|
45
|
+
composed of middle wares
|
@@ -0,0 +1,45 @@
|
|
1
|
+
######## CHEAT SHEET #########
|
2
|
+
######## RSPEC ##############
|
3
|
+
describe "group of related ideas" do
|
4
|
+
describe "idea" do
|
5
|
+
it "works as I expect"
|
6
|
+
it "handles any special cases"
|
7
|
+
it "handles errors/failures gracefully"
|
8
|
+
|
9
|
+
######### VIM #################
|
10
|
+
|
11
|
+
T - back to whatever character you type
|
12
|
+
F back on whatever character you type
|
13
|
+
c - change character(s) without entering insert mode
|
14
|
+
dd - delete line
|
15
|
+
A - append to end of line
|
16
|
+
a - append to end of word
|
17
|
+
o - new line here
|
18
|
+
O - new line below
|
19
|
+
Shift-V - visual mode (BLOCK)
|
20
|
+
CTRL -V - visual mode (chunk)
|
21
|
+
v - visual mode
|
22
|
+
x - delete selection
|
23
|
+
== - auto indent selection
|
24
|
+
= auto indent line
|
25
|
+
~ change case
|
26
|
+
b - beginning of word
|
27
|
+
B - beginning of sentence
|
28
|
+
ysiw" - wrap in quotes
|
29
|
+
ciw - change inside word
|
30
|
+
r - replace character
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
yip - copy line
|
35
|
+
viw - view inside word
|
36
|
+
csXY - change surrounding current(x) with (y)
|
37
|
+
zz - jump up
|
38
|
+
zt - jump way up
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
RACK APPS
|
44
|
+
config.ru *+(rack up)
|
45
|
+
composed of middle wares
|
@@ -0,0 +1,45 @@
|
|
1
|
+
######## CHEAT SHEET #########
|
2
|
+
######## RSPEC ##############
|
3
|
+
describe "group of related ideas" do
|
4
|
+
describe "idea" do
|
5
|
+
it "works as I expect"
|
6
|
+
it "handles any special cases"
|
7
|
+
it "handles errors/failures gracefully"
|
8
|
+
|
9
|
+
######### VIM #################
|
10
|
+
|
11
|
+
T - back to whatever character you type
|
12
|
+
F back on whatever character you type
|
13
|
+
c - change character(s) without entering insert mode
|
14
|
+
dd - delete line
|
15
|
+
A - append to end of line
|
16
|
+
a - append to end of word
|
17
|
+
o - new line here
|
18
|
+
O - new line below
|
19
|
+
Shift-V - visual mode (BLOCK)
|
20
|
+
CTRL -V - visual mode (chunk)
|
21
|
+
v - visual mode
|
22
|
+
x - delete selection
|
23
|
+
== - auto indent selection
|
24
|
+
= auto indent line
|
25
|
+
~ change case
|
26
|
+
b - beginning of word
|
27
|
+
B - beginning of sentence
|
28
|
+
ysiw" - wrap in quotes
|
29
|
+
ciw - change inside word
|
30
|
+
r - replace character
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
yip - copy line
|
35
|
+
viw - view inside word
|
36
|
+
csXY - change surrounding current(x) with (y)
|
37
|
+
zz - jump up
|
38
|
+
zt - jump way up
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
RACK APPS
|
44
|
+
config.ru *+(rack up)
|
45
|
+
composed of middle wares
|
@@ -0,0 +1 @@
|
|
1
|
+
This is a test document.
|
@@ -0,0 +1 @@
|
|
1
|
+
This is a test document.
|
@@ -0,0 +1,45 @@
|
|
1
|
+
######## CHEAT SHEET #########
|
2
|
+
######## RSPEC ##############
|
3
|
+
describe "group of related ideas" do
|
4
|
+
describe "idea" do
|
5
|
+
it "works as I expect"
|
6
|
+
it "handles any special cases"
|
7
|
+
it "handles errors/failures gracefully"
|
8
|
+
|
9
|
+
######### VIM #################
|
10
|
+
|
11
|
+
T - back to whatever character you type
|
12
|
+
F back on whatever character you type
|
13
|
+
c - change character(s) without entering insert mode
|
14
|
+
dd - delete line
|
15
|
+
A - append to end of line
|
16
|
+
a - append to end of word
|
17
|
+
o - new line here
|
18
|
+
O - new line below
|
19
|
+
Shift-V - visual mode (BLOCK)
|
20
|
+
CTRL -V - visual mode (chunk)
|
21
|
+
v - visual mode
|
22
|
+
x - delete selection
|
23
|
+
== - auto indent selection
|
24
|
+
= auto indent line
|
25
|
+
~ change case
|
26
|
+
b - beginning of word
|
27
|
+
B - beginning of sentence
|
28
|
+
ysiw" - wrap in quotes
|
29
|
+
ciw - change inside word
|
30
|
+
r - replace character
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
yip - copy line
|
35
|
+
viw - view inside word
|
36
|
+
csXY - change surrounding current(x) with (y)
|
37
|
+
zz - jump up
|
38
|
+
zt - jump way up
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
RACK APPS
|
44
|
+
config.ru *+(rack up)
|
45
|
+
composed of middle wares
|
@@ -0,0 +1 @@
|
|
1
|
+
This is a test document.
|
@@ -0,0 +1 @@
|
|
1
|
+
This is a test document.
|
@@ -0,0 +1 @@
|
|
1
|
+
This is a test document.
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Dummy</title>
|
5
|
+
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
+
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
+
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= render 'modulate_attachments' >
|
12
|
+
|
13
|
+
|
14
|
+
</body>
|
15
|
+
</html>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Dummy</title>
|
5
|
+
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
+
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
+
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<form accept-charset="UTF-8" action="/accounts/1" class="formtastic account" enctype="multipart/form-data" id="edit_account_1" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /><input name="_method" type="hidden" value="put" /></div><table class='table table-bordered table-compressed'>
|
12
|
+
<thead>
|
13
|
+
<tr>
|
14
|
+
<th>Label</th>
|
15
|
+
<th>File Name</th>
|
16
|
+
<th>Content Type</th>
|
17
|
+
<th>Uploaded At</th>
|
18
|
+
<th>Public</th>
|
19
|
+
<th></th>
|
20
|
+
<th></th>
|
21
|
+
</tr>
|
22
|
+
</thead>
|
23
|
+
<tbody>
|
24
|
+
<tr>
|
25
|
+
<td colspan='7'>
|
26
|
+
<div class='no-results'>There are no documents.</div>
|
27
|
+
</td>
|
28
|
+
</tr>
|
29
|
+
</tbody>
|
30
|
+
</table>
|
31
|
+
|
32
|
+
<fieldset class="inputs"><ol><li class="file input required" id="account_modulate_documents_attributes_0_file_input"><label class=" label" for="account_modulate_documents_attributes_0_file">Choose document to attach<abbr title="required">*</abbr></label><input id="account_modulate_documents_attributes_0_file" multiple="multiple" name="account[modulate_documents_attributes][][attachment][]" type="file" />
|
33
|
+
|
34
|
+
</li>
|
35
|
+
</ol></fieldset><fieldset class="actions"><ol><li class="action button_action " id="account_submit_action"><button class="btn btn-primary" name="button" type="submit">Update Account</button></li>
|
36
|
+
<li class="action link_action " id="account_cancel_action"><a href="javascript:history.back()">Cancel</a></li>
|
37
|
+
</ol></fieldset></form>
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
</body>
|
43
|
+
</html>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Dummy</title>
|
5
|
+
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
+
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
+
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<form accept-charset="UTF-8" action="/accounts/1" class="formtastic account" enctype="multipart/form-data" id="edit_account_1" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /><input name="_method" type="hidden" value="put" /></div><table class='table table-bordered table-compressed'>
|
12
|
+
<thead>
|
13
|
+
<tr>
|
14
|
+
<th>Label</th>
|
15
|
+
<th>File Name</th>
|
16
|
+
<th>Content Type</th>
|
17
|
+
<th>Uploaded At</th>
|
18
|
+
<th>Public</th>
|
19
|
+
<th></th>
|
20
|
+
<th></th>
|
21
|
+
</tr>
|
22
|
+
</thead>
|
23
|
+
<tbody>
|
24
|
+
<tr>
|
25
|
+
<td colspan='7'>
|
26
|
+
<div class='no-results'>There are no documents.</div>
|
27
|
+
</td>
|
28
|
+
</tr>
|
29
|
+
</tbody>
|
30
|
+
</table>
|
31
|
+
|
32
|
+
<fieldset class="inputs"><ol><li class="file input required" id="account_modulate_documents_attributes_0_file_input"><label class=" label" for="account_modulate_documents_attributes_0_file">Choose document to attach<abbr title="required">*</abbr></label><input id="account_modulate_documents_attributes_0_file" multiple="multiple" name="account[modulate_documents_attributes][][attachment][]" type="file" />
|
33
|
+
|
34
|
+
</li>
|
35
|
+
</ol></fieldset><fieldset class="actions"><ol><li class="action button_action " id="account_submit_action"><button class="btn btn-primary" name="button" type="submit">Update Account</button></li>
|
36
|
+
<li class="action link_action " id="account_cancel_action"><a href="javascript:history.back()">Cancel</a></li>
|
37
|
+
</ol></fieldset></form>
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
</body>
|
43
|
+
</html>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Dummy</title>
|
5
|
+
<link href="/assets/application.css" media="all" rel="stylesheet" type="text/css" />
|
6
|
+
<script src="/assets/application.js" type="text/javascript"></script>
|
7
|
+
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<form accept-charset="UTF-8" action="/accounts/1" class="formtastic account" enctype="multipart/form-data" id="edit_account_1" method="post" novalidate="novalidate"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /><input name="_method" type="hidden" value="put" /></div><table class='table table-bordered table-compressed'>
|
12
|
+
<thead>
|
13
|
+
<tr>
|
14
|
+
<th>Label</th>
|
15
|
+
<th>File Name</th>
|
16
|
+
<th>Content Type</th>
|
17
|
+
<th>Uploaded At</th>
|
18
|
+
<th>Public</th>
|
19
|
+
<th></th>
|
20
|
+
<th></th>
|
21
|
+
</tr>
|
22
|
+
</thead>
|
23
|
+
<tbody>
|
24
|
+
<tr>
|
25
|
+
<td colspan='7'>
|
26
|
+
<div class='no-results'>There are no documents.</div>
|
27
|
+
</td>
|
28
|
+
</tr>
|
29
|
+
</tbody>
|
30
|
+
</table>
|
31
|
+
|
32
|
+
<fieldset class="inputs"><ol><li class="file input required" id="account_modulate_documents_attributes_0_file_input"><label class=" label" for="account_modulate_documents_attributes_0_file">Choose document to attach<abbr title="required">*</abbr></label><input id="account_modulate_documents_attributes_0_file" multiple="multiple" name="account[modulate_documents_attributes][][attachment][]" type="file" />
|
33
|
+
|
34
|
+
</li>
|
35
|
+
</ol></fieldset><fieldset class="actions"><ol><li class="action button_action " id="account_submit_action"><button class="btn btn-primary" name="button" type="submit">Update Account</button></li>
|
36
|
+
<li class="action link_action " id="account_cancel_action"><a href="javascript:history.back()">Cancel</a></li>
|
37
|
+
</ol></fieldset></form>
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
</body>
|
43
|
+
</html>
|