表单添加placeholder

pull/21/merge
ouqiang 2017-05-05 23:36:44 +08:00
parent cd4d3c90ac
commit 4b43c14b9e
1 changed files with 2 additions and 20 deletions

View File

@ -69,13 +69,13 @@
<div class="six fields">
<div class="field">
<label>()</label>
<input type="text" name="timeout" value="{{{.Task.Timeout}}}">
<input type="text" name="timeout" placeholder="默认0, 不限制" value="{{{.Task.Timeout}}}">
</div>
</div>
<div class="six fields">
<div class="field">
<label></label>
<input type="text" name="retry_times" value="{{{.Task.RetryTimes}}}">
<input type="text" name="retry_times" placeholder="默认0, 不重试" value="{{{.Task.RetryTimes}}}">
</div>
</div>
<div class="three fields">
@ -337,15 +337,6 @@
}
]
},
timeout: {
identifier : 'timeout',
rules: [
{
type : 'integer[-1..86400]',
prompt : '-1 - 86400'
}
]
},
remark: {
identifier : 'remark',
rules: [
@ -354,15 +345,6 @@
prompt : '100'
}
]
},
retryTimes: {
identifier : 'retry_times',
rules: [
{
type : 'integer[0..10]',
prompt : ' 0 - 10'
}
]
}
},
inline : true