No description, website, or topics provided.
Ruby CoffeeScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 38 commits behind unmantained-activeadmin-plugins:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/assets
config/locales
lib
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
activeadmin-globalize3.gemspec

README.md

ActiveAdmin::Globalize3

Makes it easy to translate your resource fields.

Installation

gem "activeadmin-globalize3"

Your model

active_admin_translates :title, :description do
  validates_presence_of :title
end

Editor configuration

index do
  # ...
  translation_status
  # ...
  default_actions
end

form do |f|
  # ...
  f.translated_inputs "Translated fields" do |t|
    t.input :title
    t.input :content
  end
  # ...
end

Friendly ID

If you want to use Friendly ID together with Globalize3, please take a look at the activeadmin-seo gem.