> 1) How do I insert a tag in the middle of some text, without adding
> the line breaks?
%p= "Foo" + Html.ActionLink(...) + "Bar"
> 2) I understand how partials work, but is there any way to create a
> reusable component that can be used by views rendered by actions in
> different controllers?
This currently not supported but should be. It should work like this:
_ Shared\Foo
Where Shared is the name of a folder under Views. Feel free to
contribute a patch :-)
> 3) Is there any way for a view to insert content into elements that
> are rendered by the layout?
No. One approach is to have the Controller set some ViewData that
controls what happens in the Layout.
Cheers,
Andrew.