Skip to content

Conversation

@rajgurung
Copy link
Owner

Check for style violation using Hound/Ci

= 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'

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'

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'

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

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

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 #

$('#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" )

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

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'

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]

end

def _workout
foo = Hash.new

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.

Copy link
Collaborator

@ys00065 ys00065 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants