Skip to content

Commit

Permalink
fix indentation publiclab#8670
Browse files Browse the repository at this point in the history
  • Loading branch information
noi5e committed Jan 7, 2021
1 parent 5e1baea commit 20017fb
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,26 +67,26 @@ def feature_node(title)

# used in views/comments/_form.html.erb
def get_large_dropzone_id(location, reply_to)
case location
when :main
'-main'
when :reply
'-reply-' + reply_to.to_s
when :responses
'-responses'
end
case location
when :main
'-main'
when :reply
'-reply-' + reply_to.to_s
when :responses
'-responses'
end
end

# used in views/comments/_form.html.erb
def get_textarea_id(location, reply_to)
case location
when :main
'text-input'
when :reply
'text-input-reply-' + reply_to.to_s
when :responses
'text-input-responses'
end
case location
when :main
'text-input'
when :reply
'text-input-reply-' + reply_to.to_s
when :responses
'text-input-responses'
end
end

def locale_name_pairs
Expand Down

0 comments on commit 20017fb

Please sign in to comment.