Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const { user, password, url } = this.state;
return (
<form>
<h1> Tiny Tiny RSS Reader</h1>
<div>
<label>Username</label>
<input required="" value="{" name="user" type="text" id="login-user">
</div>
<div>
<label>Password</label></div></form>
render() {
return (
<form>
{ this.renderMessage() }
<div>
<label>Feed URL</label>
{ this.renderUrlField() }
</div>
<div>
<label>Category</label>
{ this.renderCategories() }
</div>
<div>
{ this.renderButton() }
</div>
</form>
modeAttrs = { checked: 'checked' };
} else {
modeType = 'toggle-off';
modeAttrs = {};
}
if ( noPagination ) {
noPaginationType = 'toggle-on';
noPaginationAttrs = { checked: 'checked' };
} else {
noPaginationType = 'toggle-off';
noPaginationAttrs = {};
}
return (
<form>
<div>
<label>Limit</label>
<input value="{" required="" max="200" min="1" name="limit" type="number" id="s-limit">
<label>
<small>Number of articles to fetch.</small></label></div></form>