Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
6eb41f78
Commit
6eb41f78
authored
5 years ago
by
Todd Dembrey
Committed by
Fredrik Jonsson
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Ensure that saving and submitting the report form send different value
parent
aa48c875
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hypha/apply/projects/templates/application_projects/report_form.html
+4
-3
4 additions, 3 deletions
.../projects/templates/application_projects/report_form.html
with
4 additions
and
3 deletions
hypha/apply/projects/templates/application_projects/report_form.html
+
4
−
3
View file @
6eb41f78
...
...
@@ -40,7 +40,8 @@
{% endif %}
{% endfor %}
<input
type=
"submit"
id=
"submit-report-form"
class=
"is-hidden"
/>
<input
type=
"submit"
id=
"submit-report-form-submit"
name=
"submit"
class=
"is-hidden"
/>
<input
type=
"submit"
id=
"submit-report-form-save"
name=
"save"
class=
"is-hidden"
/>
<input
data-fancybox
data-src=
"#save-report"
class=
"button button--submit button--top-space button--white"
type=
"button"
value=
"Save"
/>
<input
data-fancybox
data-src=
"#submit-report"
class=
"button button--primary"
type=
"button"
value=
"Submit"
/>
...
...
@@ -52,7 +53,7 @@
</div>
<div
class=
"modal__buttons"
>
<button
data-fancybox-close
class=
"button button--submit button--white"
>
Cancel
</button>
<label
class=
"button button--submit button--top-space button--primary"
for=
"submit-report-form"
tabindex=
"0"
>
Save
</label>
<label
class=
"button button--submit button--top-space button--primary"
for=
"submit-report-form
-save
"
tabindex=
"0"
>
Save
</label>
</div>
</div>
...
...
@@ -62,7 +63,7 @@
<p>
Are you sure you want to submit your report?
</p>
<div
class=
"modal__buttons"
>
<button
data-fancybox-close
class=
"button button--submit button--white"
>
Cancel
</button>
<label
class=
"button button--submit button--top-space button--primary"
for=
"submit-report-form"
tabindex=
"0"
>
Submit
</label>
<label
class=
"button button--submit button--top-space button--primary"
for=
"submit-report-form
-submit
"
tabindex=
"0"
>
Submit
</label>
</div>
</div>
</form>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment