trabajo-afectivo/app/views/tests/form_trim.html.erb
2020-03-04 10:00:55 +01:00

42 lines
1.1 KiB
Text

<link rel="stylesheet" href="/assets/tests/qunit-1.21.0.css">
<%= javascript_include_tag "/assets/tests/qunit-1.21.0.js", "/assets/tests/form_trim.js", nonce: true %>
<style type="text/css">
body {
padding-top: 0px;
}
</style>
<%= javascript_tag nonce: true do -%>
<% end -%>
<div id="qunit" class="u-dontfold"></div>
<div>
<form class="form-stacked pull-left" id="form1">
<input type="text" value="" name="input1">
<input type="text" value="
" name="input2">
<input type="text" value=" a " name="input3">
<input type="text" value=" a b " name="input4">
<input type="text" value=" äö ü" name="input5">
<input type="text" value=" a " name="input6">
<input type="text" value=" b " name="input6">
<input type="text" value=" c " name="input6">
<input type="text" value=" d " name="input6">
<textarea name="textarea1"></textarea>
<textarea name="textarea2"> </textarea>
<textarea name="textarea3"> a </textarea>
<textarea name="textarea4">test
123
</textarea>
<div contenteditable="true" data-name="ce1"> lala </div>
<div contenteditable="true" data-name="ce2"> la
la </div>
</form>
</div>