alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Alchemy::Content#form_field_name
Returns a string to be passed to Rails form field tags to ensure we have same params layout everywhere. === Example: <%= text_field_tag content.form_field_name, content.ingredient %> === Options: You can pass an Essence column_name. Default is 'ingredient' ==== Example: <%= text_field_tag content.form_field_name(:link), content.ingredient %>
Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open app/models/alchemy/content.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Alchemy--Content-form_field_name-for-pr
# Commit to gitgit add app/models/alchemy/content.rbgit commit -m "better docs for Alchemy::Content#form_field_name"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Alchemy--Content-form_field_name-for-pr
hub pull-request
# Celebrate!