Skip to content

Commit

Permalink
Make a table cell (td element) even in the case where the user can't …
Browse files Browse the repository at this point in the history
…edit the

status; show the current value instead.  This fixes GH issue #299.
  • Loading branch information
gsrohde committed Jun 25, 2015
1 parent 793cd55 commit ab7faf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/traits_helper.rb
Expand Up @@ -8,7 +8,7 @@ def checked_status_list(trait)
"<td>#{ select_tag 'checked-'+trait.id.to_s, options_for_select([['failed',-1],['unchecked',0],['passed',1]],trait.checked) }<span id='checked_notify-#{ trait.id }'></span></td>"
end
else
''
"<td class='center'>#{["failed", "unchecked", "passed"][trait.checked + 1]}</td>"
end
end

Expand Down

0 comments on commit ab7faf2

Please sign in to comment.