aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Inputs.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/Inputs.js')
-rw-r--r--frontend/src/components/Inputs.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/src/components/Inputs.js b/frontend/src/components/Inputs.js
index 25a4b8e..b61869f 100644
--- a/frontend/src/components/Inputs.js
+++ b/frontend/src/components/Inputs.js
@@ -23,6 +23,7 @@ class TitleInput extends React.Component {
value={this.props.value} />
<input
name="title"
+ readOnly={this.props.readOnly}
className="lt-shadow"
placeholder="Title"
id={this.props.id}
@@ -49,6 +50,7 @@ class PasteInput extends React.Component {
value={this.props.content} />
<textarea
name="content"
+ readOnly={this.props.readOnly}
placeholder="Paste your text here"
value={this.props.content}
id={this.props.id}