change to engine and add stylesheet for active admin
This commit is contained in:
parent
3223b019eb
commit
eb7fdc6e10
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@ spec/reports
|
|||||||
test/tmp
|
test/tmp
|
||||||
test/version_tmp
|
test/version_tmp
|
||||||
tmp
|
tmp
|
||||||
|
.sass-cache/
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
.separate_date_and_time_picker {
|
||||||
|
.input-date {
|
||||||
|
width: 20% !important;
|
||||||
|
}
|
||||||
|
}
|
@ -2,7 +2,7 @@ require "formtastic-separate_html5_date_and_time/version"
|
|||||||
|
|
||||||
module Formtastic
|
module Formtastic
|
||||||
module SeparateHtml5DateAndTime
|
module SeparateHtml5DateAndTime
|
||||||
class Railtie < ::Rails::Railtie
|
class Engine < ::Rails::Engine
|
||||||
initializer 'separate_html5_date_and_time.initialize' do
|
initializer 'separate_html5_date_and_time.initialize' do
|
||||||
require 'formtastic'
|
require 'formtastic'
|
||||||
require 'formtastic-separate_html5_date_and_time/formtastic'
|
require 'formtastic-separate_html5_date_and_time/formtastic'
|
||||||
|
Loading…
Reference in New Issue
Block a user