locomotive_cms 0.0.1.4 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -2
- data/app/controllers/admin/api_contents_controller.rb +30 -0
- data/app/controllers/admin/base_controller.rb +2 -2
- data/app/controllers/admin/content_types_controller.rb +1 -1
- data/app/controllers/admin/custom_fields_controller.rb +33 -0
- data/app/controllers/admin/my_accounts_controller.rb +2 -2
- data/app/controllers/admin/sites_controller.rb +2 -2
- data/app/helpers/admin/accounts_helper.rb +1 -1
- data/app/helpers/admin/custom_fields_helper.rb +1 -1
- data/app/models/asset.rb +2 -1
- data/app/models/asset_collection.rb +2 -2
- data/app/models/content_instance.rb +7 -0
- data/app/models/content_type.rb +1 -0
- data/app/models/page_part.rb +4 -4
- data/app/models/site.rb +1 -1
- data/app/models/theme_asset.rb +2 -0
- data/app/uploaders/asset_uploader.rb +2 -2
- data/app/views/admin/asset_collections/edit.html.haml +6 -3
- data/app/views/admin/content_types/_form.html.haml +10 -5
- data/app/views/admin/content_types/edit.html.haml +3 -1
- data/app/views/admin/content_types/new.html.haml +2 -0
- data/app/views/admin/contents/_form.html.haml +12 -2
- data/app/views/admin/current_sites/_form.html.haml +1 -1
- data/app/views/admin/custom_fields/_edit_field.html.haml +9 -0
- data/app/views/admin/{shared/_custom_fields.html.haml → custom_fields/_index.html.haml} +14 -4
- data/app/views/admin/custom_fields/edit_category.html.haml +43 -0
- data/app/views/admin/pages/_form.html.haml +1 -1
- data/app/views/admin/passwords/edit.html.haml +2 -2
- data/app/views/admin/passwords/new.html.haml +2 -2
- data/app/views/admin/sessions/new.html.haml +1 -1
- data/app/views/admin/shared/_head.html.haml +1 -1
- data/app/views/admin/shared/_header.html.haml +2 -2
- data/app/views/admin/sites/_form.html.haml +1 -1
- data/app/views/admin/theme_assets/images.html.haml +7 -7
- data/app/views/devise/mailer/reset_password_instructions.html.haml +1 -1
- data/config/application.rb +4 -3
- data/config/boot.rb +3 -14
- data/config/initializers/locomotive.rb +1 -0
- data/config/initializers/mongoid.rb +11 -12
- data/config/initializers/secret_token.rb +7 -0
- data/config/locales/admin_ui_en.yml +113 -4
- data/config/routes.rb +6 -8
- data/lib/locomotive/configuration.rb +2 -1
- data/lib/locomotive/liquid/drops/contents.rb +11 -13
- data/lib/locomotive/liquid/drops/javascripts.rb +1 -1
- data/lib/locomotive/liquid/tags/paginate.rb +1 -1
- data/lib/locomotive/render.rb +1 -1
- data/lib/locomotive/routing/site_dispatcher.rb +2 -1
- data/lib/locomotive.rb +3 -1
- data/lib/misc_form_builder.rb +10 -0
- data/public/images/admin/form/big_item-popup.png +0 -0
- data/public/images/admin/form/footer-popup.png +0 -0
- data/public/images/admin/form/header-popup.png +0 -0
- data/public/images/admin/form/icons/edit.png +0 -0
- data/public/images/admin/form/item-popup.png +0 -0
- data/public/images/admin/list/none-small.png +0 -0
- data/public/javascripts/admin/application.js +3 -2
- data/public/javascripts/admin/content_types.js +1 -1
- data/public/javascripts/admin/contents.js +11 -1
- data/public/javascripts/admin/custom_fields/category.js +91 -0
- data/public/javascripts/admin/custom_fields.js +27 -0
- data/public/javascripts/admin/page_parts.js +10 -5
- data/public/javascripts/admin/pages.js +1 -1
- data/public/javascripts/admin/snippets.js +1 -1
- data/public/javascripts/admin/theme_assets.js +2 -0
- data/public/javascripts/admin/utils.js +9 -0
- data/public/javascripts/all.js +14 -2
- data/public/stylesheets/admin/application.css +2 -2
- data/public/stylesheets/admin/box.css +80 -4
- data/public/stylesheets/admin/formtastic_changes.css +7 -2
- data/public/stylesheets/all.css +6 -1
- data/spec/lib/locomotive/render_spec.rb +2 -2
- data/spec/models/asset_collections_spec.rb +4 -4
- data/spec/spec_helper.rb +1 -1
- data/spec/support/locomotive.rb +1 -1
- data/vendor/plugins/custom_fields/Gemfile +11 -0
- data/vendor/plugins/custom_fields/README +2 -2
- data/vendor/plugins/custom_fields/Rakefile +23 -17
- data/vendor/plugins/custom_fields/lib/custom_fields/custom_fields_for.rb +2 -1
- data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/embeds_many.rb +20 -13
- data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/has_many_related.rb +33 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/proxy.rb +20 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/document.rb +14 -21
- data/vendor/plugins/custom_fields/lib/custom_fields/{custom_field.rb → field.rb} +25 -23
- data/vendor/plugins/custom_fields/lib/custom_fields/proxy_class_enabler.rb +37 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/types/category.rb +73 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/types/default.rb +18 -0
- data/vendor/plugins/custom_fields/lib/custom_fields.rb +9 -1
- data/vendor/plugins/custom_fields/spec/integration/custom_fields_for_spec.rb +28 -0
- data/vendor/plugins/custom_fields/spec/integration/types/category_spec.rb +26 -0
- data/vendor/plugins/custom_fields/spec/models/person.rb +10 -0
- data/vendor/plugins/custom_fields/spec/models/project.rb +16 -0
- data/vendor/plugins/custom_fields/spec/models/task.rb +10 -0
- data/vendor/plugins/custom_fields/spec/spec_helper.rb +31 -0
- data/vendor/plugins/custom_fields/spec/unit/custom_field_spec.rb +42 -0
- data/vendor/plugins/custom_fields/spec/unit/custom_fields_for_spec.rb +106 -0
- data/vendor/plugins/custom_fields/spec/unit/proxy_class_enabler_spec.rb +25 -0
- data/vendor/plugins/custom_fields/spec/unit/types/category_spec.rb +97 -0
- metadata +83 -35
- data/app/views/devise/confirmations/new.html.haml +0 -12
- data/app/views/devise/registrations/edit.html.haml +0 -35
- data/app/views/devise/registrations/new.html.haml +0 -20
- data/app/views/devise/sessions/new.html.haml +0 -22
- data/app/views/devise/shared/_links.haml +0 -20
- data/app/views/devise/unlocks/new.html.haml +0 -12
- data/vendor/plugins/custom_fields/install.rb +0 -1
metadata
CHANGED
@@ -5,9 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
|
10
|
-
version: 0.0.1.4
|
8
|
+
- 2
|
9
|
+
version: 0.0.2
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Didier Lafforgue
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-06-
|
17
|
+
date: 2010-06-11 00:00:00 +02:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -102,48 +101,63 @@ dependencies:
|
|
102
101
|
prerelease: false
|
103
102
|
- !ruby/object:Gem::Dependency
|
104
103
|
type: :runtime
|
105
|
-
name:
|
104
|
+
name: mongo_session_store
|
106
105
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
segments:
|
110
|
+
- 2
|
111
|
+
- 0
|
112
|
+
- 0
|
113
|
+
- pre
|
114
|
+
version: 2.0.0.pre
|
115
|
+
requirement: *id007
|
116
|
+
prerelease: false
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
type: :runtime
|
119
|
+
name: warden
|
120
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - ">="
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
segments:
|
111
125
|
- 0
|
112
126
|
version: "0"
|
113
|
-
requirement: *
|
127
|
+
requirement: *id008
|
114
128
|
prerelease: false
|
115
129
|
- !ruby/object:Gem::Dependency
|
116
130
|
type: :runtime
|
117
131
|
name: devise
|
118
|
-
version_requirements: &
|
132
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
119
133
|
requirements:
|
120
134
|
- - ">="
|
121
135
|
- !ruby/object:Gem::Version
|
122
136
|
segments:
|
123
137
|
- 1
|
124
138
|
- 1
|
125
|
-
-
|
126
|
-
version: 1.1.
|
127
|
-
requirement: *
|
139
|
+
- rc1
|
140
|
+
version: 1.1.rc1
|
141
|
+
requirement: *id009
|
128
142
|
prerelease: false
|
129
143
|
- !ruby/object:Gem::Dependency
|
130
144
|
type: :runtime
|
131
145
|
name: haml
|
132
|
-
version_requirements: &
|
146
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
133
147
|
requirements:
|
134
|
-
- - "
|
148
|
+
- - "="
|
135
149
|
- !ruby/object:Gem::Version
|
136
150
|
segments:
|
137
151
|
- 3
|
138
152
|
- 0
|
139
153
|
- 1
|
140
154
|
version: 3.0.1
|
141
|
-
requirement: *
|
155
|
+
requirement: *id010
|
142
156
|
prerelease: false
|
143
157
|
- !ruby/object:Gem::Dependency
|
144
158
|
type: :runtime
|
145
159
|
name: rmagick
|
146
|
-
version_requirements: &
|
160
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
147
161
|
requirements:
|
148
162
|
- - "="
|
149
163
|
- !ruby/object:Gem::Version
|
@@ -152,69 +166,81 @@ dependencies:
|
|
152
166
|
- 12
|
153
167
|
- 2
|
154
168
|
version: 2.12.2
|
155
|
-
requirement: *
|
169
|
+
requirement: *id011
|
156
170
|
prerelease: false
|
157
171
|
- !ruby/object:Gem::Dependency
|
158
172
|
type: :runtime
|
159
173
|
name: aws
|
160
|
-
version_requirements: &
|
174
|
+
version_requirements: &id012 !ruby/object:Gem::Requirement
|
161
175
|
requirements:
|
162
176
|
- - ">="
|
163
177
|
- !ruby/object:Gem::Version
|
164
178
|
segments:
|
165
179
|
- 0
|
166
180
|
version: "0"
|
167
|
-
requirement: *
|
181
|
+
requirement: *id012
|
168
182
|
prerelease: false
|
169
183
|
- !ruby/object:Gem::Dependency
|
170
184
|
type: :runtime
|
171
185
|
name: jeweler
|
172
|
-
version_requirements: &
|
186
|
+
version_requirements: &id013 !ruby/object:Gem::Requirement
|
173
187
|
requirements:
|
174
188
|
- - ">="
|
175
189
|
- !ruby/object:Gem::Version
|
176
190
|
segments:
|
177
191
|
- 0
|
178
192
|
version: "0"
|
179
|
-
requirement: *
|
193
|
+
requirement: *id013
|
180
194
|
prerelease: false
|
181
195
|
- !ruby/object:Gem::Dependency
|
182
196
|
type: :runtime
|
183
197
|
name: mimetype-fu
|
184
|
-
version_requirements: &
|
198
|
+
version_requirements: &id014 !ruby/object:Gem::Requirement
|
185
199
|
requirements:
|
186
200
|
- - ">="
|
187
201
|
- !ruby/object:Gem::Version
|
188
202
|
segments:
|
189
203
|
- 0
|
190
204
|
version: "0"
|
191
|
-
requirement: *
|
205
|
+
requirement: *id014
|
192
206
|
prerelease: false
|
193
207
|
- !ruby/object:Gem::Dependency
|
194
208
|
type: :runtime
|
195
209
|
name: formtastic-rails3
|
196
|
-
version_requirements: &
|
210
|
+
version_requirements: &id015 !ruby/object:Gem::Requirement
|
197
211
|
requirements:
|
198
212
|
- - ">="
|
199
213
|
- !ruby/object:Gem::Version
|
200
214
|
segments:
|
201
215
|
- 0
|
202
216
|
version: "0"
|
203
|
-
requirement: *
|
217
|
+
requirement: *id015
|
204
218
|
prerelease: false
|
205
219
|
- !ruby/object:Gem::Dependency
|
206
220
|
type: :runtime
|
207
221
|
name: carrierwave-rails3
|
208
|
-
version_requirements: &
|
222
|
+
version_requirements: &id016 !ruby/object:Gem::Requirement
|
209
223
|
requirements:
|
210
224
|
- - ">="
|
211
225
|
- !ruby/object:Gem::Version
|
212
226
|
segments:
|
213
227
|
- 0
|
214
228
|
version: "0"
|
215
|
-
requirement: *
|
229
|
+
requirement: *id016
|
230
|
+
prerelease: false
|
231
|
+
- !ruby/object:Gem::Dependency
|
232
|
+
type: :runtime
|
233
|
+
name: actionmailer-with-request
|
234
|
+
version_requirements: &id017 !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - ">="
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
segments:
|
239
|
+
- 0
|
240
|
+
version: "0"
|
241
|
+
requirement: *id017
|
216
242
|
prerelease: false
|
217
|
-
description: a brand new CMS system with super sexy UI and cool features
|
243
|
+
description: a brand new CMS system with super sexy UI and cool features (alpha version for now)
|
218
244
|
email:
|
219
245
|
- didier@nocoffee.fr
|
220
246
|
executables: []
|
@@ -226,12 +252,14 @@ extra_rdoc_files:
|
|
226
252
|
files:
|
227
253
|
- Gemfile
|
228
254
|
- app/controllers/admin/accounts_controller.rb
|
255
|
+
- app/controllers/admin/api_contents_controller.rb
|
229
256
|
- app/controllers/admin/asset_collections_controller.rb
|
230
257
|
- app/controllers/admin/assets_controller.rb
|
231
258
|
- app/controllers/admin/base_controller.rb
|
232
259
|
- app/controllers/admin/content_types_controller.rb
|
233
260
|
- app/controllers/admin/contents_controller.rb
|
234
261
|
- app/controllers/admin/current_sites_controller.rb
|
262
|
+
- app/controllers/admin/custom_fields_controller.rb
|
235
263
|
- app/controllers/admin/layouts_controller.rb
|
236
264
|
- app/controllers/admin/memberships_controller.rb
|
237
265
|
- app/controllers/admin/my_accounts_controller.rb
|
@@ -288,6 +316,9 @@ files:
|
|
288
316
|
- app/views/admin/contents/new.html.haml
|
289
317
|
- app/views/admin/current_sites/_form.html.haml
|
290
318
|
- app/views/admin/current_sites/edit.html.haml
|
319
|
+
- app/views/admin/custom_fields/_edit_field.html.haml
|
320
|
+
- app/views/admin/custom_fields/_index.html.haml
|
321
|
+
- app/views/admin/custom_fields/edit_category.html.haml
|
291
322
|
- app/views/admin/layouts/_form.html.haml
|
292
323
|
- app/views/admin/layouts/_layout.html.haml
|
293
324
|
- app/views/admin/layouts/edit.html.haml
|
@@ -303,7 +334,6 @@ files:
|
|
303
334
|
- app/views/admin/passwords/edit.html.haml
|
304
335
|
- app/views/admin/passwords/new.html.haml
|
305
336
|
- app/views/admin/sessions/new.html.haml
|
306
|
-
- app/views/admin/shared/_custom_fields.html.haml
|
307
337
|
- app/views/admin/shared/_footer.html.haml
|
308
338
|
- app/views/admin/shared/_form_actions.html.haml
|
309
339
|
- app/views/admin/shared/_head.html.haml
|
@@ -325,15 +355,9 @@ files:
|
|
325
355
|
- app/views/admin/theme_assets/images.html.haml
|
326
356
|
- app/views/admin/theme_assets/index.html.haml
|
327
357
|
- app/views/admin/theme_assets/new.html.haml
|
328
|
-
- app/views/devise/confirmations/new.html.haml
|
329
358
|
- app/views/devise/mailer/confirmation_instructions.html.haml
|
330
359
|
- app/views/devise/mailer/reset_password_instructions.html.haml
|
331
360
|
- app/views/devise/mailer/unlock_instructions.html.haml
|
332
|
-
- app/views/devise/registrations/edit.html.haml
|
333
|
-
- app/views/devise/registrations/new.html.haml
|
334
|
-
- app/views/devise/sessions/new.html.haml
|
335
|
-
- app/views/devise/shared/_links.haml
|
336
|
-
- app/views/devise/unlocks/new.html.haml
|
337
361
|
- app/views/home/show.html.haml
|
338
362
|
- app/views/layouts/admin/application.html.haml
|
339
363
|
- app/views/layouts/admin/login.html.haml
|
@@ -354,6 +378,7 @@ files:
|
|
354
378
|
- config/initializers/mime_types.rb
|
355
379
|
- config/initializers/mongoid.rb
|
356
380
|
- config/initializers/rspec_generator.rb
|
381
|
+
- config/initializers/secret_token.rb
|
357
382
|
- config/locales/admin_ui_en.yml
|
358
383
|
- config/locales/admin_ui_fr.yml
|
359
384
|
- config/locales/carrierwave_en.yml
|
@@ -415,23 +440,28 @@ files:
|
|
415
440
|
- public/images/admin/buttons/search.png
|
416
441
|
- public/images/admin/buttons/transparent-left.png
|
417
442
|
- public/images/admin/buttons/transparent-right.png
|
443
|
+
- public/images/admin/form/big_item-popup.png
|
418
444
|
- public/images/admin/form/big_item.png
|
419
445
|
- public/images/admin/form/error-arrow.png
|
420
446
|
- public/images/admin/form/field.png
|
421
447
|
- public/images/admin/form/folded-arrow-off.png
|
422
448
|
- public/images/admin/form/folded-arrow-on.png
|
423
449
|
- public/images/admin/form/folded.png
|
450
|
+
- public/images/admin/form/footer-popup.png
|
424
451
|
- public/images/admin/form/footer.png
|
425
452
|
- public/images/admin/form/growl-error.png
|
426
453
|
- public/images/admin/form/growl-notice.png
|
427
454
|
- public/images/admin/form/header-first-on.png
|
428
455
|
- public/images/admin/form/header-left-on.png
|
429
456
|
- public/images/admin/form/header-on.png
|
457
|
+
- public/images/admin/form/header-popup.png
|
430
458
|
- public/images/admin/form/header-right-on.png
|
431
459
|
- public/images/admin/form/header.png
|
432
460
|
- public/images/admin/form/icons/drag.png
|
461
|
+
- public/images/admin/form/icons/edit.png
|
433
462
|
- public/images/admin/form/icons/spinner.gif
|
434
463
|
- public/images/admin/form/icons/trash.png
|
464
|
+
- public/images/admin/form/item-popup.png
|
435
465
|
- public/images/admin/form/item.png
|
436
466
|
- public/images/admin/form/pen.png
|
437
467
|
- public/images/admin/icons/filetype/medium/AC3.png
|
@@ -644,6 +674,7 @@ files:
|
|
644
674
|
- public/images/admin/list/item-left.png
|
645
675
|
- public/images/admin/list/item-right.png
|
646
676
|
- public/images/admin/list/item.png
|
677
|
+
- public/images/admin/list/none-small.png
|
647
678
|
- public/images/admin/list/none.png
|
648
679
|
- public/images/admin/list/thumb.png
|
649
680
|
- public/images/admin/login/bottom_panel_bg.png
|
@@ -704,6 +735,7 @@ files:
|
|
704
735
|
- public/javascripts/admin/content_types.js
|
705
736
|
- public/javascripts/admin/contents.js
|
706
737
|
- public/javascripts/admin/custom_fields.js
|
738
|
+
- public/javascripts/admin/custom_fields/category.js
|
707
739
|
- public/javascripts/admin/jquery.js
|
708
740
|
- public/javascripts/admin/jquery.ui.js
|
709
741
|
- public/javascripts/admin/page_parts.js
|
@@ -748,6 +780,7 @@ files:
|
|
748
780
|
- public/javascripts/admin/site.js
|
749
781
|
- public/javascripts/admin/snippets.js
|
750
782
|
- public/javascripts/admin/theme_assets.js
|
783
|
+
- public/javascripts/admin/utils.js
|
751
784
|
- public/javascripts/all.js
|
752
785
|
- public/stylesheets/admin/application.css
|
753
786
|
- public/stylesheets/admin/blueprint/ie.css
|
@@ -798,16 +831,31 @@ files:
|
|
798
831
|
- public/stylesheets/admin/plugins/fancybox.css
|
799
832
|
- public/stylesheets/admin/plugins/toggle.css
|
800
833
|
- public/stylesheets/all.css
|
834
|
+
- vendor/plugins/custom_fields/Gemfile
|
801
835
|
- vendor/plugins/custom_fields/MIT-LICENSE
|
802
836
|
- vendor/plugins/custom_fields/README
|
803
837
|
- vendor/plugins/custom_fields/Rakefile
|
804
838
|
- vendor/plugins/custom_fields/init.rb
|
805
|
-
- vendor/plugins/custom_fields/install.rb
|
806
839
|
- vendor/plugins/custom_fields/lib/custom_fields.rb
|
807
|
-
- vendor/plugins/custom_fields/lib/custom_fields/custom_field.rb
|
808
840
|
- vendor/plugins/custom_fields/lib/custom_fields/custom_fields_for.rb
|
809
841
|
- vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/embeds_many.rb
|
842
|
+
- vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/has_many_related.rb
|
843
|
+
- vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/proxy.rb
|
810
844
|
- vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/document.rb
|
845
|
+
- vendor/plugins/custom_fields/lib/custom_fields/field.rb
|
846
|
+
- vendor/plugins/custom_fields/lib/custom_fields/proxy_class_enabler.rb
|
847
|
+
- vendor/plugins/custom_fields/lib/custom_fields/types/category.rb
|
848
|
+
- vendor/plugins/custom_fields/lib/custom_fields/types/default.rb
|
849
|
+
- vendor/plugins/custom_fields/spec/integration/custom_fields_for_spec.rb
|
850
|
+
- vendor/plugins/custom_fields/spec/integration/types/category_spec.rb
|
851
|
+
- vendor/plugins/custom_fields/spec/models/person.rb
|
852
|
+
- vendor/plugins/custom_fields/spec/models/project.rb
|
853
|
+
- vendor/plugins/custom_fields/spec/models/task.rb
|
854
|
+
- vendor/plugins/custom_fields/spec/spec_helper.rb
|
855
|
+
- vendor/plugins/custom_fields/spec/unit/custom_field_spec.rb
|
856
|
+
- vendor/plugins/custom_fields/spec/unit/custom_fields_for_spec.rb
|
857
|
+
- vendor/plugins/custom_fields/spec/unit/proxy_class_enabler_spec.rb
|
858
|
+
- vendor/plugins/custom_fields/spec/unit/types/category_spec.rb
|
811
859
|
- vendor/plugins/custom_fields/uninstall.rb
|
812
860
|
- README.textile
|
813
861
|
has_rdoc: true
|
@@ -1,12 +0,0 @@
|
|
1
|
-
%h2
|
2
|
-
Resend confirmation instructions
|
3
|
-
= form_for(resource_name, resource, :url => confirmation_path(resource_name)) do |f|
|
4
|
-
= f.error_messages
|
5
|
-
%p
|
6
|
-
= f.label :email
|
7
|
-
%p
|
8
|
-
= f.text_field :email
|
9
|
-
%p
|
10
|
-
= f.submit "Resend confirmation instructions"
|
11
|
-
- end
|
12
|
-
= render :partial => "devise/shared/links"
|
@@ -1,35 +0,0 @@
|
|
1
|
-
%h2
|
2
|
-
Edit
|
3
|
-
= resource_name.to_s.humanize
|
4
|
-
= form_for(resource_name, resource, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
|
5
|
-
= f.error_messages
|
6
|
-
%p
|
7
|
-
= f.label :email
|
8
|
-
%p
|
9
|
-
= f.text_field :email
|
10
|
-
%p
|
11
|
-
= f.label :password
|
12
|
-
%i
|
13
|
-
(leave blank if you don't want to change it)
|
14
|
-
%p
|
15
|
-
= f.password_field :password
|
16
|
-
%p
|
17
|
-
= f.label :password_confirmation
|
18
|
-
%p
|
19
|
-
= f.password_field :password_confirmation
|
20
|
-
%p
|
21
|
-
= f.label :current_password
|
22
|
-
%i
|
23
|
-
(we need your current password to confirm your changes)
|
24
|
-
%p
|
25
|
-
= f.password_field :current_password
|
26
|
-
%p
|
27
|
-
= f.submit "Update"
|
28
|
-
- end
|
29
|
-
%h3
|
30
|
-
Cancel my account
|
31
|
-
%p
|
32
|
-
Unhappy?
|
33
|
-
= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete
|
34
|
-
\.
|
35
|
-
= link_to "Back", :back
|
@@ -1,20 +0,0 @@
|
|
1
|
-
%h2
|
2
|
-
Sign up
|
3
|
-
= form_for(resource_name, resource, :url => registration_path(resource_name)) do |f|
|
4
|
-
= f.error_messages
|
5
|
-
%p
|
6
|
-
= f.label :email
|
7
|
-
%p
|
8
|
-
= f.text_field :email
|
9
|
-
%p
|
10
|
-
= f.label :password
|
11
|
-
%p
|
12
|
-
= f.password_field :password
|
13
|
-
%p
|
14
|
-
= f.label :password_confirmation
|
15
|
-
%p
|
16
|
-
= f.password_field :password_confirmation
|
17
|
-
%p
|
18
|
-
= f.submit "Sign up"
|
19
|
-
- end
|
20
|
-
= render :partial => "devise/shared/links"
|
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
/ = form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
|
4
|
-
/ %p
|
5
|
-
/ = f.label :email
|
6
|
-
/ %p
|
7
|
-
/ = f.text_field :email
|
8
|
-
/
|
9
|
-
/ %p
|
10
|
-
/ = f.label :password
|
11
|
-
/ %p
|
12
|
-
/ = f.password_field :password
|
13
|
-
/
|
14
|
-
/ - if devise_mapping.rememberable?
|
15
|
-
/ %p
|
16
|
-
/ = f.check_box :remember_me
|
17
|
-
/ = f.label :remember_me
|
18
|
-
/
|
19
|
-
/ %p
|
20
|
-
/ = f.submit "Sign in"
|
21
|
-
/
|
22
|
-
/ = link_to "Forgot your password?", new_password_path(resource_name)
|
@@ -1,20 +0,0 @@
|
|
1
|
-
- if controller_name != 'sessions'
|
2
|
-
= link_to "Sign in", new_session_path(resource_name)
|
3
|
-
%br
|
4
|
-
- end
|
5
|
-
- if devise_mapping.registerable? && controller_name != 'registrations'
|
6
|
-
= link_to "Sign up", new_registration_path(resource_name)
|
7
|
-
%br
|
8
|
-
- end
|
9
|
-
- if devise_mapping.recoverable? && controller_name != 'passwords'
|
10
|
-
= link_to "Forgot your password?", new_password_path(resource_name)
|
11
|
-
%br
|
12
|
-
- end
|
13
|
-
- if devise_mapping.confirmable? && controller_name != 'confirmations'
|
14
|
-
= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name)
|
15
|
-
%br
|
16
|
-
- end
|
17
|
-
- if devise_mapping.lockable? && controller_name != 'unlocks'
|
18
|
-
= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name)
|
19
|
-
%br
|
20
|
-
- end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
%h2
|
2
|
-
Resend unlock instructions
|
3
|
-
= form_for(resource_name, resource, :url => unlock_path(resource_name)) do |f|
|
4
|
-
= f.error_messages
|
5
|
-
%p
|
6
|
-
= f.label :email
|
7
|
-
%p
|
8
|
-
= f.text_field :email
|
9
|
-
%p
|
10
|
-
= f.submit "Resend unlock instructions"
|
11
|
-
- end
|
12
|
-
= render :partial => "devise/shared/links"
|
@@ -1 +0,0 @@
|
|
1
|
-
# Install hook code here
|