Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Latest commit

 

History

History
52 lines (33 loc) · 632 Bytes

README.textile

File metadata and controls

52 lines (33 loc) · 632 Bytes

RailsMisc

Inputs

Date Picker Input

use in simple_forms

  f.input :done_on, as: :date_picker

wire in js-manifest:

  //= require jquery-ui
  //= require ',/date_picker_input

if necessary (you don’t completely include jquery-ui anyway), wire css

  //= require ',/date_picker_input

Ace Editor Input

include 3rd party gem

  gem 'ace-rails-ap'

use in simple_forms

  f.input :text_field, as: :editor_ace

wire in js-manifest:

  //= require ',/editor_ace_input

and in css-manifest

  //= require ',/editor_ace_input