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"; $sets = "3";
$reps = "10"; $reps = "10";
}; };
$preferences = [ $preferences = ["free_weights", "dumbbells", "barbells", "selectorized", "cables", "calisthenics"];
Request::get('free_weights'), # $preferences = [
Request::get('dumbbells'), # Request::get('free_weights'),
Request::get('barbells'), # Request::get('dumbbells'),
Request::get('selectorized'), # Request::get('barbells'),
Request::get('cables'), # Request::get('selectorized'),
Request::get('calisthenics') # Request::get('cables'),
]; # Request::get('calisthenics')
# ];
if (isset($preferences)) { if (isset($preferences)) {
foreach (array_keys($preferences, '') as $key) { foreach (array_keys($preferences, '') as $key) {
unset($preferences[$key]); unset($preferences[$key]);

View file

@ -23,7 +23,7 @@
<br /> <br />
<br /> <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 />
<br /> <br />
<input type="checkbox" name="free_weights" id="free-weights" value="free_weights" onClick="control()">Free Weights <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 <input type="checkbox" name="calisthenics" value="calisthenics">Calisthenics
<br /> <br />
<br /> <br />
<br /> <br /> -->
<label>How long have you consistently followed an exercise routine?</label> <label>How long have you consistently followed an exercise routine?</label>
<br /> <br />
<br /> <br />