manage 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/manage/application.js +1 -0
  3. data/app/assets/javascripts/manage/init.js.coffee +2 -1
  4. data/app/helpers/manage/form_helper.rb +1 -0
  5. data/config/initializers/simple_form.rb +3 -0
  6. data/config/initializers/simple_form_foundation.rb +8 -1
  7. data/lib/manage/fields/searcher.rb +3 -3
  8. data/lib/manage/version.rb +1 -1
  9. data/lib/templates/erb/scaffold/_form.html.erb +1 -1
  10. data/spec/dummy/db/development.sqlite3 +0 -0
  11. data/spec/dummy/db/test.sqlite3 +0 -0
  12. data/spec/dummy/log/development.log +1600 -0
  13. data/spec/dummy/log/test.log +2189 -0
  14. data/spec/dummy/tmp/cache/assets/development/sass/0192dbeb40fd8af69d8bd973e16f97609241c8aa/_foundation-global.scssc +0 -0
  15. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_alert-boxes.scssc +0 -0
  16. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_block-grid.scssc +0 -0
  17. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_breadcrumbs.scssc +0 -0
  18. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_button-groups.scssc +0 -0
  19. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_buttons.scssc +0 -0
  20. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_clearing.scssc +0 -0
  21. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_custom-forms.scssc +0 -0
  22. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_dropdown-buttons.scssc +0 -0
  23. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_dropdown.scssc +0 -0
  24. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_flex-video.scssc +0 -0
  25. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_forms.scssc +0 -0
  26. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_global.scssc +0 -0
  27. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_grid.scssc +0 -0
  28. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_inline-lists.scssc +0 -0
  29. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_joyride.scssc +0 -0
  30. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_keystrokes.scssc +0 -0
  31. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_labels.scssc +0 -0
  32. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_magellan.scssc +0 -0
  33. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_orbit.scssc +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_pagination.scssc +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_panels.scssc +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_pricing-tables.scssc +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_progress-bars.scssc +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_reveal.scssc +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_section.scssc +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_side-nav.scssc +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_split-buttons.scssc +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_sub-nav.scssc +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_switch.scssc +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_tables.scssc +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_thumbs.scssc +0 -0
  46. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_tooltips.scssc +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_top-bar.scssc +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_type.scssc +0 -0
  49. data/spec/dummy/tmp/cache/assets/development/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_visibility.scssc +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sass/412992e7093a962089549a802f0c3ffac6b2a985/application.css.scssc +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sass/412992e7093a962089549a802f0c3ffac6b2a985/layout.css.scssc +0 -0
  52. data/spec/dummy/tmp/cache/assets/development/sass/f4c9f0ca80210c4fd718b1a0592bba85bd2255fe/foundation.scssc +0 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/0596a301c98fcfa08acd55bba39e7cb8 +0 -0
  54. data/spec/dummy/tmp/cache/assets/development/sprockets/05ba534f1c9de037ba64c56e82cc79fa +0 -0
  55. data/spec/dummy/tmp/cache/assets/development/sprockets/07bef9b1e4f56c7a1dd0d05f067ad1d5 +0 -0
  56. data/spec/dummy/tmp/cache/assets/development/sprockets/0b2fc6b4bf3f89cc43ecf029897724c2 +0 -0
  57. data/spec/dummy/tmp/cache/assets/development/sprockets/0cd0351715f8fe971283333f534a723b +0 -0
  58. data/spec/dummy/tmp/cache/assets/development/sprockets/1253b43b2d59d42a2dda34680be28036 +0 -0
  59. data/spec/dummy/tmp/cache/assets/development/sprockets/166ca9ad2ced7a07ffd043c1bc96dde0 +0 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/1901fe4f6e7499828193e1de1f17da01 +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/1ce70ea8794fcaa30f0643a11a54febf +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/1f32df71aba38ca9833bd942792d1ae0 +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/2931c257279659170c2970c5ea6112c9 +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/2eda6aa493cd248e53d277c95951f152 +0 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/30218c5c52e7a1fe108090e107a2d0d7 +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/35d7165544b6e3a274f5c47f2183cb4f +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/390977846db779f2b57d78eb7e063013 +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/39518e76238a7f1b3bca5107955cce14 +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/3c37f8f188b300c754e1230f13aaf811 +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/4af3d247af6ea4a924fcc5175e822bc0 +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/4b76ec28c8baf81e3f0a6aae8634575a +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/4e9ca2cc499bf2efccb19a2f266bc260 +0 -0
  73. data/spec/dummy/tmp/cache/assets/development/sprockets/520cd53958625fa8428cd0aaaae018c9 +0 -0
  74. data/spec/dummy/tmp/cache/assets/development/sprockets/56e16d306187aeeb8d0078e23ec45c72 +0 -0
  75. data/spec/dummy/tmp/cache/assets/development/sprockets/5c2440ff0e8e205cee78be9f86ebdb53 +0 -0
  76. data/spec/dummy/tmp/cache/assets/development/sprockets/5cf4a3509ceb69ccf0df93c3246f0d45 +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/6056119546ed724c06b0cfff80a8e237 +0 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/617e49d9d7f59cfbfbbc9f1c1c0eb0a2 +0 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/6cfb76558211897d7577746b31a4c0d3 +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/6d4617a5a15053c1b42ccb665612972c +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/6f212db679b807de6432a869c9dbc84a +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/6fc0fb49d919ae74bd9ce61e6fc6ec58 +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/700fa2e42dca32e7078d4f5de75b788e +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/75484e3af65604e983f7f1bc79a67a57 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/7995c25b6170443bc92d298d2d5b505f +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/7ecc95a09b9cb642eb6f0016f55ba0c4 +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/7ed29ce4aba77b79200140849a424d6c +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/82dd8bd63e208a624aa312f2fc172422 +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/83937a8c1967191a25ad88670ec51efb +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/8ecba072ec9b83aea42ff54fb51508e6 +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/9170cf6e91d84618f8a2d9f9858a3ba8 +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/9452550fd72ebffa6344cd0dae7ba1df +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/97b0f27cc2207b8db10bc6ea77ef6c22 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/a21e2f815f8d55f9553f284b6ba541e8 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/aaa980dd35396422c87710776ff09737 +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/ae92b5f89f269bd3b505430a7ebda9d8 +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/b87e3da61028d1116bcc4c39f4c1199b +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/c33432d4c55aed8c710dcf650657625b +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/c4c9b2e46bbd8c5e44fc1a3f9b948d5c +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/c669cae3ef0f47a878573b46ee07130d +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/cb2783e20ade07a26e6e7e0c32e1a1cb +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/d0595fc03933f3328b1578fae072f0d4 +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/d183f4d324b89dce2e8c96d31997346e +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/d496744dbf971727422e384fee8292d8 +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/daf08724c0b5abd98b6aed3cd46daa7d +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/e63870ba8d2ebcb887a14932384e6abb +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/e6ced785594660bcc2d8ed52df089cb2 +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/ee451a2f60633299c5493e6e25996ebd +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/f01be39692238d2013fb5413e74d3185 +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/f90f608d5684678e169d427c076d4a95 +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/f91cdacd808a791b90cf55dc36d7357b +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/ff28806275d1513d87a01455507ca255 +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sass/0192dbeb40fd8af69d8bd973e16f97609241c8aa/_foundation-global.scssc +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_alert-boxes.scssc +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_block-grid.scssc +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_breadcrumbs.scssc +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_button-groups.scssc +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_buttons.scssc +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_clearing.scssc +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_custom-forms.scssc +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_dropdown-buttons.scssc +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_dropdown.scssc +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_flex-video.scssc +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_forms.scssc +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_global.scssc +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_grid.scssc +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_inline-lists.scssc +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_joyride.scssc +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_keystrokes.scssc +0 -0
  130. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_labels.scssc +0 -0
  131. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_magellan.scssc +0 -0
  132. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_orbit.scssc +0 -0
  133. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_pagination.scssc +0 -0
  134. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_panels.scssc +0 -0
  135. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_pricing-tables.scssc +0 -0
  136. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_progress-bars.scssc +0 -0
  137. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_reveal.scssc +0 -0
  138. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_section.scssc +0 -0
  139. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_side-nav.scssc +0 -0
  140. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_split-buttons.scssc +0 -0
  141. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_sub-nav.scssc +0 -0
  142. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_switch.scssc +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_tables.scssc +0 -0
  144. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_thumbs.scssc +0 -0
  145. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_tooltips.scssc +0 -0
  146. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_top-bar.scssc +0 -0
  147. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_type.scssc +0 -0
  148. data/spec/dummy/tmp/cache/assets/test/sass/3d48fd27edff4abdeca8322ad6bde3993e8a070f/_visibility.scssc +0 -0
  149. data/spec/dummy/tmp/cache/assets/test/sass/412992e7093a962089549a802f0c3ffac6b2a985/application.css.scssc +0 -0
  150. data/spec/dummy/tmp/cache/assets/test/sass/412992e7093a962089549a802f0c3ffac6b2a985/layout.css.scssc +0 -0
  151. data/spec/dummy/tmp/cache/assets/test/sass/f4c9f0ca80210c4fd718b1a0592bba85bd2255fe/foundation.scssc +0 -0
  152. data/spec/dummy/tmp/cache/assets/test/sprockets/0596a301c98fcfa08acd55bba39e7cb8 +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sprockets/05ba534f1c9de037ba64c56e82cc79fa +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sprockets/07bef9b1e4f56c7a1dd0d05f067ad1d5 +0 -0
  155. data/spec/dummy/tmp/cache/assets/test/sprockets/0b2fc6b4bf3f89cc43ecf029897724c2 +0 -0
  156. data/spec/dummy/tmp/cache/assets/test/sprockets/0cd0351715f8fe971283333f534a723b +0 -0
  157. data/spec/dummy/tmp/cache/assets/test/sprockets/1253b43b2d59d42a2dda34680be28036 +0 -0
  158. data/spec/dummy/tmp/cache/assets/test/sprockets/166ca9ad2ced7a07ffd043c1bc96dde0 +0 -0
  159. data/spec/dummy/tmp/cache/assets/test/sprockets/1901fe4f6e7499828193e1de1f17da01 +0 -0
  160. data/spec/dummy/tmp/cache/assets/test/sprockets/1ce70ea8794fcaa30f0643a11a54febf +0 -0
  161. data/spec/dummy/tmp/cache/assets/test/sprockets/1f32df71aba38ca9833bd942792d1ae0 +0 -0
  162. data/spec/dummy/tmp/cache/assets/test/sprockets/2931c257279659170c2970c5ea6112c9 +0 -0
  163. data/spec/dummy/tmp/cache/assets/test/sprockets/2eda6aa493cd248e53d277c95951f152 +0 -0
  164. data/spec/dummy/tmp/cache/assets/test/sprockets/30218c5c52e7a1fe108090e107a2d0d7 +0 -0
  165. data/spec/dummy/tmp/cache/assets/test/sprockets/35d7165544b6e3a274f5c47f2183cb4f +0 -0
  166. data/spec/dummy/tmp/cache/assets/test/sprockets/390977846db779f2b57d78eb7e063013 +0 -0
  167. data/spec/dummy/tmp/cache/assets/test/sprockets/39518e76238a7f1b3bca5107955cce14 +0 -0
  168. data/spec/dummy/tmp/cache/assets/test/sprockets/4b76ec28c8baf81e3f0a6aae8634575a +0 -0
  169. data/spec/dummy/tmp/cache/assets/test/sprockets/4e9ca2cc499bf2efccb19a2f266bc260 +0 -0
  170. data/spec/dummy/tmp/cache/assets/test/sprockets/56e16d306187aeeb8d0078e23ec45c72 +0 -0
  171. data/spec/dummy/tmp/cache/assets/test/sprockets/5c2440ff0e8e205cee78be9f86ebdb53 +0 -0
  172. data/spec/dummy/tmp/cache/assets/test/sprockets/6056119546ed724c06b0cfff80a8e237 +0 -0
  173. data/spec/dummy/tmp/cache/assets/test/sprockets/617e49d9d7f59cfbfbbc9f1c1c0eb0a2 +0 -0
  174. data/spec/dummy/tmp/cache/assets/test/sprockets/6cfb76558211897d7577746b31a4c0d3 +0 -0
  175. data/spec/dummy/tmp/cache/assets/test/sprockets/6d4617a5a15053c1b42ccb665612972c +0 -0
  176. data/spec/dummy/tmp/cache/assets/test/sprockets/6fc0fb49d919ae74bd9ce61e6fc6ec58 +0 -0
  177. data/spec/dummy/tmp/cache/assets/test/sprockets/7995c25b6170443bc92d298d2d5b505f +0 -0
  178. data/spec/dummy/tmp/cache/assets/test/sprockets/7ecc95a09b9cb642eb6f0016f55ba0c4 +0 -0
  179. data/spec/dummy/tmp/cache/assets/test/sprockets/82dd8bd63e208a624aa312f2fc172422 +0 -0
  180. data/spec/dummy/tmp/cache/assets/test/sprockets/83937a8c1967191a25ad88670ec51efb +0 -0
  181. data/spec/dummy/tmp/cache/assets/test/sprockets/9170cf6e91d84618f8a2d9f9858a3ba8 +0 -0
  182. data/spec/dummy/tmp/cache/assets/test/sprockets/9452550fd72ebffa6344cd0dae7ba1df +0 -0
  183. data/spec/dummy/tmp/cache/assets/test/sprockets/97b0f27cc2207b8db10bc6ea77ef6c22 +0 -0
  184. data/spec/dummy/tmp/cache/assets/test/sprockets/a21e2f815f8d55f9553f284b6ba541e8 +0 -0
  185. data/spec/dummy/tmp/cache/assets/test/sprockets/b87e3da61028d1116bcc4c39f4c1199b +0 -0
  186. data/spec/dummy/tmp/cache/assets/test/sprockets/c4c9b2e46bbd8c5e44fc1a3f9b948d5c +0 -0
  187. data/spec/dummy/tmp/cache/assets/test/sprockets/c669cae3ef0f47a878573b46ee07130d +0 -0
  188. data/spec/dummy/tmp/cache/assets/test/sprockets/cb2783e20ade07a26e6e7e0c32e1a1cb +0 -0
  189. data/spec/dummy/tmp/cache/assets/test/sprockets/d496744dbf971727422e384fee8292d8 +0 -0
  190. data/spec/dummy/tmp/cache/assets/test/sprockets/e6ced785594660bcc2d8ed52df089cb2 +0 -0
  191. data/spec/dummy/tmp/cache/assets/test/sprockets/ee451a2f60633299c5493e6e25996ebd +0 -0
  192. data/spec/dummy/tmp/cache/assets/test/sprockets/f01be39692238d2013fb5413e74d3185 +0 -0
  193. data/spec/dummy/tmp/cache/assets/test/sprockets/f90f608d5684678e169d427c076d4a95 +0 -0
  194. data/spec/dummy/tmp/cache/assets/test/sprockets/ff28806275d1513d87a01455507ca255 +0 -0
  195. metadata +448 -78
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 142d54e1be4eed9a400ae0155af51c3631921b6e
4
- data.tar.gz: 3c4df87c74823efc363e22abddab090a9f6824b7
3
+ metadata.gz: f2f7dd092ec306c9ed25dcf4668f849811162c7a
4
+ data.tar.gz: 552c155336d85ac6894940aa53d34d085e3e81aa
5
5
  SHA512:
6
- metadata.gz: 6b9de395e8d691b66ef4f89d6e7bf1a4af3e25671e48fabb66ef17996e18c270fdf47ab70d5b3176ceb359bf0c47e444ca9aca98e6215673f457da7c3a1d0a7e
7
- data.tar.gz: e3a805127ccdaa7406bda956b674059913b54fb81859f44680d984e36f506a6d7e148a656253d55e83d9d912410137ffc2c82f170c470802b81cc393ee508a93
6
+ metadata.gz: d875f578ad28b06025d9209178368c1a9a5508f466a71fa4150033c70e79cc039beb4d94a50914255563bff676f6c15d1b2bdb80de1b3892af228786f0c9a4cf
7
+ data.tar.gz: 91ae326cf68e36dcbc2388425365cb07f7ff38bb70635e0dd47c4fa53c79eb8d2892646245fddc2d680b961502191e7b58c3b8103bc1c751247e371ef7e2614b
@@ -1,3 +1,4 @@
1
1
  //= require jquery
2
+ //= require jquery_ujs
2
3
  //= require foundation
3
4
  //= require manage/init
@@ -1 +1,2 @@
1
- $(document).foundation()
1
+ jQuery ->
2
+ $(document).foundation()
@@ -5,6 +5,7 @@ module Manage
5
5
 
6
6
  OPTIONS = {
7
7
  wrapper: :foundation,
8
+ class: 'custom'
8
9
  }
9
10
 
10
11
  def manage_form_for(record, options={}, &block)
@@ -139,4 +139,7 @@ SimpleForm.setup do |config|
139
139
 
140
140
  # Cache SimpleForm inputs discovery
141
141
  # config.cache_discovery = !Rails.env.development?
142
+
143
+ # Default class for inputs
144
+ # config.input_class = nil
142
145
  end
@@ -15,5 +15,12 @@ SimpleForm.setup do |config|
15
15
  # b.use :hint, wrap_with: { tag: :span, class: :hint }
16
16
  end
17
17
 
18
- config.form_class = 'simple_form custom'
18
+ # CSS class for buttons
19
+ config.button_class = 'button'
20
+
21
+ # CSS class to add for error notification helper.
22
+ config.error_notification_class = 'alert-box alert'
23
+
24
+ # The default wrapper to be used by the FormBuilder.
25
+ config.default_wrapper = :foundation
19
26
  end
@@ -7,7 +7,7 @@ module Manage
7
7
  include SearchObject.module(:model, :sorting)
8
8
 
9
9
  def escape_search_term(term)
10
- "%#{term.gsub(/\s+/, '%')}%"
10
+ "%#{term.gsub(/\s+/, '%')}%".downcase
11
11
  end
12
12
 
13
13
  def parse_date(date)
@@ -23,7 +23,7 @@ module Manage
23
23
  field_type = resource_class.columns_hash[field.to_s].type
24
24
  if field_type == :text or field_type == :string
25
25
  search_class.option field.to_sym do |scope, value|
26
- scope.where "#{field.to_s} LIKE ?", escape_search_term(value)
26
+ scope.where "lower(#{field.to_s}) LIKE lower(?)", escape_search_term(value)
27
27
  end
28
28
  elsif field_type == :datetime
29
29
  search_class.option field.to_sym do |scope, value|
@@ -34,7 +34,7 @@ module Manage
34
34
  search_class.option field.to_sym
35
35
  else
36
36
  search_class.option field.to_sym do |scope, value|
37
- scope.where "#{field.to_s} LIKE ?", escape_search_term(value)
37
+ scope.where "lower(#{field.to_s}) LIKE lower(?)", escape_search_term(value)
38
38
  end
39
39
  end
40
40
  end
@@ -1,3 +1,3 @@
1
1
  module Manage
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
@@ -2,7 +2,7 @@
2
2
  <%%= f.error_notification %>
3
3
 
4
4
  <div class="form-inputs">
5
- <%- edit_attributes.each do |attribute| -%>
5
+ <%- attributes.each do |attribute| -%>
6
6
  <%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
7
7
  <%- end -%>
8
8
  </div>
Binary file
Binary file