forked from padrino/padrino-framework
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow partial with block, closes padrino#1504
- Loading branch information
Showing
6 changed files
with
45 additions
and
2 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
5 changes: 5 additions & 0 deletions
5
padrino-helpers/test/fixtures/render_app/views/_partial_block_erb.erb
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<h1>prefix</h1> | ||
<div class="erb-block"> | ||
<%= yield %> | ||
</div> | ||
<h3>postfix</h3> |
4 changes: 4 additions & 0 deletions
4
padrino-helpers/test/fixtures/render_app/views/_partial_block_haml.haml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
%h1 prefix | ||
.haml-block | ||
= yield | ||
%h3 postfix |
4 changes: 4 additions & 0 deletions
4
padrino-helpers/test/fixtures/render_app/views/_partial_block_slim.slim
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
h1 prefix | ||
.slim-block | ||
= yield | ||
h3 postfix |
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