Open adamjohnson opened 4 years ago
hammer-start
r:page:data_exists
_wvu-component-footer.html
_wvu-check-if-saved.html
page:data_exists:
page:data_exists
A couple different ways to use it:
<h2><r:page:data_exists /></h2> <h2><r:page:data_exists for="cool_custom_attribute" /></h2> <r:set_var name="isSaved" default="{page:data_exists}" />
cleanslate/app/lib/slate/radius/tags/page.rb (Github)
How to reproduce
hammer-start
r:page:data_exists
is used in the_wvu-component-footer.html
and in the_wvu-check-if-saved.html
partials.Tag to add support for
page:data_exists
:A couple different ways to use it:
Link to tags in CleanSlate repo
cleanslate/app/lib/slate/radius/tags/page.rb (Github)