kono_utils_bootstrap_view4 0.1.0.pre.rc.5 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/app/concepts/kono_utils/{base_object → object}/cell/base.rb +7 -3
  3. data/app/concepts/kono_utils/{base_object → object}/cell/buttons/base.rb +1 -1
  4. data/app/concepts/kono_utils/{base_object → object}/cell/buttons/collapse_search.rb +1 -1
  5. data/app/concepts/kono_utils/{base_object → object}/cell/buttons/create.rb +1 -1
  6. data/app/concepts/kono_utils/{base_object → object}/cell/buttons/delete.rb +1 -1
  7. data/app/concepts/kono_utils/{base_object → object}/cell/buttons/download.rb +1 -1
  8. data/app/concepts/kono_utils/{base_object → object}/cell/buttons/edit.rb +1 -1
  9. data/app/concepts/kono_utils/{base_object → object}/cell/buttons/list.rb +1 -1
  10. data/app/concepts/kono_utils/{base_object → object}/cell/buttons/reset_search.rb +1 -1
  11. data/app/concepts/kono_utils/{base_object → object}/cell/create/base.rb +1 -1
  12. data/app/concepts/kono_utils/{base_object → object}/cell/create/page_title.rb +1 -1
  13. data/app/concepts/kono_utils/{base_object → object}/cell/create/side_title.rb +1 -1
  14. data/app/concepts/kono_utils/{base_object → object}/cell/edits/base.rb +1 -1
  15. data/app/concepts/kono_utils/{base_object → object}/cell/edits/page_title.rb +1 -1
  16. data/app/concepts/kono_utils/{base_object → object}/cell/edits/side_title.rb +1 -1
  17. data/app/concepts/kono_utils/{base_object → object}/cell/form.rb +1 -1
  18. data/app/concepts/kono_utils/{base_object → object}/cell/forms/base.rb +1 -1
  19. data/app/concepts/kono_utils/{base_object → object}/cell/forms/container.rb +1 -1
  20. data/app/concepts/kono_utils/{base_object → object}/cell/forms/containers/layout.rb +1 -1
  21. data/app/concepts/kono_utils/{base_object → object}/cell/forms/containers/modal_layout.rb +1 -1
  22. data/app/concepts/kono_utils/{base_object → object}/cell/forms/containers/search_layout.rb +1 -1
  23. data/app/concepts/kono_utils/{base_object → object}/cell/forms/containers/table_layout.rb +1 -1
  24. data/app/concepts/kono_utils/{base_object → object}/cell/forms/field_selector.rb +1 -1
  25. data/app/concepts/kono_utils/{base_object → object}/cell/forms/field_selectors/layout.rb +1 -1
  26. data/app/concepts/kono_utils/{base_object → object}/cell/forms/field_selectors/modal_layout.rb +1 -1
  27. data/app/concepts/kono_utils/{base_object → object}/cell/forms/field_selectors/table_layout.rb +1 -1
  28. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/association.rb +1 -1
  29. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/base.rb +1 -1
  30. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/bases/layout.rb +1 -1
  31. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/bases/modal_layout.rb +1 -1
  32. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/bases/table_layout.rb +1 -1
  33. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/check_box.rb +1 -1
  34. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/collection.rb +1 -1
  35. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/date_field.rb +1 -1
  36. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/date_time_field.rb +2 -2
  37. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/enum.rb +1 -1
  38. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/file_field.rb +1 -1
  39. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_modal_wrapper.rb +1 -1
  40. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_modal_wrappers/forms_container.rb +1 -1
  41. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_modal_wrappers/show.rb +1 -1
  42. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrapper.rb +1 -1
  43. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/form.rb +1 -1
  44. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms/layout.rb +1 -1
  45. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms/modal_layout.rb +1 -1
  46. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms/table_layout.rb +1 -1
  47. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms_container.rb +1 -1
  48. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms_containers/layout.rb +1 -1
  49. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms_containers/modal_layout.rb +1 -1
  50. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/forms_containers/table_layout.rb +1 -1
  51. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/header.rb +1 -1
  52. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/remove_button.rb +2 -2
  53. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/remove_buttons/layout.rb +1 -1
  54. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/remove_buttons/modal_layout.rb +1 -1
  55. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/nested_wrappers/remove_buttons/table_layout.rb +1 -1
  56. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/read_only.rb +1 -1
  57. data/app/concepts/kono_utils/{base_object → object}/cell/forms/fields/time_field.rb +1 -1
  58. data/app/concepts/kono_utils/{base_object → object}/cell/forms/layout.rb +1 -1
  59. data/app/concepts/kono_utils/{base_object → object}/cell/forms/submit.rb +1 -1
  60. data/app/concepts/kono_utils/{base_object → object}/cell/index/base.rb +1 -1
  61. data/app/concepts/kono_utils/{base_object → object}/cell/index/page_title.rb +1 -1
  62. data/app/concepts/kono_utils/{base_object → object}/cell/index/row.rb +1 -1
  63. data/app/concepts/kono_utils/{base_object → object}/cell/index/row_buttons.rb +1 -1
  64. data/app/concepts/kono_utils/{base_object → object}/cell/index/row_footer.rb +1 -1
  65. data/app/concepts/kono_utils/{base_object → object}/cell/index/row_header.rb +1 -1
  66. data/app/concepts/kono_utils/{base_object → object}/cell/index/side_title.rb +1 -1
  67. data/app/concepts/kono_utils/{base_object → object}/cell/index/table.rb +1 -1
  68. data/app/concepts/kono_utils/{base_object → object}/cell/inject.rb +3 -3
  69. data/app/concepts/kono_utils/{base_object → object}/cell/modals/base.rb +1 -1
  70. data/app/concepts/kono_utils/{base_object → object}/cell/modals/bodies/layout.rb +1 -1
  71. data/app/concepts/kono_utils/{base_object → object}/cell/modals/body.rb +1 -1
  72. data/app/concepts/kono_utils/{base_object → object}/cell/modals/container.rb +1 -1
  73. data/app/concepts/kono_utils/{base_object → object}/cell/modals/containers/layout.rb +1 -1
  74. data/app/concepts/kono_utils/{base_object → object}/cell/modals/footer.rb +1 -1
  75. data/app/concepts/kono_utils/{base_object → object}/cell/modals/footers/layout.rb +1 -1
  76. data/app/concepts/kono_utils/{base_object → object}/cell/modals/header.rb +1 -1
  77. data/app/concepts/kono_utils/{base_object → object}/cell/modals/headers/layout.rb +1 -1
  78. data/app/concepts/kono_utils/{base_object → object}/cell/search.rb +1 -1
  79. data/app/concepts/kono_utils/{base_object → object}/cell/searches/form.rb +1 -1
  80. data/app/concepts/kono_utils/{base_object → object}/cell/show.rb +1 -1
  81. data/app/concepts/kono_utils/{base_object → object}/cell/shows/base.rb +1 -1
  82. data/app/concepts/kono_utils/{base_object → object}/cell/shows/page_title.rb +1 -1
  83. data/app/concepts/kono_utils/{base_object → object}/cell/shows/side_title.rb +1 -1
  84. data/app/concepts/kono_utils/{base_object → object}/view/create/side_title.erb +0 -0
  85. data/app/concepts/kono_utils/{base_object → object}/view/edits/side_title.erb +0 -0
  86. data/app/concepts/kono_utils/{base_object → object}/view/form.erb +0 -0
  87. data/app/concepts/kono_utils/{base_object → object}/view/forms/container.erb +0 -0
  88. data/app/concepts/kono_utils/{base_object → object}/view/forms/containers/layout.erb +0 -0
  89. data/app/concepts/kono_utils/{base_object → object}/view/forms/containers/modal_layout.erb +0 -0
  90. data/app/concepts/kono_utils/{base_object → object}/view/forms/containers/search_layout.erb +0 -0
  91. data/app/concepts/kono_utils/{base_object → object}/view/forms/containers/table_layout.erb +0 -0
  92. data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selector.erb +0 -0
  93. data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selectors/layout.erb +0 -0
  94. data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selectors/modal_layout.erb +0 -0
  95. data/app/concepts/kono_utils/{base_object → object}/view/forms/field_selectors/table_layout.erb +0 -0
  96. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/association.erb +0 -0
  97. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/base.erb +0 -0
  98. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/layout.erb +0 -0
  99. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/layout.scss +0 -0
  100. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/modal_layout.erb +0 -0
  101. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/bases/table_layout.erb +0 -0
  102. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/check_box.erb +0 -0
  103. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/collection.erb +0 -0
  104. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_modal_wrapper.erb +0 -0
  105. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_modal_wrappers/forms_container.erb +0 -0
  106. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_modal_wrappers/show.erb +0 -0
  107. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrapper.erb +0 -0
  108. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/form.erb +0 -0
  109. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms/layout.erb +0 -0
  110. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms/modal_layout.erb +0 -0
  111. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms/table_layout.erb +0 -0
  112. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms_container.erb +0 -0
  113. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms_containers/layout.erb +0 -0
  114. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms_containers/modal_layout.erb +0 -0
  115. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/forms_containers/table_layout.erb +0 -0
  116. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/header.erb +0 -0
  117. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/remove_button.erb +0 -0
  118. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/remove_buttons/layout.erb +0 -0
  119. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/remove_buttons/modal_layout.erb +0 -0
  120. data/app/concepts/kono_utils/{base_object → object}/view/forms/fields/nested_wrappers/remove_buttons/table_layout.erb +0 -0
  121. data/app/concepts/kono_utils/{base_object → object}/view/forms/layout.erb +0 -0
  122. data/app/concepts/kono_utils/{base_object → object}/view/index/row.erb +0 -0
  123. data/app/concepts/kono_utils/{base_object → object}/view/index/row_buttons.erb +0 -0
  124. data/app/concepts/kono_utils/{base_object → object}/view/index/row_footer.erb +0 -0
  125. data/app/concepts/kono_utils/{base_object → object}/view/index/row_header.erb +0 -0
  126. data/app/concepts/kono_utils/{base_object → object}/view/index/side_title.erb +0 -0
  127. data/app/concepts/kono_utils/{base_object → object}/view/index/table.erb +0 -0
  128. data/app/concepts/kono_utils/{base_object → object}/view/inject.erb +0 -0
  129. data/app/concepts/kono_utils/{base_object → object}/view/modals/bodies/layout.erb +0 -0
  130. data/app/concepts/kono_utils/{base_object → object}/view/modals/body.erb +0 -0
  131. data/app/concepts/kono_utils/{base_object → object}/view/modals/container.erb +0 -0
  132. data/app/concepts/kono_utils/{base_object → object}/view/modals/containers/layout.erb +0 -0
  133. data/app/concepts/kono_utils/{base_object → object}/view/modals/footer.erb +0 -0
  134. data/app/concepts/kono_utils/{base_object → object}/view/modals/footers/layout.erb +0 -0
  135. data/app/concepts/kono_utils/{base_object → object}/view/modals/header.erb +0 -0
  136. data/app/concepts/kono_utils/{base_object → object}/view/modals/headers/layout.erb +0 -0
  137. data/app/concepts/kono_utils/{base_object → object}/view/search.erb +0 -0
  138. data/app/concepts/kono_utils/{base_object → object}/view/searches/form.erb +0 -0
  139. data/app/concepts/kono_utils/{base_object → object}/view/show.erb +0 -0
  140. data/app/concepts/kono_utils/{base_object → object}/view/shows/side_title.erb +0 -0
  141. data/app/inputs/tempus_dominus_input.rb +3 -3
  142. data/app/views/kono_utils/base_editing/edit.html.erb +3 -3
  143. data/app/views/kono_utils/base_editing/edit.inject.erb +1 -1
  144. data/app/views/kono_utils/base_editing/index.html.erb +4 -4
  145. data/app/views/kono_utils/base_editing/new.html.erb +3 -3
  146. data/app/views/kono_utils/base_editing/new.inject.erb +1 -1
  147. data/app/views/kono_utils/base_editing/show.html.erb +3 -3
  148. data/app/views/kono_utils/base_editing/success_create_show.inject.erb +1 -1
  149. data/app/views/kono_utils/base_editing/success_update_show.inject.erb +1 -1
  150. data/lib/kono_utils_bootstrap_view4.rb +14 -8
  151. data/lib/kono_utils_bootstrap_view4/base_class_concept_ns.rb +1 -1
  152. data/lib/kono_utils_bootstrap_view4/engine.rb +1 -4
  153. data/lib/kono_utils_bootstrap_view4/version.rb +1 -1
  154. metadata +149 -157
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Forms # namespace
5
5
  module Fields
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Forms # namespace
5
5
  module Fields
@@ -7,7 +7,7 @@ module KonoUtils
7
7
  # Bottone per la rimozione della riga nested
8
8
  # *Options:*
9
9
  # - ajax_remove: [Boolean] -> indica se vogliamo che venga veramente cancellato il record
10
- class NestedWrappers::RemoveButton < KonoUtils::BaseObject::Cell::Buttons::Delete
10
+ class NestedWrappers::RemoveButton < KonoUtils::Object::Cell::Buttons::Delete
11
11
 
12
12
  def url_to
13
13
  if ajax_remove?
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Forms # namespace
5
5
  module Fields
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Forms # namespace
5
5
  module Fields
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Forms # namespace
5
5
  module Fields
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Forms # namespace
5
5
  module Fields
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Forms # namespace
5
5
  module Fields
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Forms # namespace # Layout base della form
5
5
  class Layout < Base
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Forms # namespace
5
5
  # La cella base dei componenti della form contiene sempre la form come model
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  class Index::Base < Base
5
5
 
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Index # namespace
5
5
  class PageTitle < Base
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Index # namespace
5
5
  class Row < Base # class
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Index # namespace
5
5
  class RowButtons < Base # class
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Index # namespace
5
5
  class RowFooter < Row # class
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Index # namespace
5
5
  class RowHeader < Row # class
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Index # namespace
5
5
  class SideTitle < Base
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Index # namespace
5
5
  class Table < Base
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  ##
5
5
  # Classe per la gestione dell'inserimento del contenuto e javascript per l'azione inject
@@ -46,7 +46,7 @@ module KonoUtils
46
46
  form: form,
47
47
  base_class: base_class,
48
48
  nested_layout: nested_layout,
49
- current_user: context[:current_user]
49
+ kono_user: context[:kono_user]
50
50
  }.merge(remote_context)
51
51
  )
52
52
 
@@ -77,7 +77,7 @@ module KonoUtils
77
77
  context: {
78
78
  form: form,
79
79
  base_class: base_class,
80
- current_user: context[:current_user]
80
+ kono_user: context[:kono_user]
81
81
  }.merge(remote_context)
82
82
  )
83
83
 
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  # Cella Base per i componenti della modal
5
5
  class Modals::Base < Base
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Modals # namespace
5
5
  # Layout Standard del contenitore della modal
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  # Cella Base per i componenti della modal
5
5
  class Modals::Body < Base
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  ##
5
5
  # Contenitore principale modal, come Model riceve un oggetto che rappresente il body da renderizzare che deve rispondere
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Modals # namespace
5
5
  # Layout Standard del contenitore della modal
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell # Cella Base per i componenti della modal
4
4
  class Modals::Footer < Base
5
5
 
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Modals # namespace
5
5
  # Layout Standard del contenitore della modal
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell # Cella Base per i componenti della modal
4
4
  class Modals::Header < Base
5
5
 
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Modals # namespace
5
5
  # Layout Standard del contenitore della modal
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  class Search < Base
5
5
 
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  ##
5
5
  # Classe variante della ricerca
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
 
5
5
  class Show < Base
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  class Shows::Base < Base
5
5
 
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Shows # namespace
5
5
  class PageTitle < Base
@@ -1,5 +1,5 @@
1
1
  module KonoUtils
2
- module BaseObject
2
+ module Object
3
3
  module Cell
4
4
  module Shows
5
5
  class SideTitle < Base
@@ -1,11 +1,11 @@
1
1
  class TempusDominusInput < SimpleForm::Inputs::Base
2
2
  def input(wrapper_options)
3
3
 
4
- template.content_tag(:div, class: 'input-group date', data: {target_input: 'nearest'}, id: options[:date_time_picker_identifier]) do
4
+ template.content_tag(:div, class: "input-group date #{ has_errors? ? 'is-invalid' : ''}", data: { target_input: 'nearest'}, id: options[:date_time_picker_identifier]) do
5
5
 
6
6
  tmp = ActiveSupport::SafeBuffer.new
7
-
8
- tmp << @builder.text_field(attribute_name, input_html_options)
7
+ merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
8
+ tmp << @builder.text_field(attribute_name, merged_input_options)
9
9
  tmp << div_button
10
10
 
11
11
  tmp