-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
embedded_partial and self_embedded_partial
There kinds of partials extract HTML to be processed from original template element: embedded_partial allows to render any element of document with specified Lilu partial instruction (_name_of_partial.lilu): update('#header-from').with embedded_partial('#header-from',"header_from",:locals => { :name => @name}) self_embedded_partial renders selected element: update('#header-from').with self_embedded_partial("header_from",:locals => { :name => @name}) it also works with multiple elements: update(:all,'.header-from').with self_embedded_partial("header_from",:locals => { :name => @name})
- Loading branch information
Yurii Rashkovskii
committed
Jan 8, 2008
1 parent
85c23d1
commit e7b5f76
Showing
3 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters