projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
3296: save button placement
[arvados.git]
/
apps
/
workbench
/
app
/
helpers
/
pipeline_components_helper.rb
1
module PipelineComponentsHelper
2
def render_pipeline_components(template_suffix, fallback=nil, locals={})
3
begin
4
render(partial: "pipeline_instances/show_components_#{template_suffix}",
5
locals: locals)
6
rescue
7
case fallback
8
when :json
9
render(partial: "pipeline_instances/show_components_json")
10
end
11
end
12
end
13
end