alchemy_cms

https://github.com/magiclabs/alchemy_cms

Ruby

AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻‍♂️

Alchemy::EssencesHelper#render_essence_view

Renders the +Esssence+ view partial for given +Content+.

== Options:

  :image_size => "111x93"                        # Used by EssencePicture to render the image via RMagick to that size. [Default nil]
  :date_format => "Am %d. %m. %Y, um %H:%Mh"     # Especially for EssenceDate. See Rubys Date.strftime for date formatting options. [Default nil]
  :show_caption => false                         # Pass Boolean to show/hide the caption of an EssencePicture. [Default true]
  :disable_link => true                          # You can surpress the link of an EssencePicture. Default false

Source | Google | Stack overflow

Edit

git clone [email protected]:magiclabs/alchemy_cms.git

cd alchemy_cms

open app/helpers/alchemy/essences_helper.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Alchemy--EssencesHelper-render_essence_view-for-pr


# Commit to git

git add app/helpers/alchemy/essences_helper.rbgit commit -m "better docs for Alchemy::EssencesHelper#render_essence_view"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Alchemy--EssencesHelper-render_essence_view-for-pr

hub pull-request


# Celebrate!