mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
renamed column in auction from type to platform
This commit is contained in:
parent
d8c0ba2432
commit
9766650ae4
9 changed files with 16 additions and 15 deletions
|
@ -1,7 +1,5 @@
|
|||
module AuctionHelper
|
||||
include ActionView::Helpers::TagHelper
|
||||
|
||||
extend self
|
||||
|
||||
def colorize_auction(auction)
|
||||
case auction.status
|
||||
|
@ -12,10 +10,10 @@ module AuctionHelper
|
|||
end
|
||||
|
||||
def render_status_black(name)
|
||||
content_tag(:span, name.to_s, style: 'color: black;')
|
||||
tag.span name.to_s, style: 'color: black;'
|
||||
end
|
||||
|
||||
def render_status_green(name)
|
||||
content_tag(:span, name.to_s , style: 'color: green;')
|
||||
tag.span name.to_s, style: 'color: green;'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue