formating-ergo #789
@ -7,13 +7,15 @@
|
|||||||
<summary>Dirty Thirty</summary>
|
<summary>Dirty Thirty</summary>
|
||||||
<p>
|
<p>
|
||||||
<div class="border-r border-l">
|
<div class="border-r border-l">
|
||||||
{% for stat in thirty %}
|
<textarea style="width: 100%; height: 300px;">
|
||||||
{% set names = stat.name | split(pat=" ") %}{% set lastname_index = names | length - 1 %}{% set lastname = names[lastname_index] %}{{ lastname }}	
|
{%- for stat in thirty %}
|
||||||
{% for name in names %}
|
{%- set names = stat.name | split(pat=" ") %}{% set lastname_index = names | length - 1 %}{% set lastname = names[lastname_index] %}{{ lastname }}	
|
||||||
|
{%- for name in names -%}
|
||||||
{% if loop.index != lastname_index +1 %}{{ name }}{% endif %}
|
{% if loop.index != lastname_index +1 %}{{ name }}{% endif %}
|
||||||
{% endfor %}
|
{%- endfor -%}
|
||||||
	{{ stat.dob }}	{{ stat.weight }}	{{ stat.sex }}		DLI	{{ stat.result }}
|
	{{ stat.dob }}	{{ stat.weight }}	{{ stat.sex }}		DLI	{{ stat.result }}
|
||||||
{% endfor %}
|
{%- endfor -%}
|
||||||
|
</textarea>
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
@ -21,17 +23,15 @@
|
|||||||
<summary>Dirty Dozen</summary>
|
<summary>Dirty Dozen</summary>
|
||||||
<p>
|
<p>
|
||||||
<div class="border-r border-l">
|
<div class="border-r border-l">
|
||||||
{% for stat in dozen %}
|
<textarea style="width: 100%; height: 300px;">
|
||||||
{% set names = stat.name | split(pat=" ") %}
|
{%- for stat in dozen -%}
|
||||||
{% set lastname_index = names | length - 1 %}
|
{%- set names = stat.name | split(pat=" ") %}{% set lastname_index = names | length - 1 %}{% set lastname = names[lastname_index] %}{{ lastname }}	
|
||||||
{% set lastname = names[lastname_index] %}
|
{%- for name in names -%}
|
||||||
{{ lastname }};
|
|
||||||
{% for name in names %}
|
|
||||||
{% if loop.index != lastname_index +1 %}{{ name }}{% endif %}
|
{% if loop.index != lastname_index +1 %}{{ name }}{% endif %}
|
||||||
{% endfor %}
|
{%- endfor -%}
|
||||||
;{{ stat.dob }};{{ stat.weight }};{{ stat.sex }};DLI;{{ stat.result }}
|
	{{ stat.dob }}	{{ stat.weight }}	{{ stat.sex }}		DLI	{{ stat.result }}
|
||||||
<br />
|
{%- endfor -%}
|
||||||
{% endfor %}
|
</textarea>
|
||||||
</div>
|
</div>
|
||||||
</p>
|
</p>
|
||||||
</details>
|
</details>
|
||||||
|
Loading…
Reference in New Issue
Block a user