diff --git a/app/views/position_create.blade.php b/app/views/position_create.blade.php index ed60ec5..cdf576f 100644 --- a/app/views/position_create.blade.php +++ b/app/views/position_create.blade.php @@ -36,7 +36,6 @@ {{ Form::open(array('url'=>'/position', 'method'=>'POST')) }} -{{ Form::label('name', 'Name of position') }} {{ Form::hidden('fen', 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR', array('id' => 'fen')) }} @@ -58,9 +57,10 @@ diff --git a/readme.md b/readme.md index 3338283..4afcad8 100644 --- a/readme.md +++ b/readme.md @@ -141,6 +141,7 @@ * Position * Create * Edit + * Position Create layout needs to be fixed * Game Create * User is white or black before submitting * Game Edit @@ -316,5 +317,7 @@ * 14\_12\_14\_06\_01\_000: Updated game edit to prevent player from making more than one move * 14\_12\_14\_06\_01\_001: Updated position index to align link text with button * 14\_12\_14\_06\_01\_002: Fixed routing issue in position edit; Updated user edit to recognize the submitter +* 14\_12\_14\_06\_02\_000: Updated UserController and PositionController to sanitize text fields -cd /Applications/MAMP/htdocs/CSCI15P4; git add --all; git commit -m "Fixed routing issue in position edit; Updated user edit to recognize the submitter"; git push origin master \ No newline at end of file + +cd /Applications/MAMP/htdocs/CSCI15P4; git add --all; git commit -m "Updated UserController and PositionController to sanitize text fields"; git push origin master \ No newline at end of file
+ {{ Form::label('name', 'Name of position') }} - {{ Form::text('name', array('class' => 'form-control')) }} + {{ Form::text('name', '', array('class' => 'form-control')) }}