default partial not found

10 views
Skip to first unread message

Ryan Sandridge

unread,
Mar 16, 2012, 5:20:37 PM3/16/12
to radiant...@googlegroups.com
Hi,

I'm trying to follow the instructions found in the help at admin/help/developing.

I've created my extension, and in the activate method, I'm calling:
admin.layout.edit.add :form_bottom, 'my_partial', :after => 'edit_timestamp'

 Then I created a partial at the following path:
/vender/extensions/my_extension/app/views/admin/layout/_my_partial.html.haml

But when I edit a layout, I see `my_partial' default partial not found! 

Any ideas what I'm doing wrong? Have I placed the partial in the wrong place?

Thanks for the help!

Ryan Sandridge

Ryan Sandridge

unread,
Mar 16, 2012, 5:32:18 PM3/16/12
to radiant...@googlegroups.com
Nevermind... layouts needs to be plural in the path... that isn't particularly obvious from the help example (since I imagine the plural of help is also help).
Reply all
Reply to author
Forward
0 new messages