# "Patch" for latest Shards extension

**URL:** <https://www.ruby-forum.com/t/patch-for-latest-shards-extension/119906>\
**Category:** Radiant CMS\
**Created:** [November 12, 2007, 3:16am UTC](https://www.ruby-forum.com/t/patch-for-latest-shards-extension/119906 "2007-11-12T03:16:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcelo\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9a140/32.png) [@marcelo\_a](https://www.ruby-forum.com/u/marcelo_a)\
**Post date:** [November 12, 2007, 3:16am UTC](https://www.ruby-forum.com/t/patch-for-latest-shards-extension/119906/1 "2007-11-12T03:16:56Z")

</div>

Hi,

I am using Radiant and Shards from the trunk, using Piston to update.  
Just noticed that a clean installation of Radiant, with the latest  
Radiant and Shards (from r599) breaks when you go to /admin/pages. The  
breaking occurs on \_node.rthml, inside Shards.

It’s a tiny problem, apparently, and the solution is just passing  
“level” as an argument to “padding\_left”, on line 2 of  
extensions/shards/app/views/admin/page/\_node.rhtml, to make line 2  
exactly like the non-overridden one (in  
radiant/app/views/admin/page/\_node.rhtml).

I could submit a patch, but I thought your time would be better used  
just passing the argument yourselves. If you prefer the patch, I would  
be glad to submit it.

Thanks,  
Marcelo.

---

<div class="post-metadata">

**Author:** ![marcelo\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9a140/32.png) [@marcelo\_a](https://www.ruby-forum.com/u/marcelo_a)\
**Post date:** [November 12, 2007, 4:29am UTC](https://www.ruby-forum.com/t/patch-for-latest-shards-extension/119906/2 "2007-11-12T04:29:59Z")

</div>

Thanks, Marcelo. I might have just forgotten to commit.

Sean

---

<div class="post-metadata">

**Author:** ![marcelo\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e9a140/32.png) [@marcelo\_a](https://www.ruby-forum.com/u/marcelo_a)\
**Post date:** [November 12, 2007, 6:29am UTC](https://www.ruby-forum.com/t/patch-for-latest-shards-extension/119906/3 "2007-11-12T06:29:48Z")

</div>

Thank you! That happens. 🙂

Cheers,  
Marcelo.
