Enable JS in shared translatable test
Due to its markdown editor, the admin draft version page requires JS to correctly render the draft version form.
This commit is contained in:
@@ -9,7 +9,7 @@ class Legislation::DraftVersion < ActiveRecord::Base
|
||||
translates :body, touch: true
|
||||
translates :body_html, touch: true
|
||||
translates :toc_html, touch: true
|
||||
globalize_accessors locales: [:en, :es, :fr, :nl, :val, :pt_br]
|
||||
globalize_accessors
|
||||
|
||||
belongs_to :process, class_name: 'Legislation::Process', foreign_key: 'legislation_process_id'
|
||||
has_many :annotations, class_name: 'Legislation::Annotation', foreign_key: 'legislation_draft_version_id', dependent: :destroy
|
||||
|
||||
Reference in New Issue
Block a user