in Dataset/JS/ReactBookmarks/bookmarks.js [57:100]
render() {
const { query } = this.props;
return (
<DocumentTitle title={getTitle('My bookmarks')}>
<div>
<PageHeader header="My bookmarks" />
<form onSubmit={this.handleSearch}>
<Input
type="search"
ref="query"
onClick={this.handleSelectSearch}
placeholder="Find a podcast in your bookmarks"
/>
<Input>
<Button
bsStyle="primary"
type="submit"
defaultValue={query}
className="form-control"
><Icon icon="search" /> Search
</Button>
</Input>
{query ? <Input>
<Button
bsStyle="default"
onClick={this.handleClearSearch}
className="form-control"
><Icon icon="refresh" /> Show all bookmarks
</Button>
</Input> : ''}
</form>
<PodcastList
actions={actions}
searchQuery={query}
showChannel
isLoggedIn
ifEmpty="No bookmarks found"
onSelectPage={this.handleSelectPage}
{...this.props}
/>
</div>
</DocumentTitle>
);
}