summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/project/components/project.form.js
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/frontend/app/views/project/components/project.form.js')
-rw-r--r--animism-align/frontend/app/views/project/components/project.form.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/animism-align/frontend/app/views/project/components/project.form.js b/animism-align/frontend/app/views/project/components/project.form.js
index f4d1749..0393d81 100644
--- a/animism-align/frontend/app/views/project/components/project.form.js
+++ b/animism-align/frontend/app/views/project/components/project.form.js
@@ -110,7 +110,7 @@ export default class ProjectForm extends Component {
}
const { isNew, onSubmit } = this.props
const { data } = this.state
- const requiredKeys = "title is_live".split(" ")
+ const requiredKeys = "title".split(" ")
const validKeys = "title is_live settings".split(" ")
const validData = validKeys.reduce((a,b) => { a[b] = data[b]; return a }, {})
if (!data.title) {
@@ -173,21 +173,24 @@ export default class ProjectForm extends Component {
title="Base URL"
name="base_href"
data={data.settings}
+ placeholder="https://animism.e-flux.com"
onChange={this.handleSettingsChangeEvent}
autoComplete="off"
/>
<TextInput
title="FTP URL"
name="ftp_url"
+ placeholder="ftp://..."
data={data.settings}
onChange={this.handleSettingsChangeEvent}
autoComplete="off"
/>
<TextInput
- title="FTP Base Path"
+ title="FTP Local Path"
name="ftp_base_path"
data={data.settings}
+ placeholder="./data_store/exports/animism"
onChange={this.handleSettingsChangeEvent}
autoComplete="off"
/>