bootstrap3_autocomplete_input 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +32 -0
  4. data/app/inputs/autocomplete_input.rb +65 -0
  5. data/lib/assets/javascripts/bootstrap3-autocomplete-input.js +87 -0
  6. data/lib/assets/javascripts/bootstrap3-autocomplete-input.min.js +1 -0
  7. data/lib/assets/javascripts/bootstrap3-typeahead.js +476 -0
  8. data/lib/assets/javascripts/bootstrap3-typeahead.min.js +1 -0
  9. data/lib/bootstrap3_autocomplete_input.rb +24 -0
  10. data/lib/bootstrap3_autocomplete_input/controllers/autocomplete.rb +66 -0
  11. data/lib/bootstrap3_autocomplete_input/orm.rb +7 -0
  12. data/lib/bootstrap3_autocomplete_input/orm/active_record.rb +51 -0
  13. data/lib/bootstrap3_autocomplete_input/orm/mongo_mapper.rb +30 -0
  14. data/lib/bootstrap3_autocomplete_input/orm/mongoid.rb +44 -0
  15. data/lib/bootstrap3_autocomplete_input/rails/engine.rb +15 -0
  16. data/lib/bootstrap3_autocomplete_input/simple_form_inputs.rb +78 -0
  17. data/lib/bootstrap3_autocomplete_input/version.rb +3 -0
  18. data/lib/generators/autocomplete/install_generator.rb +0 -0
  19. data/lib/tasks/bootstrap3_autocomplete_input_tasks.rake +4 -0
  20. data/test/bootstrap3_autocomplete_input_test.rb +7 -0
  21. data/test/dummy/README.rdoc +28 -0
  22. data/test/dummy/Rakefile +6 -0
  23. data/test/dummy/app/assets/javascripts/application.js +18 -0
  24. data/test/dummy/app/assets/stylesheets/application.css.scss +3 -0
  25. data/test/dummy/app/controllers/application_controller.rb +5 -0
  26. data/test/dummy/app/controllers/clients_controller.rb +58 -0
  27. data/test/dummy/app/controllers/orders_controller.rb +60 -0
  28. data/test/dummy/app/helpers/application_helper.rb +2 -0
  29. data/test/dummy/app/helpers/clients_helper.rb +2 -0
  30. data/test/dummy/app/helpers/orders_helper.rb +2 -0
  31. data/test/dummy/app/models/client.rb +3 -0
  32. data/test/dummy/app/models/order.rb +3 -0
  33. data/test/dummy/app/views/clients/_form.html.erb +18 -0
  34. data/test/dummy/app/views/clients/edit.html.erb +6 -0
  35. data/test/dummy/app/views/clients/index.html.erb +24 -0
  36. data/test/dummy/app/views/clients/new.html.erb +5 -0
  37. data/test/dummy/app/views/clients/show.html.erb +4 -0
  38. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  39. data/test/dummy/app/views/orders/_form.html.erb +50 -0
  40. data/test/dummy/app/views/orders/edit.html.erb +6 -0
  41. data/test/dummy/app/views/orders/index.html.erb +23 -0
  42. data/test/dummy/app/views/orders/new.html.erb +5 -0
  43. data/test/dummy/app/views/orders/show.html.erb +4 -0
  44. data/test/dummy/bin/bundle +3 -0
  45. data/test/dummy/bin/rails +4 -0
  46. data/test/dummy/bin/rake +4 -0
  47. data/test/dummy/config.ru +4 -0
  48. data/test/dummy/config/application.rb +25 -0
  49. data/test/dummy/config/boot.rb +5 -0
  50. data/test/dummy/config/database.yml +25 -0
  51. data/test/dummy/config/environment.rb +5 -0
  52. data/test/dummy/config/environments/development.rb +37 -0
  53. data/test/dummy/config/environments/production.rb +78 -0
  54. data/test/dummy/config/environments/test.rb +39 -0
  55. data/test/dummy/config/initializers/assets.rb +8 -0
  56. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  57. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  58. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  59. data/test/dummy/config/initializers/inflections.rb +16 -0
  60. data/test/dummy/config/initializers/mime_types.rb +4 -0
  61. data/test/dummy/config/initializers/session_store.rb +3 -0
  62. data/test/dummy/config/initializers/simple_form.rb +166 -0
  63. data/test/dummy/config/initializers/simple_form_bootstrap.rb +136 -0
  64. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  65. data/test/dummy/config/locales/en.yml +23 -0
  66. data/test/dummy/config/locales/simple_form.en.yml +31 -0
  67. data/test/dummy/config/routes.rb +62 -0
  68. data/test/dummy/config/secrets.yml +22 -0
  69. data/test/dummy/db/development.sqlite3 +0 -0
  70. data/test/dummy/db/migrate/20141224031843_create_clients.rb +10 -0
  71. data/test/dummy/db/migrate/20141224031854_create_orders.rb +12 -0
  72. data/test/dummy/db/migrate/20141224032000_add_client_to_order.rb +6 -0
  73. data/test/dummy/db/schema.rb +30 -0
  74. data/test/dummy/lib/templates/erb/scaffold/_form.html.erb +13 -0
  75. data/test/dummy/log/development.log +163 -0
  76. data/test/dummy/public/404.html +67 -0
  77. data/test/dummy/public/422.html +67 -0
  78. data/test/dummy/public/500.html +66 -0
  79. data/test/dummy/public/assets/application-c75a9a9deda9531070f576f4b4f75c82.js +5 -0
  80. data/test/dummy/public/assets/application-c75a9a9deda9531070f576f4b4f75c82.js.gz +0 -0
  81. data/test/dummy/public/assets/application-f44356f250333028ca1fd1097ad49074.css +8146 -0
  82. data/test/dummy/public/assets/application-f44356f250333028ca1fd1097ad49074.css.gz +0 -0
  83. data/test/dummy/public/assets/bootstrap/glyphicons-halflings-regular-195cb410b49d75c104a5bc6ad385ac77.woff +0 -0
  84. data/test/dummy/public/assets/bootstrap/glyphicons-halflings-regular-38831bbd01504eaf996d291c5e157661.ttf +0 -0
  85. data/test/dummy/public/assets/bootstrap/glyphicons-halflings-regular-69ff52480052cf785cc3f4472e1d56d9.eot +0 -0
  86. data/test/dummy/public/assets/bootstrap/glyphicons-halflings-regular-8acb5264b8eab48469867b225a7f3eb5.svg +229 -0
  87. data/test/dummy/public/assets/jquery-ui/ui-bg_flat_0_aaaaaa_40x100-cf2b341a1531cbc2fc6ef5ad4701a2f2.png +0 -0
  88. data/test/dummy/public/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100-5858cfe74efe6264f22d7173d47d59ff.png +0 -0
  89. data/test/dummy/public/assets/jquery-ui/ui-bg_glass_55_fbf9ee_1x400-ea25ba87e2239186bff03593a01ee8b9.png +0 -0
  90. data/test/dummy/public/assets/jquery-ui/ui-bg_glass_65_ffffff_1x400-c338312c804e21990fd135b4cfd47e34.png +0 -0
  91. data/test/dummy/public/assets/jquery-ui/ui-bg_glass_75_dadada_1x400-f341292284f79753f6c7437a4a56706e.png +0 -0
  92. data/test/dummy/public/assets/jquery-ui/ui-bg_glass_75_e6e6e6_1x400-d78f160584dc06a42b7309e5d6a6f181.png +0 -0
  93. data/test/dummy/public/assets/jquery-ui/ui-bg_glass_95_fef1ec_1x400-e9751011cbae1cab664dca499087cf35.png +0 -0
  94. data/test/dummy/public/assets/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100-648c6d3e57afdb3827bcf9da30572df6.png +0 -0
  95. data/test/dummy/public/assets/jquery-ui/ui-icons_222222_256x240-af300280aedd6d5650563b1c4ddb4170.png +0 -0
  96. data/test/dummy/public/assets/jquery-ui/ui-icons_2e83ff_256x240-6e705c14341602e315c8320420582407.png +0 -0
  97. data/test/dummy/public/assets/jquery-ui/ui-icons_454545_256x240-79df93e060c7f26739b6bdab208a83bb.png +0 -0
  98. data/test/dummy/public/assets/jquery-ui/ui-icons_888888_256x240-a37e590d37d1a4614f1e05f9a3fa270c.png +0 -0
  99. data/test/dummy/public/assets/jquery-ui/ui-icons_cd0a0a_256x240-d350ff5c368b707165371738d74a45f3.png +0 -0
  100. data/test/dummy/public/assets/manifest-2c14fa9337f42e56d7ee7bc25e91853c.json +1 -0
  101. data/test/dummy/public/favicon.ico +0 -0
  102. data/test/dummy/test/controllers/clients_controller_test.rb +49 -0
  103. data/test/dummy/test/controllers/orders_controller_test.rb +49 -0
  104. data/test/dummy/test/fixtures/clients.yml +11 -0
  105. data/test/dummy/test/fixtures/orders.yml +11 -0
  106. data/test/dummy/test/helpers/clients_helper_test.rb +4 -0
  107. data/test/dummy/test/helpers/orders_helper_test.rb +4 -0
  108. data/test/dummy/test/models/client_test.rb +7 -0
  109. data/test/dummy/test/models/order_test.rb +7 -0
  110. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_alerts.scssc +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_badges.scssc +0 -0
  112. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_breadcrumbs.scssc +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_button-groups.scssc +0 -0
  114. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_buttons.scssc +0 -0
  115. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_carousel.scssc +0 -0
  116. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_close.scssc +0 -0
  117. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_code.scssc +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_component-animations.scssc +0 -0
  119. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_dropdowns.scssc +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_forms.scssc +0 -0
  121. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_glyphicons.scssc +0 -0
  122. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_grid.scssc +0 -0
  123. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_input-groups.scssc +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_jumbotron.scssc +0 -0
  125. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_labels.scssc +0 -0
  126. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_list-group.scssc +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_media.scssc +0 -0
  128. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_mixins.scssc +0 -0
  129. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_modals.scssc +0 -0
  130. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_navbar.scssc +0 -0
  131. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_navs.scssc +0 -0
  132. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_normalize.scssc +0 -0
  133. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_pager.scssc +0 -0
  134. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_pagination.scssc +0 -0
  135. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_panels.scssc +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_popovers.scssc +0 -0
  137. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_print.scssc +0 -0
  138. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_progress-bars.scssc +0 -0
  139. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_responsive-embed.scssc +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_responsive-utilities.scssc +0 -0
  141. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_scaffolding.scssc +0 -0
  142. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_tables.scssc +0 -0
  143. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_thumbnails.scssc +0 -0
  144. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_tooltip.scssc +0 -0
  145. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_type.scssc +0 -0
  146. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_utilities.scssc +0 -0
  147. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_variables.scssc +0 -0
  148. data/test/dummy/tmp/cache/assets/development/sass/00c0d190ddd8c2872a4734aa8f23fac8f3f4f27c/_wells.scssc +0 -0
  149. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_alerts.scssc +0 -0
  150. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_background-variant.scssc +0 -0
  151. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_border-radius.scssc +0 -0
  152. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_buttons.scssc +0 -0
  153. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_center-block.scssc +0 -0
  154. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_clearfix.scssc +0 -0
  155. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_forms.scssc +0 -0
  156. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_gradients.scssc +0 -0
  157. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_grid-framework.scssc +0 -0
  158. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_grid.scssc +0 -0
  159. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_hide-text.scssc +0 -0
  160. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_image.scssc +0 -0
  161. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_labels.scssc +0 -0
  162. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_list-group.scssc +0 -0
  163. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_nav-divider.scssc +0 -0
  164. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_nav-vertical-align.scssc +0 -0
  165. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_opacity.scssc +0 -0
  166. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_pagination.scssc +0 -0
  167. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_panels.scssc +0 -0
  168. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_progress-bar.scssc +0 -0
  169. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_reset-filter.scssc +0 -0
  170. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_resize.scssc +0 -0
  171. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_responsive-visibility.scssc +0 -0
  172. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_size.scssc +0 -0
  173. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_tab-focus.scssc +0 -0
  174. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_table-row.scssc +0 -0
  175. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_text-emphasis.scssc +0 -0
  176. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_text-overflow.scssc +0 -0
  177. data/test/dummy/tmp/cache/assets/development/sass/826344a9bdbb4ce67201515fbc2643c96b5692c8/_vendor-prefixes.scssc +0 -0
  178. data/test/dummy/tmp/cache/assets/development/sass/a39e0369930579ee8c9c371998d66bc75345b4be/application.css.scssc +0 -0
  179. data/test/dummy/tmp/cache/assets/development/sass/cec4c201800e8a79a141df13cd1029773a871cb4/_bootstrap-sprockets.scssc +0 -0
  180. data/test/dummy/tmp/cache/assets/development/sass/cec4c201800e8a79a141df13cd1029773a871cb4/_bootstrap.scssc +0 -0
  181. data/test/dummy/tmp/cache/assets/development/sprockets/05304e2722415bbc5142bded0d637d5b +0 -0
  182. data/test/dummy/tmp/cache/assets/development/sprockets/067de15f6eed2b96ff2fef4779e1495f +0 -0
  183. data/test/dummy/tmp/cache/assets/development/sprockets/097f3cf94fac7a339daf65b4fbbbf469 +0 -0
  184. data/test/dummy/tmp/cache/assets/development/sprockets/09e7eed3751645884590e16723e8c7b4 +0 -0
  185. data/test/dummy/tmp/cache/assets/development/sprockets/0bf93caacb628748207c7b18f44e2ce5 +0 -0
  186. data/test/dummy/tmp/cache/assets/development/sprockets/13bbf50c11c4a0032c43cfedab28589c +0 -0
  187. data/test/dummy/tmp/cache/assets/development/sprockets/14ff7948a4a406b91a86768262212334 +0 -0
  188. data/test/dummy/tmp/cache/assets/development/sprockets/158c207e246f777fd1b202837deb4d2a +0 -0
  189. data/test/dummy/tmp/cache/assets/development/sprockets/15bf67bdb925b7dd96d635ec0088a5e1 +0 -0
  190. data/test/dummy/tmp/cache/assets/development/sprockets/1e9dbac6bb0ab62a1258e8e450ffc43a +0 -0
  191. data/test/dummy/tmp/cache/assets/development/sprockets/278146df7d7c18920d86a4ae7852fd8b +0 -0
  192. data/test/dummy/tmp/cache/assets/development/sprockets/28105053ec5c84ff23ba9a772770ae92 +0 -0
  193. data/test/dummy/tmp/cache/assets/development/sprockets/2acf447a8c29da6e4d89163a70ef0ae8 +0 -0
  194. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  195. data/test/dummy/tmp/cache/assets/development/sprockets/32f6f752901c13c529a37eb337113f1f +0 -0
  196. data/test/dummy/tmp/cache/assets/development/sprockets/346e797e518b143a4d66645c95d73528 +0 -0
  197. data/test/dummy/tmp/cache/assets/development/sprockets/38929ac56b95af9ff0142cfe13972e8f +0 -0
  198. data/test/dummy/tmp/cache/assets/development/sprockets/3afb0d89e1e96802e9878dbf7b9ba3a8 +0 -0
  199. data/test/dummy/tmp/cache/assets/development/sprockets/3b5b4cd2a1abf7f59590adc0be9c2e4b +0 -0
  200. data/test/dummy/tmp/cache/assets/development/sprockets/3e25f4c5c007ec48c5febf3a06a6c301 +0 -0
  201. data/test/dummy/tmp/cache/assets/development/sprockets/4127f13a5b8ce6faf84acfa698bcfbaf +0 -0
  202. data/test/dummy/tmp/cache/assets/development/sprockets/423defc0a61e0f9d7158ad173b4440d0 +0 -0
  203. data/test/dummy/tmp/cache/assets/development/sprockets/4708cc029aeffd33fd6d871326a69195 +0 -0
  204. data/test/dummy/tmp/cache/assets/development/sprockets/4a5472adf761a1d2f647e7900b5ef968 +0 -0
  205. data/test/dummy/tmp/cache/assets/development/sprockets/4bdbccbeace1fffd0d66c45b11c1cd39 +0 -0
  206. data/test/dummy/tmp/cache/assets/development/sprockets/4f494d96ea9500f27cd13f8f0023387b +0 -0
  207. data/test/dummy/tmp/cache/assets/development/sprockets/50dea07ea281a8cbea66d410c600a2ff +0 -0
  208. data/test/dummy/tmp/cache/assets/development/sprockets/5629567743085156cc027749c19c1ffb +0 -0
  209. data/test/dummy/tmp/cache/assets/development/sprockets/56bc640a0f9583792c60571e60eddae5 +0 -0
  210. data/test/dummy/tmp/cache/assets/development/sprockets/5d8aa60f935c97dcad777bcd7b918e91 +0 -0
  211. data/test/dummy/tmp/cache/assets/development/sprockets/61049b8df6c1b633546ac4d6b352977e +0 -0
  212. data/test/dummy/tmp/cache/assets/development/sprockets/69770d4ab285a55d14293db680d92d76 +0 -0
  213. data/test/dummy/tmp/cache/assets/development/sprockets/720375e2e5e9dbdd1d2596eb6f4ffea2 +0 -0
  214. data/test/dummy/tmp/cache/assets/development/sprockets/7403249712f49d78cd3a754390ee69d6 +0 -0
  215. data/test/dummy/tmp/cache/assets/development/sprockets/7a356d0e966dd72c226bcf7135d06241 +0 -0
  216. data/test/dummy/tmp/cache/assets/development/sprockets/7c653abf8262bcbff815599a9d6eb6bc +0 -0
  217. data/test/dummy/tmp/cache/assets/development/sprockets/8940a3fa55913c130433eaf2b1147b8a +0 -0
  218. data/test/dummy/tmp/cache/assets/development/sprockets/8ab512c9b33ac90e699b73469d71f061 +0 -0
  219. data/test/dummy/tmp/cache/assets/development/sprockets/8eda70465594d269ff72217d71e139f7 +0 -0
  220. data/test/dummy/tmp/cache/assets/development/sprockets/92f86cdf28d08db9f59aa10f2eb19a6e +0 -0
  221. data/test/dummy/tmp/cache/assets/development/sprockets/9b033013c82fee3eadfd068f18eb5fde +0 -0
  222. data/test/dummy/tmp/cache/assets/development/sprockets/a42a698569fb032e296fd80b809d31e1 +0 -0
  223. data/test/dummy/tmp/cache/assets/development/sprockets/a4d0dcd6736789a4e61a05c0b0d4f6d8 +0 -0
  224. data/test/dummy/tmp/cache/assets/development/sprockets/b2e65f0fccfa235b5d60262df3e10aae +0 -0
  225. data/test/dummy/tmp/cache/assets/development/sprockets/b48b23ce9dee63a2449cc13d923a587e +0 -0
  226. data/test/dummy/tmp/cache/assets/development/sprockets/bafa439ba35a0831ed26638af2634282 +0 -0
  227. data/test/dummy/tmp/cache/assets/development/sprockets/bb06a5a9c23f9fedeb77029977958bed +0 -0
  228. data/test/dummy/tmp/cache/assets/development/sprockets/bcca522c6302f184f12fe0e8a7d7e71a +0 -0
  229. data/test/dummy/tmp/cache/assets/development/sprockets/c13fc73ceafa45876a901b3e775b83ae +0 -0
  230. data/test/dummy/tmp/cache/assets/development/sprockets/c1539958d8d5f93bfaad4f3cc9d21047 +0 -0
  231. data/test/dummy/tmp/cache/assets/development/sprockets/c99fb99f69104b46f747c743409df324 +0 -0
  232. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  233. data/test/dummy/tmp/cache/assets/development/sprockets/d2c64b08d25425455b7d9d66e142fa0b +0 -0
  234. data/test/dummy/tmp/cache/assets/development/sprockets/d5a46b2a46d7423c5287fc57e24aba11 +0 -0
  235. data/test/dummy/tmp/cache/assets/development/sprockets/d5e8ebed7a8e96a30f28d4b06fa5a6c4 +0 -0
  236. data/test/dummy/tmp/cache/assets/development/sprockets/d6f08cc14c885cf7a55e95ed54172a89 +0 -0
  237. data/test/dummy/tmp/cache/assets/development/sprockets/dab5e3951e6d81b6edca28eb6c66964c +0 -0
  238. data/test/dummy/tmp/cache/assets/development/sprockets/db8ec0c14f31d98a8ceb8365ade470e6 +0 -0
  239. data/test/dummy/tmp/cache/assets/development/sprockets/ee91e123536718a81d5d676d83f421c4 +0 -0
  240. data/test/dummy/tmp/cache/assets/development/sprockets/f2ad9aef860b7792f7542318c4731fe0 +0 -0
  241. data/test/dummy/tmp/cache/assets/development/sprockets/f62fbf566f3d7493edb2d257079b377a +0 -0
  242. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  243. data/test/dummy/tmp/cache/assets/development/sprockets/f8f634cf3fb2563597257d30d0cc25fc +0 -0
  244. data/test/dummy/tmp/cache/assets/development/sprockets/fc1c8dd76249106a788624558da20062 +0 -0
  245. data/test/dummy/tmp/cache/assets/development/sprockets/fff835239214e2c684bd8ff954854862 +0 -0
  246. data/test/test_helper.rb +16 -0
  247. metadata +558 -0
@@ -0,0 +1,62 @@
1
+ Rails.application.routes.draw do
2
+ resources :orders do
3
+ get :autocomplete_client_name, :on => :collection
4
+ end
5
+
6
+ resources :clients
7
+
8
+ # The priority is based upon order of creation: first created -> highest priority.
9
+ # See how all your routes lay out with "rake routes".
10
+
11
+ # You can have the root of your site routed with "root"
12
+ # root 'welcome#index'
13
+
14
+ # Example of regular route:
15
+ # get 'products/:id' => 'catalog#view'
16
+
17
+ # Example of named route that can be invoked with purchase_url(id: product.id)
18
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
19
+
20
+ # Example resource route (maps HTTP verbs to controller actions automatically):
21
+ # resources :products
22
+
23
+ # Example resource route with options:
24
+ # resources :products do
25
+ # member do
26
+ # get 'short'
27
+ # post 'toggle'
28
+ # end
29
+ #
30
+ # collection do
31
+ # get 'sold'
32
+ # end
33
+ # end
34
+
35
+ # Example resource route with sub-resources:
36
+ # resources :products do
37
+ # resources :comments, :sales
38
+ # resource :seller
39
+ # end
40
+
41
+ # Example resource route with more complex sub-resources:
42
+ # resources :products do
43
+ # resources :comments
44
+ # resources :sales do
45
+ # get 'recent', on: :collection
46
+ # end
47
+ # end
48
+
49
+ # Example resource route with concerns:
50
+ # concern :toggleable do
51
+ # post 'toggle'
52
+ # end
53
+ # resources :posts, concerns: :toggleable
54
+ # resources :photos, concerns: :toggleable
55
+
56
+ # Example resource route within a namespace:
57
+ # namespace :admin do
58
+ # # Directs /admin/products/* to Admin::ProductsController
59
+ # # (app/controllers/admin/products_controller.rb)
60
+ # resources :products
61
+ # end
62
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: c56ba24a5135e5659a14c862e4535535b572fd3fe6db31649167827de10626936c096d909af9029855f335c889d13068a51347143c164cbcc0d2bcda84ba6723
15
+
16
+ test:
17
+ secret_key_base: 449cf746bb6127d471977824650ad2b908e1b205d6da6584631dc78f43f59aa35ea87da3a06a08209b5d4def281134f288c1971ce95f2b0d1ebb10ee7a4f2dfb
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
Binary file
@@ -0,0 +1,10 @@
1
+ class CreateClients < ActiveRecord::Migration
2
+ def change
3
+ create_table :clients do |t|
4
+
5
+ t.string :name
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,12 @@
1
+ class CreateOrders < ActiveRecord::Migration
2
+ def change
3
+ create_table :orders do |t|
4
+
5
+ t.string :notes
6
+ t.string :product_name
7
+
8
+
9
+ t.timestamps
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,6 @@
1
+ class AddClientToOrder < ActiveRecord::Migration
2
+ def change
3
+
4
+ add_column :orders, :client_id, :integer
5
+ end
6
+ end
@@ -0,0 +1,30 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20141224032000) do
15
+
16
+ create_table "clients", force: true do |t|
17
+ t.string "name"
18
+ t.datetime "created_at"
19
+ t.datetime "updated_at"
20
+ end
21
+
22
+ create_table "orders", force: true do |t|
23
+ t.string "notes"
24
+ t.string "product_name"
25
+ t.datetime "created_at"
26
+ t.datetime "updated_at"
27
+ t.integer "client_id"
28
+ end
29
+
30
+ end
@@ -0,0 +1,13 @@
1
+ <%%= simple_form_for(@<%= singular_table_name %>) do |f| %>
2
+ <%%= f.error_notification %>
3
+
4
+ <div class="form-inputs">
5
+ <%- attributes.each do |attribute| -%>
6
+ <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
7
+ <%- end -%>
8
+ </div>
9
+
10
+ <div class="form-actions">
11
+ <%%= f.button :submit %>
12
+ </div>
13
+ <%% end %>
@@ -0,0 +1,163 @@
1
+
2
+
3
+ Started GET "/orders/new" for 127.0.0.1 at 2014-12-25 03:57:30 +0200
4
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Processing by OrdersController#new as HTML
6
+ Rendered orders/_form.html.erb (105.0ms)
7
+ Rendered orders/new.html.erb within layouts/application (109.0ms)
8
+ Completed 500 Internal Server Error in 54001ms
9
+
10
+ ActionView::Template::Error (
11
+ (in D:/mmx/projects/www/myrails/bootstrap3_autocomplete_input/test/dummy/app/assets/javascripts/application.js)):
12
+ 3: <head>
13
+ 4: <title>Dummy</title>
14
+ 5: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
15
+ 6: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
16
+ 7: <%= csrf_meta_tags %>
17
+ 8: </head>
18
+ 9: <body>
19
+ app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___166866100_43449204'
20
+
21
+
22
+ Rendered D:/Ruby200p451x32/lib/ruby/gems/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
23
+ Rendered D:/Ruby200p451x32/lib/ruby/gems/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
24
+ Rendered D:/Ruby200p451x32/lib/ruby/gems/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.0ms)
25
+
26
+
27
+ Started GET "/orders/new" for 127.0.0.1 at 2014-12-25 03:58:24 +0200
28
+ Processing by OrdersController#new as HTML
29
+ Rendered orders/_form.html.erb (8.0ms)
30
+ Rendered orders/new.html.erb within layouts/application (10.0ms)
31
+ Completed in 129ms
32
+
33
+
34
+ Started GET "/orders/new" for 127.0.0.1 at 2014-12-25 03:58:41 +0200
35
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
36
+ Processing by OrdersController#new as HTML
37
+ Rendered orders/_form.html.erb (80.0ms)
38
+ Rendered orders/new.html.erb within layouts/application (85.0ms)
39
+ Completed 500 Internal Server Error in 61472ms
40
+
41
+ ActionView::Template::Error (
42
+ (in D:/mmx/projects/www/myrails/bootstrap3_autocomplete_input/test/dummy/app/assets/javascripts/application.js)):
43
+ 3: <head>
44
+ 4: <title>Dummy</title>
45
+ 5: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
46
+ 6: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
47
+ 7: <%= csrf_meta_tags %>
48
+ 8: </head>
49
+ 9: <body>
50
+ app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___117824639_33822924'
51
+
52
+
53
+ Rendered D:/Ruby200p451x32/lib/ruby/gems/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
54
+ Rendered D:/Ruby200p451x32/lib/ruby/gems/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
55
+ Rendered D:/Ruby200p451x32/lib/ruby/gems/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.0ms)
56
+
57
+
58
+ Started GET "/orders/new" for 127.0.0.1 at 2014-12-25 03:59:43 +0200
59
+ Processing by OrdersController#new as HTML
60
+ Rendered orders/_form.html.erb (12.0ms)
61
+ Rendered orders/new.html.erb within layouts/application (13.0ms)
62
+ Completed in 100ms
63
+
64
+
65
+ Started GET "/orders/new" for 127.0.0.1 at 2014-12-25 04:02:36 +0200
66
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
67
+ Processing by OrdersController#new as HTML
68
+ Rendered orders/_form.html.erb (147.0ms)
69
+ Rendered orders/new.html.erb within layouts/application (154.0ms)
70
+ Completed 500 Internal Server Error in 57309ms
71
+
72
+ ActionView::Template::Error (
73
+ (in D:/Ruby200p451x32/lib/ruby/gems/2.0.0/gems/jquery-rails-3.1.2/vendor/assets/javascripts/jquery.js)):
74
+ 3: <head>
75
+ 4: <title>Dummy</title>
76
+ 5: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
77
+ 6: <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
78
+ 7: <%= csrf_meta_tags %>
79
+ 8: </head>
80
+ 9: <body>
81
+ app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___315908633_43324008'
82
+
83
+
84
+ Rendered D:/Ruby200p451x32/lib/ruby/gems/2.0.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (1.0ms)
85
+
86
+
87
+ Started GET "/orders/new" for 127.0.0.1 at 2014-12-25 04:04:24 +0200
88
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
89
+ Processing by OrdersController#new as HTML
90
+ Rendered orders/_form.html.erb (176.0ms)
91
+ Rendered orders/new.html.erb within layouts/application (186.0ms)
92
+ Completed 200 OK in 473ms (Views: 463.0ms | ActiveRecord: 1.0ms)
93
+
94
+
95
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-12-25 04:04:25 +0200
96
+
97
+
98
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-25 04:04:25 +0200
99
+
100
+
101
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-25 04:04:25 +0200
102
+
103
+
104
+ Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-12-25 04:04:25 +0200
105
+
106
+
107
+ Started GET "/assets/bootstrap3-typeahead.js?body=1" for 127.0.0.1 at 2014-12-25 04:04:25 +0200
108
+
109
+
110
+ Started GET "/assets/bootstrap3-autocomplete-input.js?body=1" for 127.0.0.1 at 2014-12-25 04:04:25 +0200
111
+
112
+
113
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-12-25 04:04:25 +0200
114
+
115
+
116
+ Started GET "/orders/autocomplete_client_name?q=b" for 127.0.0.1 at 2014-12-25 04:04:29 +0200
117
+ Processing by OrdersController#autocomplete_client_name as JSON
118
+ Parameters: {"q"=>"b"}
119
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') ORDER BY clients.name ASC LIMIT 10
120
+ Completed 200 OK in 11ms (Views: 0.0ms | ActiveRecord: 2.0ms)
121
+
122
+
123
+ Started GET "/orders/autocomplete_client_name?q=ba" for 127.0.0.1 at 2014-12-25 04:04:30 +0200
124
+ Processing by OrdersController#autocomplete_client_name as JSON
125
+ Parameters: {"q"=>"ba"}
126
+ Client Load (1.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'ba%') ORDER BY clients.name ASC LIMIT 10
127
+ Completed 200 OK in 2ms (Views: 0.0ms | ActiveRecord: 1.0ms)
128
+
129
+
130
+ Started GET "/orders/new" for 127.0.0.1 at 2014-12-25 04:17:30 +0200
131
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
132
+ Processing by OrdersController#new as HTML
133
+ Rendered orders/_form.html.erb (215.0ms)
134
+ Rendered orders/new.html.erb within layouts/application (226.0ms)
135
+ Completed 200 OK in 618ms (Views: 608.0ms | ActiveRecord: 1.0ms)
136
+
137
+
138
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-12-25 04:17:32 +0200
139
+
140
+
141
+ Started GET "/assets/bootstrap3-typeahead.min.js?body=1" for 127.0.0.1 at 2014-12-25 04:17:32 +0200
142
+
143
+
144
+ Started GET "/assets/bootstrap3-autocomplete-input.min.js?body=1" for 127.0.0.1 at 2014-12-25 04:17:32 +0200
145
+
146
+
147
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-12-25 04:17:32 +0200
148
+
149
+
150
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-12-25 04:17:32 +0200
151
+
152
+
153
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-12-25 04:17:32 +0200
154
+
155
+
156
+ Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2014-12-25 04:17:32 +0200
157
+
158
+
159
+ Started GET "/orders/autocomplete_client_name?q=b" for 127.0.0.1 at 2014-12-25 04:17:45 +0200
160
+ Processing by OrdersController#autocomplete_client_name as JSON
161
+ Parameters: {"q"=>"b"}
162
+ Client Load (0.0ms) SELECT clients.id, clients.name FROM "clients" WHERE (LOWER(clients.name) LIKE 'b%') ORDER BY clients.name ASC LIMIT 10
163
+ Completed 200 OK in 25ms (Views: 1.0ms | ActiveRecord: 1.0ms)
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>