bootstrap3_autocomplete_input 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/Rakefile +32 -32
- data/app/inputs/autocomplete_input.rb +76 -76
- data/lib/assets/javascripts/bootstrap3-autocomplete-input.js +137 -137
- data/lib/assets/javascripts/bootstrap3-typeahead.js +476 -476
- data/lib/bootstrap3_autocomplete_input.rb +23 -23
- data/lib/bootstrap3_autocomplete_input/controllers/autocomplete.rb +73 -73
- data/lib/bootstrap3_autocomplete_input/orm.rb +6 -6
- data/lib/bootstrap3_autocomplete_input/orm/active_record.rb +90 -62
- data/lib/bootstrap3_autocomplete_input/orm/mongo_mapper.rb +30 -30
- data/lib/bootstrap3_autocomplete_input/orm/mongoid.rb +44 -44
- data/lib/bootstrap3_autocomplete_input/rails/engine.rb +15 -15
- data/lib/bootstrap3_autocomplete_input/simple_form_inputs.rb +77 -77
- data/lib/bootstrap3_autocomplete_input/version.rb +3 -3
- data/lib/tasks/bootstrap3_autocomplete_input_tasks.rake +4 -4
- data/test/bootstrap3_autocomplete_input_test.rb +7 -7
- data/test/dummy/README.rdoc +28 -28
- data/test/dummy/Rakefile +6 -6
- data/test/dummy/app/assets/javascripts/application.js +18 -18
- data/test/dummy/app/assets/stylesheets/application.css.scss +3 -3
- data/test/dummy/app/controllers/application_controller.rb +5 -5
- data/test/dummy/app/controllers/clients_controller.rb +66 -66
- data/test/dummy/app/controllers/orders_controller.rb +62 -62
- data/test/dummy/app/helpers/application_helper.rb +2 -2
- data/test/dummy/app/helpers/clients_helper.rb +2 -2
- data/test/dummy/app/helpers/orders_helper.rb +2 -2
- data/test/dummy/app/models/client.rb +3 -3
- data/test/dummy/app/models/order.rb +3 -3
- data/test/dummy/app/views/clients/_form.html.erb +18 -18
- data/test/dummy/app/views/clients/edit.html.erb +6 -6
- data/test/dummy/app/views/clients/index.html.erb +24 -24
- data/test/dummy/app/views/clients/new.html.erb +5 -5
- data/test/dummy/app/views/clients/show.html.erb +4 -4
- data/test/dummy/app/views/layouts/application.html.erb +14 -14
- data/test/dummy/app/views/orders/_form.html.erb +58 -58
- data/test/dummy/app/views/orders/edit.html.erb +6 -6
- data/test/dummy/app/views/orders/index.html.erb +23 -23
- data/test/dummy/app/views/orders/new.html.erb +5 -5
- data/test/dummy/app/views/orders/show.html.erb +4 -4
- data/test/dummy/bin/bundle +3 -3
- data/test/dummy/bin/rails +4 -4
- data/test/dummy/bin/rake +4 -4
- data/test/dummy/config.ru +4 -4
- data/test/dummy/config/application.rb +25 -25
- data/test/dummy/config/boot.rb +5 -5
- data/test/dummy/config/database.yml +25 -25
- data/test/dummy/config/environment.rb +5 -5
- data/test/dummy/config/environments/development.rb +37 -37
- data/test/dummy/config/environments/production.rb +78 -78
- data/test/dummy/config/environments/test.rb +39 -39
- data/test/dummy/config/initializers/assets.rb +8 -8
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +2 -2
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -4
- data/test/dummy/config/initializers/inflections.rb +16 -16
- data/test/dummy/config/initializers/mime_types.rb +4 -4
- data/test/dummy/config/initializers/session_store.rb +3 -3
- data/test/dummy/config/initializers/simple_form.rb +166 -166
- data/test/dummy/config/initializers/simple_form_bootstrap.rb +136 -136
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/test/dummy/config/locales/en.yml +23 -23
- data/test/dummy/config/locales/simple_form.en.yml +31 -31
- data/test/dummy/config/routes.rb +67 -67
- data/test/dummy/config/secrets.yml +22 -22
- data/test/dummy/db/migrate/20141224031843_create_clients.rb +10 -10
- data/test/dummy/db/migrate/20141224031854_create_orders.rb +12 -12
- data/test/dummy/db/migrate/20141224032000_add_client_to_order.rb +6 -6
- data/test/dummy/db/schema.rb +30 -30
- data/test/dummy/public/404.html +67 -67
- data/test/dummy/public/422.html +67 -67
- data/test/dummy/public/500.html +66 -66
- data/test/dummy/test/controllers/clients_controller_test.rb +49 -49
- data/test/dummy/test/controllers/orders_controller_test.rb +49 -49
- data/test/dummy/test/fixtures/clients.yml +11 -11
- data/test/dummy/test/fixtures/orders.yml +11 -11
- data/test/dummy/test/helpers/clients_helper_test.rb +4 -4
- data/test/dummy/test/helpers/orders_helper_test.rb +4 -4
- data/test/dummy/test/models/client_test.rb +7 -7
- data/test/dummy/test/models/order_test.rb +7 -7
- data/test/test_helper.rb +16 -16
- metadata +52 -486
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -2627
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-mg3cfVFSDhBqP-XzMLP8Dwo1RHblXwbdIZm4HAoTuc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/082UVi_1sOVWVqPnygarA-XSDB6cV7NP4oDu9J-uhxM.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0Wm9sjUP5phpz-bcSyYtDJ8OUlF3Er7bzLsUH9luI0k.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1OJ54PWRkRuZLp9BRvEbP46vrnFr3ir1wvQcLc8ftcI.cache +0 -3
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1XGjOrpumIescxwYl95_qyLE0lT0f2Aqd9hzf3X2Ph0.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/2Vvymvw-ArKlWEE9eCR8soxug0U32pBrce9x0et-S0E.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3TuMmRZUa3QpRehDpPSWdLOGr4p_22o3G6QYfOjVcks.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3_UhoV9-saSaapW3bvqBystOFh1ML5l6gwsGNxyzZZQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5VlpCU8VdVcyFp0w3VC2TJTsVZtqlKCk2BoET2fT1Fs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5jl9-TjIonU1XabC4NkgFRCvjf6P-3SZAswo9jeE23w.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6pSco-V92AQ--GbyX6wt6FTmW1Rojz3vDGnDoVW3xVc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6vjN9xjdZSKSsXUskAPP9R7UrmT1wzmGmN0Idlm1gp8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7RUyWORZuXmYQjgt32wLwDWbijKL0mA9pewx4fBA9rY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7f6Qq4TzdvRxyc5ckM66Mwle9V0p7Aies1N2uQ8z3iQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7trESZUdYEuU92IT9rt7G8FN-DH77gsFw7kU3HeURNc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/87aFyQL4cOOlhdxFzvmLFnDF3LNIj1N8Ks16rexpctc.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8FTEaiMwyiIYNrhFe4y-Spu31L1d07Yi9e9uvRU0QpA.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8RapAgTzItOMZ9TolQUY0M8kb4nTyhzZjlHaFHil8Q4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8YGvwclY8pAsgGkVLJeB9XhQH5Zv1Yeg1o7cg0mEjdo.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8zUcnPDeXuFxmKiRTQgvOurUYRiQ4gRO4YPcyHyVTLs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/90DsKBtMsI5D_C1JMj_bP3H8lvca52ZplB6KF23dRbg.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/A0_Xr2l3r9_Oz82aHePa3hcqFOkoGVXGtnrb07dwd3s.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AsBUMdWWGdh5lJqDWKcHniKyJk3722WbF2iM2XL6QmE.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/B3WeCR_rV2iTTqEZ6_2eXhBzxbWJInsIZHXpqfk6Y_M.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Bjhopp-9PvELN3upkFHAI0Uv9rP8AJDRi0yqDv_IwTc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C32CVY13oEp0mPJVRa5kaLmTI7QloaZ6vCNu62IZ-gY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CxSWaEO-QN1FmFJBC_hQHxMegmhik32Mqantfzl6JIs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/D4yP3bLk-x0IlcoUyFzwiNBzq_jAkPH49_8IfkptI7o.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DIzGmQDCNsDRSIRFVSk4kFublL0D8LeaNFMvgCpNVIU.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DPkilqzfaA3umf0MXBcYPywQRXd3rfJxMx8GhcRc7vU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DeEMv0tVVEn7zD45CKh11V3LklKoGIvPuLE91yOGXOg.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EAmyjUi3KjRROjuP0SSp0KiXMYWnMF9WDN3nAbY1BSQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ECw8oXwisAngKBewE5LglwfywaX1ZswIulGcEkKFGhY.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EyGjwWjMj6igPpxdMpcG0vEpffIdSEmrx2RLmOUfli8.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FEPuoQ0IPdwhbqb3PQkxqxbRV0LVK9ZmBzBGoxa_I00.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FoGWpRX7afmu67Jq7r4sf609l79Ntt6CW0d9Ay6gX2U.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GBO9pYH-F7fXbaJzq47ogLfLjw5bAnr0f8u-H5KWXFw.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GZv7pkbus2LMXx4jrsZRKBJzHNau83xU3EgqNJWDlFA.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Gu6_xrJohm7qV8PJyGk0Oxxa16MKGICo8OxIUB56-FE.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HxvtLGuzmwxsz89M7vQtB5qTILHWnRpPAQE-IJ3nH0c.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HzyjhR0DQBOd2PaLK1cKafo3QR2tBxWFfRp0KYttDQY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IIa5NJ3b54gqjXm_r7azOhqQdcJxYpFxEl__yy3R1zY.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ILrKhSF0jB_k9rahZdSFyfUGxwHg1MPOqPnU7MQDWhc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IYF5Xr-DDYbL4UVJuO8qta_9-qKMMGDBAkQ94rBIlkQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IvZubCuP04pQISsRTpbhkF9pXpkzgstJu9N3nk4flfk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/J8E2XbtdYRFzyGGw20KtQ0qLtgg-ymD8PR6dyyPZ21w.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JR3sf0ki9amnEgEj1Mokt6SZd41-J7LcZTofu5oUaHI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JSVBjAIvli26KJW3oQWyQpBuv80uoUG7ZXx94c6HPR0.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JSfhfWhM1DxhGsiJWJUe5QQkMuWoAcaQCcjxCKLJuSI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JYzvA33zPy65KMWhoYzvXg2BMBZu8nCtFuXAPk93aBI.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/J_Yyw2ATOsNj-XkBW10o2l1q4WvJhcUz0MVfOBRfIBY.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/J_g-Ctv30oacCpYIXEnspJVj5nhwcc1G5gKL8fV5kak.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Jd4Iit9GGGNMuaK3o5d4Y_oZqUA3B61LPjTIpZmcjzw.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JyWZW92KT7tmNNKXhLWT3qobZsQhRaT2bs-rbcbArYM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KC0_UN2KcaGc-NR459hIk2QX1iZWkgRDzhzRz3kI1Xk.cache +0 -3
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KItyyjW6QVzn7sxcSs2XLvRaPOtS-iBifPqN4OCS0GY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KZsf2MPGz94sY7B4BiaVKNCA5W4sQCGFVT5qjwTXgN4.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LN_0nSezQWSIdU_Uz5kVG91Ym9JhOlQkQHp6zYctnuY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LWeTLQ8VjhwXeVMQoIp9U_CIEpAL1PdvN_pU33cjJdk.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LfdhM5RArodRURrLBHQSiOnzt_vMxWvKmeghn6n9vQw.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/LrWZNKEUGOCnMSAn6NkLbomPeA5EhjgHO7WXn8Ulxpg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MMGcng9AbTQMzwlxa1UgG8B8aI9pZI4n9JxUiVNL1U8.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MZqvis7D-2gKkdUIU5yp_IJO-D2CWo7Nrd45cY2JNSY.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MzEV6fJSpdy62ogdE9ikujeScuKDPU2E78ERuNF4xKo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/N-JqiFyTPzJTn5hjIL7Ahc7dW2TPHrxhEvANMn5AHhY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/N8L3WZ9ANXrOtFrb_MoORsu6CErBJm-tCdFgnFHBwbg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NEX1JAF9guTFiVP3YP31jbddxlzkUs0xgpQi2SyoDBc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NgogLyEBrvYGv_tH7utcr_9OSfs_OyLOyfV76RwwRXo.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OhVftbcKbSB5zhog5-bu7jcN9wFao3VU98M322u7wqI.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OhidgkgVFzwIoiMGWF1B9tRi4Ies9O_vpiD4v7jSxdY.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Orn1Yj7AVRbJPKvuBJqXVFnTTv9LKtNwzapG5T34jAw.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Os04_CMTZ6F_GmaIG2z5p7yTUvHkl3uZZjIimOAZiY0.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OvaolF2YxXFT-gqECgnmB0LiW2i-t6nOY9oTeirHNzQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/P2V-Ovyqm4T0JzasUMA9pCnlsb1Ij4ywZr7UisdC2jw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/P2Zq5nKOLCy7FHa0CJ-2v4smLn__DVMlUSqrbWsCZ2g.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/P6_dsNeHAHAQUsMliBsdafiKgtnFzDmruwAK3Q38pEs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/P6neqKcrEsu8ukITrwMd6IKqV-hdBstjb4YXfN1A5RU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PYXQf7HcioPGLdg-FkvFwb9H4M7dpnqxiCxcH6GEEoo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QJZnPy0B78GDW8AHjsmH5Z1kolbJx9M520qO3H1MqFE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QjeHRInHgH27aKMBz0aChi-sEzwVHxI1Wye66eyDSM0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/R-htS2rUHlwXbZsOkR_0MDyt_p1AeDZ7M5hthwOTIy0.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/R2eKuma6r5T-JYK5aTaUEiQz3bWFarruvXVLzTwW6NM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/REHqXpycn1OKJ0O8Vmmoy54oykoAI3anI5sx644MSYQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RGDkSsDYa4ramOeJ_xYoXXOWqzPTRPXhbMp-cild_hk.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RVPuML7pT8VmCwQJfokwaI4zVfywzNZmDaIbUZKDee4.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/S13J0Ops4qBWriffiNoRVqjqVmNp3QOGgkGBmas8Wgs.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SYiemk-M5wpk6kxMFaA-dpt6LntbGwlHB1lN100WOkk.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SctZ-y_jn60jeJnI5AlkhB3UPkqSJolpZBD7glUL1SI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/T9AKQ6uCfcFEigmg-D-wdaVUSZQxbW9TR9XJR_BenEI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TDb22JK3GENwB0yF60qoEAyp5DIXdIpJcqcwuIxlg9o.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TEVe4-EpoZMDiUI1Fu0tCWhe-DrRVBfExtz_AO7hmtc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TYSYRZ6Z5910GOa35MabybbWLGsVPhvpKMZGqnNyd_8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TlJqmu6aAbgHwvXfbj2gBLArpK7GY7omM80Cati3T3c.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UFJ4N180Ot1RILZFOe56MhmOZSJy8nbMVSsTsb8_CVU.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UNkTv1FylEh8fw3-k3uJg0YaMQXHTdd6A1UEF4si9X8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UuI2Gce5G0Ww5Dp7hPSOCHHoRQjospt-pS9pwloQnYQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/V25Gpa1WB6ADmMXtf7IsMUV2IU9w0GgMj-5UbvHXoxc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VOp0pIv_pTt1jyD5JQn5Ee721CyQFQTGdnz4ODw38i4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VUjcp-qjg_eSBSj28ZD45AGXVVNPPtZodEd3PQrdXbM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VZIT-kF6ym-iLPU_pztoFEZet62g8F8J1lf_h3RdPP8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VxLb9zk1LVSL6c3-w5Pyu8He1E2tOUk0ZoC7jUOgt_s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WOec0Og8roHMzmakL0zgx2qYUokH4lQjfarxNkmDr0Q.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WhN3OwAW2K4ws8-nLRP-3nrzIF9k8by6CuchA3yt7W4.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WtVmBMzLLmV3cexGM5_fxt72pPmeRyKsyLRzTvZAVyE.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XNS-blhVgxl3ACd11rN_B_pZa3ZcADOQalh9tKd_11o.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Y4QAv-xWe9eQSr_F9CYHygNR_2YM_eQ0KtJosGGh8Fk.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YHcpExBZ8Zq0_J5bgNr7QMZ5qD8jWUBRCID56H2bwSg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZDCEwTTs3nQrR7_jdywpWmuLAiDtEY5QseYHAhmKhoM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZHpAXVoZdZeK39MIrikrGN5quZzpFJKvD3d0acEhCJ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZKRR7Austip-cnR-FRsJl7d9vuPnKS72rhD28vcDzM0.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Zd5NkPUfggpcIZ_fNmKieLC_EQdg9LDxnoL091WrO4g.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_ebQSkgdU7qSefmDH1VQlcdNskETX_Sg8EXW9q1LceE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_oTf_eXfNZrpsHw18Vm63FFItRTs4xEfbOVPefWOhZ8.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aJiK_3TkkLIeUmhbLvKn0nYbfNtL1DIR8XcQNRKA_5E.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/aRB5sfveCnELcQsQDQNsZof-Sk5pSWO9pDKjFux7Oq0.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bKIG8vYV989yh8qLSqDNcPnK8QkJDs2p_siUsUdqMi0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bPqmxYqgFbdAFSzKQvJDY4IQ4T6N3mBSwO3anpDc7pc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c38Ct4xwkFRaFTtshlrAqDUpfvF3nvsSYT9SCDc5l0w.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cKUNNkuaHgU4GPC0tnKxWZHoWP3Y41f226dFcumeGgg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cXV4XFi7Fdq2Wcfu228XjiYWU2zSIaVnG7qdigLQiP8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/d2y5yaFNfFXIAK-MdSpmxwjS8rtxEJmmu4SRrCLu024.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dAGLlyIO5_WkACHWq888mr7lRxAhbtJBaBQdeaD8osI.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dPiBjlGXffCeZgyh_-MEhe6ls_jD2DwRgg99-wvSPbI.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/e9W2mtZbewWcQvned6WhRk0vyAN0G214B_YhNbgetfU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/encDkuyjTN2ynLUIuEo0QmxTmqj---nu-farRYams_o.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/f991mNctvTDwoAEV0n5rs-FSpg7JNuRSPGgUYp4vXbs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fE7AiWk5ok17an4SOitj3MAX7QqgQHdjs6s0tVZhk8o.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fe8eGGCQQR5uiCpw2bx7s5RsSWb9f_V-KC4WKTWjfBo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fhGKBaZLb5ntRCA2Sz7MEpnkzVsnbZ6SUQqDJ2bGTjY.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fkojyc_IoxwXmFmmqaonisRO3pEk62lThpeqXZnwZS0.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fo9Av-3dEhaG96b0clmWHk-YmTzxnUjEOEEnE48iTPw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fxxwVBnrGbn4UkXXP4WnuEHFZta-yb1nYtqqGkv67dw.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g3bqmsWAx47hbF9GuGpkKwkD_wV4_sDnXSwczgv_VvY.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g3i-jmc4ZlWPfOlFYPoxuxT3TOViO06iAKkqj1eoB18.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gRI-pcFrPsEpwuEPpmvGNVc7-OuQ5uDq0TMtaDp84II.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gRYAmqUkkNzzPNApj2TKQECWlU2WIavwO2HpA4CaSSg.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gfawGFrAFwNjKdml-B2K1XLsPcflqJMY1hPKulcEDH4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gguGKFbZ33ujIAd60uBzLXT8zfh8uzvhww75n9CNWes.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gqMCKsEmDOFbKbq6J9tlppjvMjRbljn5qiwywfEaC68.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hzpC-lkPG3h5g3d3gqd4hAXpmmK3bLg_FOAXNYPcEXI.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iBDA_8qTARjY-sLzGKQ0IpdK6VZryiy1v8akmXXl6Qs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iBEZOY291Pf3KFBRLScEoUMw27Q4_V7-ydNUJcdAlCk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iCW6TjgfeLPI7IjVwbI7GtD0QFXlzMLtPzA8EOtlVJc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/igKeTb6HRrsLCjVMF3TZ1XFeXzgL67knSwMs6fzCQs4.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/j0gO2KugZ-oSi3EoJHmQac1dzSNqZ6Ovm_laQaDINXc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jLU80UXQ0ID0T2wuQzgTpeiz66a-mX51ut7gKpXHhkY.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jUFu99w0h91M-He0NmmHxyVxS2NhzIge_LMXAX3Cv68.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jUtvD4pGbNMtwpJMzluLvDskTPoioE73ED3zBiSSXh0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jeM8vKKoogFV14R2GCf85YYWgwxds-1CqhQE-7lMKtc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jrzFg7pc95kxRo2lb43_oaVewpNnV-KSgajlXErKSEk.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kKm32HSrKMZlMtbTkoMrnKhLhyIm0gxAairQ2gx2O2g.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kMi-8icN6HhEfPwsT0M7Dw-jG1-UufNVL529kynEBRo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kQUK-_C_L3ym9vNQMTpE4YIPrneID5wcTIbqypcTPko.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kkSYXaKZZhAPmXpFX2AmSLz_k89oPQGrg0gpAEXUzJ8.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kwN5L5AIOz-2MqVh33NySA7fbnGZzs5ytUkqErBtSjc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kzjV1XvHvZn0w8OYa3ZCP0CO8QUKAUVpT8XJ-d4GBWc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lN-7mRUOKKfxPL9N43WtaVS5J_ok7iPAEjWGDOCua-E.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mGBRBidXLSMOB1ECqghR43QY3muC73O5NE5ggxFNyiU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mN-fmL62gvfyR766IjSDaugwGQoZZdScSQRx0nRYxzk.cache +0 -4
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mPN2zlPa22thNd0_hmtUT2YCnIiZvcm0Wnlzl0BlUjY.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mbwg-wWpR9gQsd9PMZQSpXcG8uEZg5e3QoDhy8Q9yyA.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mg_fszp08FvNbPqxWRRiiWONLIAPqF38R-ZyXRjOffs.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mo-0aZm-MLAcjfJeQ01doJA5V6haHU4f-cC8VU9_Zc0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mqnOoCPu6BrD5flXXy6FkE9ECzP3kg4g8a2I0riB20s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mxXsZxabboq4ohMmoFSD-1PgVNn7Cxa6-6rVZ7622_g.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/naKpfJHUaJSupQTtV2K7bed6bZljGnZ0Da9mb5ydDD0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nd3citvFqw15DSZpdwdeSTguzMDOenY9R8hweLsxXSA.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/njLHBH3_532cv2IMh0qWWPRYeIq8B_KujYNnX-zWFJ8.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nvxibNFg_1dDx_QtrnoaPgfrO967FeR4deVFsuPbe2A.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o1U02RMHohFvUciIY8uSoUK7jb4ilBLRq48pm5go_sg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o33DRl1ube1OwMxdViNL2iNq29PR9atm3k-TkldNOxI.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o3EpD_zRCyOuW5uLOL7ndtcQl5lg-D6rJVMicSsvRM8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o59RQXR_Q6wkXOei6_mADKbVWO0HOSv7_msyobA4PUw.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/oDZ7evIiYVrxr9GQ5ZkUf8ygBhb2exFWUWB5pkhucvs.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/oF-LMVaeaRSCbbEuogQWFERrOJ8q8bSI8gsztTolGTc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/oJkixKWJPnSYNL4pJE1ExR9PCXYXxLK_7Tbp2oxKdRs.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ogYJfSgIhrTf0EMors1fbPA8zaMprsnmSGqtV9xJOoY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/oiUWZkreLvzxXe8Ibq1U-fFSnPNujZlCtbnQ-rM8I_0.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/pgTDnkWEnfqH2_PHkgFWNGfuUlMs0vcpZ4TTUWj7DjY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/q4TyphGjKkbMsiXlQEBP3YF3r2uGT_5D78ECjXUTJlI.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qMen-Bi1pRTeeOVkDpTApSJS0Mb7vZ2qG_WilqgYUw4.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qhk95qwwNyqnkFfB9anGeJIar3pb_Ok3C-phv-NKe14.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sGrNk6qzBilD1Q-ngkYNdnkRiWSOFtdocAXZfx9EDOo.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sIoAXkxhOt4OwdazvsrPd936PTLZ6rfn-CLwnivSyRE.cache +0 -3
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sQtjxYVOSd1JLGnBLlFZktvAcSI2vUHunWBo2Drs3Wc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sR_hownN-0xn3moKv7Ajqlm9TBeFqebDJNx4_KyJg4w.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sdgsM-FMyiDyMNvs1AGO3c1lXEOHwaalyUre27HF6Wc.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/szWM3KymL9_pjYcYDrMxwaEsOGQRv1JGrkjL111_ld8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/t4kK--pnTBvUaG_EaxE0QdcAYUDvz2J44YoZ31g6aiI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tT7qP_uNs0yqy6epcQ3rZFKYE31XrkLNHHksm7SRa1Y.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tcp07gfL0NfjUNXz9l5OzMCTSEPIXYtQqvSpYN23NEc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tzfJL7zpstdTx8sIaC4kBIn5fVh4an7nA6JRjUvsWlc.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/u31I5hOPxqIwdaZFMHD5MK8tRoDxSLqUGmmuJee1AB8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uH2U3XBL74ClJKjZfMg0Z-XUymFPHz_nw874z1o8cgQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uTCCczdwuSgJn3cGZTsW1hO5AfzhDXR4k05fXEtTqJ4.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vKq2zNINduXwzoU7ypwQ7HhWIBMpsm6bWG-TrdLQwx8.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vr-3q4bFqTLVghBsGCuaYwWsu9neaC6CxXyGcbMgJXI.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vsrOJ__Jw6wO4wIfI78s4vj724cWjRHPuLYikSchZgw.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wIdE_LyLeMJJMRDp5_ra6M6p80RVJ8wRoyup3qcPr5s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wL-zyJ9le1RGsZS2ilR_MEL2SP5k608occXFA3APVk0.cache +0 -2
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wRf10s6x3FdwceR-Wec1OEJojYT4-nx_W5TmBRfnqxo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wgMNEhYIa_7_eZ8nRG3HBGmWxeU4g20Gy3mZTxBmO58.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wxZEvcAOQzIpOM1UX7WnhNGzTaGTqN-X5iEBAo79sTY.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x2xVoqg_b8pzh_5jm69qnLGNo0bs2qiGyJTTVyK5hSg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xCy2bvUq7IOGhue2JKzz441TmN1oRJyX1_UR9jyKh_c.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xbGJdKwoHlq_Omotd1zzs_DpFQU0ZqaJu3jMDkZkcG4.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xfmHJQRraf8PBicsrclptW92VcsmKnv0C1-li34kR5A.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xkTm2fggBx_ia7SaQwRTaiYlGPB3xLb9RrVtRPlGXkw.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yJd0DjweiOabfW7NYj2RVQn7Hg2uMxQb0-e7GVK14BM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yMv1yc3IXm2Gx5J6wNgr5h3rye40ceHEO9KYXVefWT8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ykrOthCWx4A_BeWEpAMuno7chYkPOgs2zlUCAsZTmw4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z_9E1SAZEAZrN1_FpaWv6MmCe7PNGUoXMmSIf3urF2E.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zaoWZ05WuQUJ2E5tl6m_ztvSiFCt09hG5WnDe2dgDvU.cache +0 -1
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zvo2j3jd6NQvnulBEL9d6-WMJ67wNdmTRQj7B-W5qYo.cache +0 -0
- data/test/dummy/tmp/pids/server.pid +0 -1
@@ -1,8 +1,8 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Version of your assets, change this if you want to expire all your assets.
|
4
|
-
Rails.application.config.assets.version = '1.0'
|
5
|
-
|
6
|
-
# Precompile additional assets.
|
7
|
-
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
8
|
-
# Rails.application.config.assets.precompile += %w( search.js )
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Precompile additional assets.
|
7
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
8
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -1,7 +1,7 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
-
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -1,3 +1,3 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
3
|
Rails.application.config.action_dispatch.cookies_serializer = :json
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Configure sensitive parameters which will be filtered from the log file.
|
4
|
-
Rails.application.config.filter_parameters += [:password]
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Configure sensitive parameters which will be filtered from the log file.
|
4
|
+
Rails.application.config.filter_parameters += [:password]
|
@@ -1,16 +1,16 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new inflection rules using the following format. Inflections
|
4
|
-
# are locale specific, and you may define rules for as many different
|
5
|
-
# locales as you wish. All of these examples are active by default:
|
6
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
-
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
-
# inflect.singular /^(ox)en/i, '\1'
|
9
|
-
# inflect.irregular 'person', 'people'
|
10
|
-
# inflect.uncountable %w( fish sheep )
|
11
|
-
# end
|
12
|
-
|
13
|
-
# These inflection rules are supported but not enabled by default:
|
14
|
-
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
-
# inflect.acronym 'RESTful'
|
16
|
-
# end
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Add new mime types for use in respond_to blocks:
|
4
|
-
# Mime::Type.register "text/richtext", :rtf
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new mime types for use in respond_to blocks:
|
4
|
+
# Mime::Type.register "text/richtext", :rtf
|
@@ -1,3 +1,3 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
Rails.application.config.session_store :cookie_store, key: '_dummy_session'
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Rails.application.config.session_store :cookie_store, key: '_dummy_session'
|
@@ -1,166 +1,166 @@
|
|
1
|
-
# Use this setup block to configure all options available in SimpleForm.
|
2
|
-
SimpleForm.setup do |config|
|
3
|
-
# Wrappers are used by the form builder to generate a
|
4
|
-
# complete input. You can remove any component from the
|
5
|
-
# wrapper, change the order or even add your own to the
|
6
|
-
# stack. The options given below are used to wrap the
|
7
|
-
# whole input.
|
8
|
-
config.wrappers :default, class: :input,
|
9
|
-
hint_class: :field_with_hint, error_class: :field_with_errors do |b|
|
10
|
-
## Extensions enabled by default
|
11
|
-
# Any of these extensions can be disabled for a
|
12
|
-
# given input by passing: `f.input EXTENSION_NAME => false`.
|
13
|
-
# You can make any of these extensions optional by
|
14
|
-
# renaming `b.use` to `b.optional`.
|
15
|
-
|
16
|
-
# Determines whether to use HTML5 (:email, :url, ...)
|
17
|
-
# and required attributes
|
18
|
-
b.use :html5
|
19
|
-
|
20
|
-
# Calculates placeholders automatically from I18n
|
21
|
-
# You can also pass a string as f.input placeholder: "Placeholder"
|
22
|
-
b.use :placeholder
|
23
|
-
|
24
|
-
## Optional extensions
|
25
|
-
# They are disabled unless you pass `f.input EXTENSION_NAME => true`
|
26
|
-
# to the input. If so, they will retrieve the values from the model
|
27
|
-
# if any exists. If you want to enable any of those
|
28
|
-
# extensions by default, you can change `b.optional` to `b.use`.
|
29
|
-
|
30
|
-
# Calculates maxlength from length validations for string inputs
|
31
|
-
b.optional :maxlength
|
32
|
-
|
33
|
-
# Calculates pattern from format validations for string inputs
|
34
|
-
b.optional :pattern
|
35
|
-
|
36
|
-
# Calculates min and max from length validations for numeric inputs
|
37
|
-
b.optional :min_max
|
38
|
-
|
39
|
-
# Calculates readonly automatically from readonly attributes
|
40
|
-
b.optional :readonly
|
41
|
-
|
42
|
-
## Inputs
|
43
|
-
b.use :label_input
|
44
|
-
b.use :hint, wrap_with: { tag: :span, class: :hint }
|
45
|
-
b.use :error, wrap_with: { tag: :span, class: :error }
|
46
|
-
|
47
|
-
## full_messages_for
|
48
|
-
# If you want to display the full error message for the attribute, you can
|
49
|
-
# use the component :full_error, like:
|
50
|
-
#
|
51
|
-
# b.use :full_error, wrap_with: { tag: :span, class: :error }
|
52
|
-
end
|
53
|
-
|
54
|
-
# The default wrapper to be used by the FormBuilder.
|
55
|
-
config.default_wrapper = :default
|
56
|
-
|
57
|
-
# Define the way to render check boxes / radio buttons with labels.
|
58
|
-
# Defaults to :nested for bootstrap config.
|
59
|
-
# inline: input + label
|
60
|
-
# nested: label > input
|
61
|
-
config.boolean_style = :nested
|
62
|
-
|
63
|
-
# Default class for buttons
|
64
|
-
config.button_class = 'btn'
|
65
|
-
|
66
|
-
# Method used to tidy up errors. Specify any Rails Array method.
|
67
|
-
# :first lists the first message for each field.
|
68
|
-
# Use :to_sentence to list all errors for each field.
|
69
|
-
# config.error_method = :first
|
70
|
-
|
71
|
-
# Default tag used for error notification helper.
|
72
|
-
config.error_notification_tag = :div
|
73
|
-
|
74
|
-
# CSS class to add for error notification helper.
|
75
|
-
config.error_notification_class = 'error_notification'
|
76
|
-
|
77
|
-
# ID to add for error notification helper.
|
78
|
-
# config.error_notification_id = nil
|
79
|
-
|
80
|
-
# Series of attempts to detect a default label method for collection.
|
81
|
-
# config.collection_label_methods = [ :to_label, :name, :title, :to_s ]
|
82
|
-
|
83
|
-
# Series of attempts to detect a default value method for collection.
|
84
|
-
# config.collection_value_methods = [ :id, :to_s ]
|
85
|
-
|
86
|
-
# You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.
|
87
|
-
# config.collection_wrapper_tag = nil
|
88
|
-
|
89
|
-
# You can define the class to use on all collection wrappers. Defaulting to none.
|
90
|
-
# config.collection_wrapper_class = nil
|
91
|
-
|
92
|
-
# You can wrap each item in a collection of radio/check boxes with a tag,
|
93
|
-
# defaulting to :span. Please note that when using :boolean_style = :nested,
|
94
|
-
# SimpleForm will force this option to be a label.
|
95
|
-
# config.item_wrapper_tag = :span
|
96
|
-
|
97
|
-
# You can define a class to use in all item wrappers. Defaulting to none.
|
98
|
-
# config.item_wrapper_class = nil
|
99
|
-
|
100
|
-
# How the label text should be generated altogether with the required text.
|
101
|
-
# config.label_text = lambda { |label, required, explicit_label| "#{required} #{label}" }
|
102
|
-
|
103
|
-
# You can define the class to use on all labels. Default is nil.
|
104
|
-
# config.label_class = nil
|
105
|
-
|
106
|
-
# You can define the default class to be used on forms. Can be overriden
|
107
|
-
# with `html: { :class }`. Defaulting to none.
|
108
|
-
# config.default_form_class = nil
|
109
|
-
|
110
|
-
# You can define which elements should obtain additional classes
|
111
|
-
# config.generate_additional_classes_for = [:wrapper, :label, :input]
|
112
|
-
|
113
|
-
# Whether attributes are required by default (or not). Default is true.
|
114
|
-
# config.required_by_default = true
|
115
|
-
|
116
|
-
# Tell browsers whether to use the native HTML5 validations (novalidate form option).
|
117
|
-
# These validations are enabled in SimpleForm's internal config but disabled by default
|
118
|
-
# in this configuration, which is recommended due to some quirks from different browsers.
|
119
|
-
# To stop SimpleForm from generating the novalidate option, enabling the HTML5 validations,
|
120
|
-
# change this configuration to true.
|
121
|
-
config.browser_validations = false
|
122
|
-
|
123
|
-
# Collection of methods to detect if a file type was given.
|
124
|
-
# config.file_methods = [ :mounted_as, :file?, :public_filename ]
|
125
|
-
|
126
|
-
# Custom mappings for input types. This should be a hash containing a regexp
|
127
|
-
# to match as key, and the input type that will be used when the field name
|
128
|
-
# matches the regexp as value.
|
129
|
-
# config.input_mappings = { /count/ => :integer }
|
130
|
-
|
131
|
-
# Custom wrappers for input types. This should be a hash containing an input
|
132
|
-
# type as key and the wrapper that will be used for all inputs with specified type.
|
133
|
-
# config.wrapper_mappings = { string: :prepend }
|
134
|
-
|
135
|
-
# Namespaces where SimpleForm should look for custom input classes that
|
136
|
-
# override default inputs.
|
137
|
-
# config.custom_inputs_namespaces << "CustomInputs"
|
138
|
-
|
139
|
-
# Default priority for time_zone inputs.
|
140
|
-
# config.time_zone_priority = nil
|
141
|
-
|
142
|
-
# Default priority for country inputs.
|
143
|
-
# config.country_priority = nil
|
144
|
-
|
145
|
-
# When false, do not use translations for labels.
|
146
|
-
# config.translate_labels = true
|
147
|
-
|
148
|
-
# Automatically discover new inputs in Rails' autoload path.
|
149
|
-
# config.inputs_discovery = true
|
150
|
-
|
151
|
-
# Cache SimpleForm inputs discovery
|
152
|
-
# config.cache_discovery = !Rails.env.development?
|
153
|
-
|
154
|
-
# Default class for inputs
|
155
|
-
# config.input_class = nil
|
156
|
-
|
157
|
-
# Define the default class of the input wrapper of the boolean input.
|
158
|
-
config.boolean_label_class = 'checkbox'
|
159
|
-
|
160
|
-
# Defines if the default input wrapper class should be included in radio
|
161
|
-
# collection wrappers.
|
162
|
-
# config.include_default_input_wrapper_class = true
|
163
|
-
|
164
|
-
# Defines which i18n scope will be used in Simple Form.
|
165
|
-
# config.i18n_scope = 'simple_form'
|
166
|
-
end
|
1
|
+
# Use this setup block to configure all options available in SimpleForm.
|
2
|
+
SimpleForm.setup do |config|
|
3
|
+
# Wrappers are used by the form builder to generate a
|
4
|
+
# complete input. You can remove any component from the
|
5
|
+
# wrapper, change the order or even add your own to the
|
6
|
+
# stack. The options given below are used to wrap the
|
7
|
+
# whole input.
|
8
|
+
config.wrappers :default, class: :input,
|
9
|
+
hint_class: :field_with_hint, error_class: :field_with_errors do |b|
|
10
|
+
## Extensions enabled by default
|
11
|
+
# Any of these extensions can be disabled for a
|
12
|
+
# given input by passing: `f.input EXTENSION_NAME => false`.
|
13
|
+
# You can make any of these extensions optional by
|
14
|
+
# renaming `b.use` to `b.optional`.
|
15
|
+
|
16
|
+
# Determines whether to use HTML5 (:email, :url, ...)
|
17
|
+
# and required attributes
|
18
|
+
b.use :html5
|
19
|
+
|
20
|
+
# Calculates placeholders automatically from I18n
|
21
|
+
# You can also pass a string as f.input placeholder: "Placeholder"
|
22
|
+
b.use :placeholder
|
23
|
+
|
24
|
+
## Optional extensions
|
25
|
+
# They are disabled unless you pass `f.input EXTENSION_NAME => true`
|
26
|
+
# to the input. If so, they will retrieve the values from the model
|
27
|
+
# if any exists. If you want to enable any of those
|
28
|
+
# extensions by default, you can change `b.optional` to `b.use`.
|
29
|
+
|
30
|
+
# Calculates maxlength from length validations for string inputs
|
31
|
+
b.optional :maxlength
|
32
|
+
|
33
|
+
# Calculates pattern from format validations for string inputs
|
34
|
+
b.optional :pattern
|
35
|
+
|
36
|
+
# Calculates min and max from length validations for numeric inputs
|
37
|
+
b.optional :min_max
|
38
|
+
|
39
|
+
# Calculates readonly automatically from readonly attributes
|
40
|
+
b.optional :readonly
|
41
|
+
|
42
|
+
## Inputs
|
43
|
+
b.use :label_input
|
44
|
+
b.use :hint, wrap_with: { tag: :span, class: :hint }
|
45
|
+
b.use :error, wrap_with: { tag: :span, class: :error }
|
46
|
+
|
47
|
+
## full_messages_for
|
48
|
+
# If you want to display the full error message for the attribute, you can
|
49
|
+
# use the component :full_error, like:
|
50
|
+
#
|
51
|
+
# b.use :full_error, wrap_with: { tag: :span, class: :error }
|
52
|
+
end
|
53
|
+
|
54
|
+
# The default wrapper to be used by the FormBuilder.
|
55
|
+
config.default_wrapper = :default
|
56
|
+
|
57
|
+
# Define the way to render check boxes / radio buttons with labels.
|
58
|
+
# Defaults to :nested for bootstrap config.
|
59
|
+
# inline: input + label
|
60
|
+
# nested: label > input
|
61
|
+
config.boolean_style = :nested
|
62
|
+
|
63
|
+
# Default class for buttons
|
64
|
+
config.button_class = 'btn'
|
65
|
+
|
66
|
+
# Method used to tidy up errors. Specify any Rails Array method.
|
67
|
+
# :first lists the first message for each field.
|
68
|
+
# Use :to_sentence to list all errors for each field.
|
69
|
+
# config.error_method = :first
|
70
|
+
|
71
|
+
# Default tag used for error notification helper.
|
72
|
+
config.error_notification_tag = :div
|
73
|
+
|
74
|
+
# CSS class to add for error notification helper.
|
75
|
+
config.error_notification_class = 'error_notification'
|
76
|
+
|
77
|
+
# ID to add for error notification helper.
|
78
|
+
# config.error_notification_id = nil
|
79
|
+
|
80
|
+
# Series of attempts to detect a default label method for collection.
|
81
|
+
# config.collection_label_methods = [ :to_label, :name, :title, :to_s ]
|
82
|
+
|
83
|
+
# Series of attempts to detect a default value method for collection.
|
84
|
+
# config.collection_value_methods = [ :id, :to_s ]
|
85
|
+
|
86
|
+
# You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.
|
87
|
+
# config.collection_wrapper_tag = nil
|
88
|
+
|
89
|
+
# You can define the class to use on all collection wrappers. Defaulting to none.
|
90
|
+
# config.collection_wrapper_class = nil
|
91
|
+
|
92
|
+
# You can wrap each item in a collection of radio/check boxes with a tag,
|
93
|
+
# defaulting to :span. Please note that when using :boolean_style = :nested,
|
94
|
+
# SimpleForm will force this option to be a label.
|
95
|
+
# config.item_wrapper_tag = :span
|
96
|
+
|
97
|
+
# You can define a class to use in all item wrappers. Defaulting to none.
|
98
|
+
# config.item_wrapper_class = nil
|
99
|
+
|
100
|
+
# How the label text should be generated altogether with the required text.
|
101
|
+
# config.label_text = lambda { |label, required, explicit_label| "#{required} #{label}" }
|
102
|
+
|
103
|
+
# You can define the class to use on all labels. Default is nil.
|
104
|
+
# config.label_class = nil
|
105
|
+
|
106
|
+
# You can define the default class to be used on forms. Can be overriden
|
107
|
+
# with `html: { :class }`. Defaulting to none.
|
108
|
+
# config.default_form_class = nil
|
109
|
+
|
110
|
+
# You can define which elements should obtain additional classes
|
111
|
+
# config.generate_additional_classes_for = [:wrapper, :label, :input]
|
112
|
+
|
113
|
+
# Whether attributes are required by default (or not). Default is true.
|
114
|
+
# config.required_by_default = true
|
115
|
+
|
116
|
+
# Tell browsers whether to use the native HTML5 validations (novalidate form option).
|
117
|
+
# These validations are enabled in SimpleForm's internal config but disabled by default
|
118
|
+
# in this configuration, which is recommended due to some quirks from different browsers.
|
119
|
+
# To stop SimpleForm from generating the novalidate option, enabling the HTML5 validations,
|
120
|
+
# change this configuration to true.
|
121
|
+
config.browser_validations = false
|
122
|
+
|
123
|
+
# Collection of methods to detect if a file type was given.
|
124
|
+
# config.file_methods = [ :mounted_as, :file?, :public_filename ]
|
125
|
+
|
126
|
+
# Custom mappings for input types. This should be a hash containing a regexp
|
127
|
+
# to match as key, and the input type that will be used when the field name
|
128
|
+
# matches the regexp as value.
|
129
|
+
# config.input_mappings = { /count/ => :integer }
|
130
|
+
|
131
|
+
# Custom wrappers for input types. This should be a hash containing an input
|
132
|
+
# type as key and the wrapper that will be used for all inputs with specified type.
|
133
|
+
# config.wrapper_mappings = { string: :prepend }
|
134
|
+
|
135
|
+
# Namespaces where SimpleForm should look for custom input classes that
|
136
|
+
# override default inputs.
|
137
|
+
# config.custom_inputs_namespaces << "CustomInputs"
|
138
|
+
|
139
|
+
# Default priority for time_zone inputs.
|
140
|
+
# config.time_zone_priority = nil
|
141
|
+
|
142
|
+
# Default priority for country inputs.
|
143
|
+
# config.country_priority = nil
|
144
|
+
|
145
|
+
# When false, do not use translations for labels.
|
146
|
+
# config.translate_labels = true
|
147
|
+
|
148
|
+
# Automatically discover new inputs in Rails' autoload path.
|
149
|
+
# config.inputs_discovery = true
|
150
|
+
|
151
|
+
# Cache SimpleForm inputs discovery
|
152
|
+
# config.cache_discovery = !Rails.env.development?
|
153
|
+
|
154
|
+
# Default class for inputs
|
155
|
+
# config.input_class = nil
|
156
|
+
|
157
|
+
# Define the default class of the input wrapper of the boolean input.
|
158
|
+
config.boolean_label_class = 'checkbox'
|
159
|
+
|
160
|
+
# Defines if the default input wrapper class should be included in radio
|
161
|
+
# collection wrappers.
|
162
|
+
# config.include_default_input_wrapper_class = true
|
163
|
+
|
164
|
+
# Defines which i18n scope will be used in Simple Form.
|
165
|
+
# config.i18n_scope = 'simple_form'
|
166
|
+
end
|
@@ -1,136 +1,136 @@
|
|
1
|
-
# Use this setup block to configure all options available in SimpleForm.
|
2
|
-
SimpleForm.setup do |config|
|
3
|
-
config.error_notification_class = 'alert alert-danger'
|
4
|
-
config.button_class = 'btn btn-default'
|
5
|
-
config.boolean_label_class = nil
|
6
|
-
|
7
|
-
config.wrappers :vertical_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
8
|
-
b.use :html5
|
9
|
-
b.use :placeholder
|
10
|
-
b.optional :maxlength
|
11
|
-
b.optional :pattern
|
12
|
-
b.optional :min_max
|
13
|
-
b.optional :readonly
|
14
|
-
b.use :label, class: 'control-label'
|
15
|
-
|
16
|
-
b.use :input, class: 'form-control'
|
17
|
-
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
18
|
-
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
19
|
-
end
|
20
|
-
|
21
|
-
config.wrappers :vertical_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
22
|
-
b.use :html5
|
23
|
-
b.use :placeholder
|
24
|
-
b.optional :maxlength
|
25
|
-
b.optional :readonly
|
26
|
-
b.use :label, class: 'control-label'
|
27
|
-
|
28
|
-
b.use :input
|
29
|
-
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
30
|
-
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
31
|
-
end
|
32
|
-
|
33
|
-
config.wrappers :vertical_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
34
|
-
b.use :html5
|
35
|
-
b.optional :readonly
|
36
|
-
|
37
|
-
b.wrapper tag: 'div', class: 'checkbox' do |ba|
|
38
|
-
ba.use :label_input
|
39
|
-
end
|
40
|
-
|
41
|
-
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
42
|
-
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
43
|
-
end
|
44
|
-
|
45
|
-
config.wrappers :vertical_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
46
|
-
b.use :html5
|
47
|
-
b.optional :readonly
|
48
|
-
b.use :label, class: 'control-label'
|
49
|
-
b.use :input
|
50
|
-
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
51
|
-
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
52
|
-
end
|
53
|
-
|
54
|
-
config.wrappers :horizontal_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
55
|
-
b.use :html5
|
56
|
-
b.use :placeholder
|
57
|
-
b.optional :maxlength
|
58
|
-
b.optional :pattern
|
59
|
-
b.optional :min_max
|
60
|
-
b.optional :readonly
|
61
|
-
b.use :label, class: 'col-sm-3 control-label'
|
62
|
-
|
63
|
-
b.wrapper tag: 'div', class: 'col-sm-9' do |ba|
|
64
|
-
ba.use :input, class: 'form-control'
|
65
|
-
ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
66
|
-
ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
67
|
-
end
|
68
|
-
end
|
69
|
-
|
70
|
-
config.wrappers :horizontal_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
71
|
-
b.use :html5
|
72
|
-
b.use :placeholder
|
73
|
-
b.optional :maxlength
|
74
|
-
b.optional :readonly
|
75
|
-
b.use :label, class: 'col-sm-3 control-label'
|
76
|
-
|
77
|
-
b.wrapper tag: 'div', class: 'col-sm-9' do |ba|
|
78
|
-
ba.use :input
|
79
|
-
ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
80
|
-
ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
config.wrappers :horizontal_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
85
|
-
b.use :html5
|
86
|
-
b.optional :readonly
|
87
|
-
|
88
|
-
b.wrapper tag: 'div', class: 'col-sm-offset-3 col-sm-9' do |wr|
|
89
|
-
wr.wrapper tag: 'div', class: 'checkbox' do |ba|
|
90
|
-
ba.use :label_input, class: 'col-sm-9'
|
91
|
-
end
|
92
|
-
|
93
|
-
wr.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
94
|
-
wr.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|
98
|
-
config.wrappers :horizontal_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
99
|
-
b.use :html5
|
100
|
-
b.optional :readonly
|
101
|
-
|
102
|
-
b.use :label, class: 'col-sm-3 control-label'
|
103
|
-
|
104
|
-
b.wrapper tag: 'div', class: 'col-sm-9' do |ba|
|
105
|
-
ba.use :input
|
106
|
-
ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
107
|
-
ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
108
|
-
end
|
109
|
-
end
|
110
|
-
|
111
|
-
config.wrappers :inline_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
112
|
-
b.use :html5
|
113
|
-
b.use :placeholder
|
114
|
-
b.optional :maxlength
|
115
|
-
b.optional :pattern
|
116
|
-
b.optional :min_max
|
117
|
-
b.optional :readonly
|
118
|
-
b.use :label, class: 'sr-only'
|
119
|
-
|
120
|
-
b.use :input, class: 'form-control'
|
121
|
-
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
122
|
-
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
123
|
-
end
|
124
|
-
|
125
|
-
# Wrappers for forms and inputs using the Bootstrap toolkit.
|
126
|
-
# Check the Bootstrap docs (http://getbootstrap.com)
|
127
|
-
# to learn about the different styles for forms and inputs,
|
128
|
-
# buttons and other elements.
|
129
|
-
config.default_wrapper = :vertical_form
|
130
|
-
config.wrapper_mappings = {
|
131
|
-
check_boxes: :vertical_radio_and_checkboxes,
|
132
|
-
radio_buttons: :vertical_radio_and_checkboxes,
|
133
|
-
file: :vertical_file_input,
|
134
|
-
boolean: :vertical_boolean,
|
135
|
-
}
|
136
|
-
end
|
1
|
+
# Use this setup block to configure all options available in SimpleForm.
|
2
|
+
SimpleForm.setup do |config|
|
3
|
+
config.error_notification_class = 'alert alert-danger'
|
4
|
+
config.button_class = 'btn btn-default'
|
5
|
+
config.boolean_label_class = nil
|
6
|
+
|
7
|
+
config.wrappers :vertical_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
8
|
+
b.use :html5
|
9
|
+
b.use :placeholder
|
10
|
+
b.optional :maxlength
|
11
|
+
b.optional :pattern
|
12
|
+
b.optional :min_max
|
13
|
+
b.optional :readonly
|
14
|
+
b.use :label, class: 'control-label'
|
15
|
+
|
16
|
+
b.use :input, class: 'form-control'
|
17
|
+
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
18
|
+
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
19
|
+
end
|
20
|
+
|
21
|
+
config.wrappers :vertical_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
22
|
+
b.use :html5
|
23
|
+
b.use :placeholder
|
24
|
+
b.optional :maxlength
|
25
|
+
b.optional :readonly
|
26
|
+
b.use :label, class: 'control-label'
|
27
|
+
|
28
|
+
b.use :input
|
29
|
+
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
30
|
+
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
31
|
+
end
|
32
|
+
|
33
|
+
config.wrappers :vertical_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
34
|
+
b.use :html5
|
35
|
+
b.optional :readonly
|
36
|
+
|
37
|
+
b.wrapper tag: 'div', class: 'checkbox' do |ba|
|
38
|
+
ba.use :label_input
|
39
|
+
end
|
40
|
+
|
41
|
+
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
42
|
+
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
43
|
+
end
|
44
|
+
|
45
|
+
config.wrappers :vertical_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
46
|
+
b.use :html5
|
47
|
+
b.optional :readonly
|
48
|
+
b.use :label, class: 'control-label'
|
49
|
+
b.use :input
|
50
|
+
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
51
|
+
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
52
|
+
end
|
53
|
+
|
54
|
+
config.wrappers :horizontal_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
55
|
+
b.use :html5
|
56
|
+
b.use :placeholder
|
57
|
+
b.optional :maxlength
|
58
|
+
b.optional :pattern
|
59
|
+
b.optional :min_max
|
60
|
+
b.optional :readonly
|
61
|
+
b.use :label, class: 'col-sm-3 control-label'
|
62
|
+
|
63
|
+
b.wrapper tag: 'div', class: 'col-sm-9' do |ba|
|
64
|
+
ba.use :input, class: 'form-control'
|
65
|
+
ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
66
|
+
ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
config.wrappers :horizontal_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
71
|
+
b.use :html5
|
72
|
+
b.use :placeholder
|
73
|
+
b.optional :maxlength
|
74
|
+
b.optional :readonly
|
75
|
+
b.use :label, class: 'col-sm-3 control-label'
|
76
|
+
|
77
|
+
b.wrapper tag: 'div', class: 'col-sm-9' do |ba|
|
78
|
+
ba.use :input
|
79
|
+
ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
80
|
+
ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
config.wrappers :horizontal_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
85
|
+
b.use :html5
|
86
|
+
b.optional :readonly
|
87
|
+
|
88
|
+
b.wrapper tag: 'div', class: 'col-sm-offset-3 col-sm-9' do |wr|
|
89
|
+
wr.wrapper tag: 'div', class: 'checkbox' do |ba|
|
90
|
+
ba.use :label_input, class: 'col-sm-9'
|
91
|
+
end
|
92
|
+
|
93
|
+
wr.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
94
|
+
wr.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
config.wrappers :horizontal_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
99
|
+
b.use :html5
|
100
|
+
b.optional :readonly
|
101
|
+
|
102
|
+
b.use :label, class: 'col-sm-3 control-label'
|
103
|
+
|
104
|
+
b.wrapper tag: 'div', class: 'col-sm-9' do |ba|
|
105
|
+
ba.use :input
|
106
|
+
ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
107
|
+
ba.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
config.wrappers :inline_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
|
112
|
+
b.use :html5
|
113
|
+
b.use :placeholder
|
114
|
+
b.optional :maxlength
|
115
|
+
b.optional :pattern
|
116
|
+
b.optional :min_max
|
117
|
+
b.optional :readonly
|
118
|
+
b.use :label, class: 'sr-only'
|
119
|
+
|
120
|
+
b.use :input, class: 'form-control'
|
121
|
+
b.use :error, wrap_with: { tag: 'span', class: 'help-block' }
|
122
|
+
b.use :hint, wrap_with: { tag: 'p', class: 'help-block' }
|
123
|
+
end
|
124
|
+
|
125
|
+
# Wrappers for forms and inputs using the Bootstrap toolkit.
|
126
|
+
# Check the Bootstrap docs (http://getbootstrap.com)
|
127
|
+
# to learn about the different styles for forms and inputs,
|
128
|
+
# buttons and other elements.
|
129
|
+
config.default_wrapper = :vertical_form
|
130
|
+
config.wrapper_mappings = {
|
131
|
+
check_boxes: :vertical_radio_and_checkboxes,
|
132
|
+
radio_buttons: :vertical_radio_and_checkboxes,
|
133
|
+
file: :vertical_file_input,
|
134
|
+
boolean: :vertical_boolean,
|
135
|
+
}
|
136
|
+
end
|