aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/assemblies/feedback.phtml60
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>&nbsp;</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>