-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/workout #17
base: master
Are you sure you want to change the base?
Feature/workout #17
Conversation
= f.number_field :set, class: 'user_workout_input center_text', placeholder: 'sets' | ||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 12 | ||
= f.number_field :rep, class: 'user_workout_input center_text', placeholder: 'reps' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [89/80]
= f.number_field :weight, class: 'user_workout_input center_text', placeholder: 'wts' | ||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 3 | ||
= f.number_field :set, class: 'user_workout_input center_text', placeholder: 'sets' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [89/80]
%h2 12 | ||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 30 | ||
= f.number_field :weight, class: 'user_workout_input center_text', placeholder: 'wts' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [91/80]
-#%h2.user_workout_input 3 | ||
= f.number_field :set, class: 'user_workout_input center_text', placeholder: 'sets' | ||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment should have a space after the #
-#%h2.user_workout_input 30 | ||
= f.number_field :weight, class: 'user_workout_input center_text', placeholder: 'wts' | ||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment should have a space after the #
@@ -30,7 +30,7 @@ $ -> | |||
$('#workout_grid').hide() | |||
$('#workout_form').fadeIn( 500 ) | |||
#$('#new_user_workout').fadeIn( 500 ) | |||
$('#load_image').html( "<img src=\"" + w._image_url() + "\" width='90' height='90' />" ).addClass( "workout_image" ) | |||
$('#load_image').html( "<img src=\"" + w._image_url() + "\" width='100' height='100' />" ).addClass( "workout_image" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line exceeds maximum allowed length. Length is 122, max is 80.
%h2 12 | ||
= f.hidden_field :workout_id, value: 1 | ||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment should have a space after the #
= f.hidden_field :workout_id, value: 1 | ||
.col-xs-2.center_text | ||
-#%h2.user_workout_input 30 | ||
= f.number_field :weight, class: 'user_workout_input center_text', placeholder: 'wts' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [91/80]
@@ -79,6 +80,8 @@ def user_workout_params | |||
end | |||
|
|||
def _workout | |||
foo = Hash.new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use hash literal {} instead of Hash.new.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks fine
Check for style violation using Hound/Ci