diff options
author | dedeibel | 2018-12-18 23:07:15 +0100 |
---|---|---|
committer | dedeibel | 2018-12-19 22:07:30 +0100 |
commit | 57e824c378fc8af2b1cdbaa6698207a45052c13d (patch) | |
tree | 11797c185e5267f50c928a99283644fc513b4e7d | |
parent | 5757b5d42db3204c1e34ccfcbf4cbce8926ace2b (diff) |
Feedback form, moved message and stream to the top as most relevant information.
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/feedback.phtml | 60 |
1 files changed, 33 insertions, 27 deletions
diff --git a/template/assemblies/feedback.phtml b/template/assemblies/feedback.phtml index d50daf4..27d89b0 100644 --- a/template/assemblies/feedback.phtml +++ b/template/assemblies/feedback.phtml @@ -1,5 +1,38 @@ <form action="<?=h($conference->getFeedbackURl())?>" target="feedback-target" method="post" role="form" class="feedback-form"> + + <div class="col-sm-6 col mb-1"> + <div class="form-group"> + <label for="issuetext">Message / Symptoms*</label> + <input type="text" value="" name="issuetext" id="issuetext" class="form-control" /> + </div> + </div> + + <div class="col-sm-6 col mb-2"> + <div class="form-group"> + <label for="stream">Stream</label> + <select class="form-control" name="stream" id="stream"> + <option></option> + <? foreach($conference->getRooms() as $roomiter): ?> + <? if(!$roomiter->hasFeedback()) continue ?> + <? foreach($roomiter->getSelections() as $selection): ?> + <option + <? if( + isset($room) && isset($stream) && + $roomiter->getSlug() == $room->getSlug() && + $selection->getSelection() == $stream->getSelection() + ): ?>selected<? endif ?> + value="<?=h($roomiter->getSlug().'-'.$selection->getSelection())?>" + > + <?=h($roomiter->getDisplay())?> – <?=h($selection->getDisplay())?> + </option> + <? endforeach ?> + <? endforeach ?> + </select> + </div> + </div> + <div class="col-sm-4 col"> + <label> </label> <div class="form-group"> <label for="net">Network Connection</label> <select class="form-control" name="net" id="net"> @@ -47,28 +80,6 @@ <option>Something else</option> </select> </div> - - <div class="form-group"> - <label for="stream">Stream</label> - <select class="form-control" name="stream" id="stream"> - <option></option> - <? foreach($conference->getRooms() as $roomiter): ?> - <? if(!$roomiter->hasFeedback()) continue ?> - <? foreach($roomiter->getSelections() as $selection): ?> - <option - <? if( - isset($room) && isset($stream) && - $roomiter->getSlug() == $room->getSlug() && - $selection->getSelection() == $stream->getSelection() - ): ?>selected<? endif ?> - value="<?=h($roomiter->getSlug().'-'.$selection->getSelection())?>" - > - <?=h($roomiter->getDisplay())?> – <?=h($selection->getDisplay())?> - </option> - <? endforeach ?> - <? endforeach ?> - </select> - </div> </div> <div class="col-sm-4 col"> @@ -133,11 +144,6 @@ </div> <div class="form-group"> - <label for="issuetext">Something else was good/bad</label> - <input type="text" value="" name="issuetext" id="issuetext" class="form-control" /> - </div> - - <div class="form-group"> <input class="btn btn-primary" type="submit" value="Submit" /> </div> </div> |