Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Queue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Automate
Agent sessions
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
Queue
Commits
88084698
Commit
88084698
authored
Sep 11, 2017
by
Otto Visser
Browse files
Options
Downloads
Plain Diff
Merge branch '37-default-room-should-be-emtpy' into 'development'
Added default disabled select option Closes
#37
See merge request
!20
parents
66814379
07053302
No related branches found
No related tags found
1 merge request
!20
Added default disabled select option
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/templates/lab/enqueue.html
+4
-1
4 additions, 1 deletion
src/main/resources/templates/lab/enqueue.html
with
4 additions
and
1 deletion
src/main/resources/templates/lab/enqueue.html
+
4
−
1
View file @
88084698
...
...
@@ -30,7 +30,10 @@
<div
class=
"col-sm-8"
th:classappend=
"${#fields.hasErrors('room')} ? 'has-error'"
>
<select
class=
"form-control"
id=
"inputRoom"
th:field=
"*{room}"
>
<div>
<option
value=
""
th:disabled=
"disabled"
th:selected=
"selected"
>
Choose a room
</option>
<option
th:each=
"room : ${lab.rooms}"
th:value=
"${room.id}"
th:text=
"${room}"
>
DW 1.01
</option>
</div>
</select>
<span
class=
"help-block"
th:if=
"${#fields.hasErrors('room')}"
th:errors=
"*{room}"
>
Room error
</span>
</div>
...
...
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
sign in
to comment