Created by: gracewashere
Feature:
When I have a custom field type that I want to share with others, I want to reference an official template for a field gem so I can more easily package my field for sharing.
Implementation:
Create a template for field plugins by extracting the image field into its own gem.
This is a breaking change with an easy fix -
anybody who uses Image fields
will need to add gem "administrate-field-image"
to their Gemfile
.
The source for the image field gem is up at https://github.com/graysonwright/administrate-field-image.