Refactor various ruby files
* Insights based on brakeman report
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
h1 = t('.headline')
|
||||
|
||||
- consumer = @submission.user.consumer
|
||||
|
||||
p
|
||||
== t(".success_#{params[:outcome] ? 'with' : 'without'}_outcome", consumer: @consumer)
|
||||
==< t(".finished_#{@consumer ? 'with' : 'without'}_consumer", consumer: @consumer, url: params[:url])
|
||||
==< t(".do_not_use_backbutton", consumer: @consumer)
|
||||
= t(".success_#{consumer ? 'with' : 'without'}_outcome", consumer: consumer)
|
||||
==< t(".finished_#{consumer ? 'with' : 'without'}_consumer", consumer: h(consumer.name), url: @url)
|
||||
=< t(".do_not_use_backbutton")
|
||||
|
||||
h2 = t('shared.statistics')
|
||||
|
||||
|
Reference in New Issue
Block a user