Revision 9f914ea2
Added by Marek Hulán over 5 years ago
app/views/templates/_help_accordion.html.erb | ||
---|---|---|
</div>
|
||
<div id="<%= title.parameterize %>" class="panel-collapse collapse">
|
||
<div class="panel-body">
|
||
<code>
|
||
<% if !local_assigns.key?(:wrap_in_code) || wrap_in_code %>
|
||
<%= content_tag :code, contents %>
|
||
<% else %>
|
||
<%= contents %>
|
||
</code>
|
||
<% end %>
|
||
</div>
|
||
</div>
|
||
</div>
|
Also available in: Unified diff
Fixes #25102 - introduce template inputs
This adds the formal template inputs to all templates. It's heavily
based on current implementation from remote execution plugin.