Temporarily hid preferences due to lack of content.

This commit is contained in:
William Brawner 2015-10-18 17:13:07 -05:00
parent 9e2f40a4c8
commit b44c6c442c
2 changed files with 11 additions and 10 deletions

View file

@ -41,14 +41,15 @@ class GeneratorController extends Controller
$sets = "3";
$reps = "10";
};
$preferences = [
Request::get('free_weights'),
Request::get('dumbbells'),
Request::get('barbells'),
Request::get('selectorized'),
Request::get('cables'),
Request::get('calisthenics')
];
$preferences = ["free_weights", "dumbbells", "barbells", "selectorized", "cables", "calisthenics"];
# $preferences = [
# Request::get('free_weights'),
# Request::get('dumbbells'),
# Request::get('barbells'),
# Request::get('selectorized'),
# Request::get('cables'),
# Request::get('calisthenics')
# ];
if (isset($preferences)) {
foreach (array_keys($preferences, '') as $key) {
unset($preferences[$key]);

View file

@ -23,7 +23,7 @@
<br />
<br />
<br />
<label>Which of the following equipment/exercise styles do you have access to and enjoy doing? Check all that apply:</label>
<!-- <label>Which of the following equipment/exercise styles do you have access to and enjoy doing? Check all that apply:</label>
<br />
<br />
<input type="checkbox" name="free_weights" id="free-weights" value="free_weights" onClick="control()">Free Weights
@ -39,7 +39,7 @@
<input type="checkbox" name="calisthenics" value="calisthenics">Calisthenics
<br />
<br />
<br />
<br /> -->
<label>How long have you consistently followed an exercise routine?</label>
<br />
<br />