Skip to content

Commit

Permalink
Add help text
Browse files Browse the repository at this point in the history
  • Loading branch information
oltarasenko committed Dec 16, 2020
1 parent e94a41b commit 050e862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/crawly_ui_web/templates/job/new_spider.html.leex
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<%= if @current_step == 0 do %>
See instructions <a target="_blank" href="https://www.youtube.com/watch?v=1O-XArob5rU&ab_channel=OlegTarasenko">here</a>
<form phx-submit="step1">
<label>Spider Name</label>
<label>Spider Name (one word without spaces, e.g. `TestSpider`)</label>
<input type="text" value="<%= Map.get(@data, "name") %>" name="name" required />

<label>Fields (coma separated)</label>
<label>Fields (coma separated, e.g. `title,url,text`)</label>
<input type="text" name="fields" value="<%= raw Map.get(@data, "fields") %>" required />
<input type="submit" value="Update"/>
</form>
Expand Down

0 comments on commit 050e862

Please sign in to comment.