Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _form.html.eex #565

Merged
merged 1 commit into from
Apr 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/web/templates/submission/_form.html.eex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<section>
<small class="d-block pl-2 mb-2">Required<span class="required">*</span></small>
<small class="d-block pl-2 mb-2"><strong>Required fields are indicated with a</strong> <span class="required">*</span></small>
<%= form_for(@changeset, @path, [class: "form-horizontal", multipart: true], fn f -> %>
<%= if Accounts.has_admin_access?(@user) and @data.status != "submitted" do %>
<%= solver_field(f, @user, @data) %>
Expand All @@ -24,7 +24,7 @@
</div>
<hr>
<div class="form-group">
<label class="col">Upload file(s) (optional)<br>
<label class="col">Upload file(s)<br>
Follow the steps below to attach files to your submission. Multiple file attachments are allowed after each upload.<br></label>
<div class="col">
<div class="submission-document-ids">
Expand Down Expand Up @@ -66,7 +66,7 @@
</div>
</div>
<hr>
<%= FormView.text_field(f, :external_url, label: "External URL (optional)") %>
<%= FormView.text_field(f, :external_url, label: "External URL (format example: http://yourwebsite.com) ") %>
<hr>

<%= accept_terms(@conn, f, @user, @challenge) %>
Expand Down