fixing placeholder text

pull/1187/head
dgtlmoon 2 years ago
parent c82bf98f13
commit f612df1b1b

@ -214,12 +214,12 @@ render_field, render_checkbox_field, render_button %} {% from
{{ render_field(form.method) }} {{ render_field(form.method) }}
</div> </div>
<div class="pure-control-group" id="request-headers"> <div class="pure-control-group" id="request-headers">
{{ render_field(form.headers, rows=5, placeholder="Example Cookie: {{ render_field(form.headers, rows=5, placeholder="Example
foobar User-Agent: wonderbra 1.0") }} Cookie: foobar User-Agent: wonderbra 1.0") }}
</div> </div>
<div class="pure-control-group" id="request-body"> <div class="pure-control-group" id="request-body">
{{ render_field(form.body, rows=5, placeholder="Example { {{ render_field(form.body, rows=5, placeholder="Example
\"name\":\"John\", \"age\":30, \"car\":null }") }} {\"name\":\"John\", \"age\":30, \"car\":null }") }}
</div> </div>
</fieldset> </fieldset>
</div> </div>
@ -380,8 +380,8 @@ render_field, render_checkbox_field, render_button %} {% from
</fieldset> </fieldset>
<div class="pure-control-group"> <div class="pure-control-group">
{% set field = render_field(form.include_filters, rows=5, {% set field = render_field(form.include_filters, rows=5,
placeholder="#example xpath://body/div/span[contains(@class, placeholder="#example
'example-class')]", class="m-d") %} {{ field }} {% if '/text()' in xpath://body/div/span[contains(@class, 'example-class')]", class="m-d") %} {{ field }} {% if '/text()' in
field %} field %}
<span class="pure-form-message-inline" <span class="pure-form-message-inline"
><strong ><strong
@ -475,8 +475,7 @@ render_field, render_checkbox_field, render_button %} {% from
</span> </span>
</div> </div>
<fieldset class="pure-group"> <fieldset class="pure-group">
{{ render_field(form.ignore_text, rows=5, placeholder="Some text to {{ render_field(form.ignore_text, rows=5, placeholder="Some text to ignore in a line /some.regex\d{2}/ for case-INsensitive regex ") }}
ignore in a line /some.regex\d{2}/ for case-INsensitive regex ") }}
<span class="pure-form-message-inline"> <span class="pure-form-message-inline">
<ul> <ul>
<li> <li>
@ -497,8 +496,7 @@ render_field, render_checkbox_field, render_button %} {% from
</fieldset> </fieldset>
<fieldset> <fieldset>
<div class="pure-control-group"> <div class="pure-control-group">
{{ render_field(form.trigger_text, rows=5, placeholder="Some text to {{ render_field(form.trigger_text, rows=5, placeholder="Some text to wait for in a line /some.regex\d{2}/ for case-INsensitive regex ")
wait for in a line /some.regex\d{2}/ for case-INsensitive regex ")
}} }}
<span class="pure-form-message-inline"> <span class="pure-form-message-inline">
<ul> <ul>
@ -524,8 +522,12 @@ render_field, render_checkbox_field, render_button %} {% from
<fieldset> <fieldset>
<div class="pure-control-group"> <div class="pure-control-group">
{{ render_field(form.text_should_not_be_present, rows=5, {{ render_field(form.text_should_not_be_present, rows=5,
placeholder="For example: Out of stock Sold out Not in stock placeholder="For example:
Unavailable") }}
Out of stock
Sold out
Not in stock
Unavailable") }}
<span class="pure-form-message-inline"> <span class="pure-form-message-inline">
<ul> <ul>
<li> <li>

@ -198,7 +198,10 @@ render_field, render_checkbox_field, render_button %} {% from
</fieldset> </fieldset>
<fieldset class="pure-group"> <fieldset class="pure-group">
{{ render_field(form.application.form.global_subtractive_selectors, {{ render_field(form.application.form.global_subtractive_selectors,
rows=5, placeholder="header footer nav .stockticker") }} rows=5, placeholder="header
footer
nav
.stockticker") }}
<span class="pure-form-message-inline"> <span class="pure-form-message-inline">
<ul> <ul>
<li> <li>

Loading…
Cancel
Save