diff options
| author | 2019-03-18 10:26:47 +0100 | |
|---|---|---|
| committer | 2019-03-18 10:26:47 +0100 | |
| commit | 9a12888da65c8a0348634011f496e656ac7e5d8f (patch) | |
| tree | a2895b2d1dfad38c81685795134139cf2696d527 /testing/tests/render_in_place.rs | |
| parent | 37fb230e2e9aa4d9993a7c5774e48a8f6d87a294 (diff) | |
| download | askama-9a12888da65c8a0348634011f496e656ac7e5d8f.tar.gz askama-9a12888da65c8a0348634011f496e656ac7e5d8f.tar.bz2 askama-9a12888da65c8a0348634011f496e656ac7e5d8f.zip | |
Move small templates into source code
Diffstat (limited to '')
| -rw-r--r-- | testing/tests/render_in_place.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/testing/tests/render_in_place.rs b/testing/tests/render_in_place.rs index 3d1b91e..f20e775 100644 --- a/testing/tests/render_in_place.rs +++ b/testing/tests/render_in_place.rs @@ -8,14 +8,14 @@ struct RenderInPlace<'a> {  }  #[derive(Template)] -#[template(path = "render_in_place_sec1.html")] +#[template(source = "A={{ a }}\nB={{ b }}", ext = "html")]  struct SectionOne<'a> {      a: &'a str,      b: &'a str,  }  #[derive(Template)] -#[template(path = "render_in_place_sec2.html")] +#[template(source = "C={{ c }}\nD={{ d }}", ext = "html")]  struct SectionTwo<'a> {      c: &'a str,      d: &'a str, | 
