|
|
@ -178,10 +178,11 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
|
|
|
|
<label class="col-form-label">Reason</label>
|
|
|
|
<label class="col-form-label">Reason</label>
|
|
|
|
<input type="text" class="form-control mr-2" placeholder="Optional" value={this.state.banReason} onInput={linkEvent(this, this.handleModBanReasonChange)} />
|
|
|
|
<input type="text" class="form-control mr-2" placeholder="Optional" value={this.state.banReason} onInput={linkEvent(this, this.handleModBanReasonChange)} />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group row">
|
|
|
|
{/* TODO hold off on expires until later */}
|
|
|
|
<label class="col-form-label">Expires</label>
|
|
|
|
{/* <div class="form-group row"> */}
|
|
|
|
<input type="date" class="form-control mr-2" placeholder="Expires" value={this.state.banExpires} onInput={linkEvent(this, this.handleModBanExpiresChange)} />
|
|
|
|
{/* <label class="col-form-label">Expires</label> */}
|
|
|
|
</div>
|
|
|
|
{/* <input type="date" class="form-control mr-2" placeholder="Expires" value={this.state.banExpires} onInput={linkEvent(this, this.handleModBanExpiresChange)} /> */}
|
|
|
|
|
|
|
|
{/* </div> */}
|
|
|
|
<div class="form-group row">
|
|
|
|
<div class="form-group row">
|
|
|
|
<button type="submit" class="btn btn-secondary">Ban {this.props.node.comment.creator_name}</button>
|
|
|
|
<button type="submit" class="btn btn-secondary">Ban {this.props.node.comment.creator_name}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|