Merge pull request #1020 from poanetwork/943-read-contract-query-styling
Read contract query stylingpull/1019/head
commit
df80d0b257
@ -1,20 +1,10 @@ |
||||
<div class="tile tile-muted tile-function-response monospace"> |
||||
<pre class="pre-wrap"> |
||||
<code> |
||||
[ <%= @function_name %> method Response ] |
||||
<pre> |
||||
[ <strong><%= @function_name %></strong> method Response ] |
||||
|
||||
<p class="text-dark"> |
||||
[ |
||||
<%= for item <- @outputs do %> |
||||
<span class="text-dark function-response-item"> |
||||
<%= if named_argument?(item) do %> |
||||
<%= item["name"] %> |
||||
<% end %> |
||||
(<%= item["type"] %>) : <%= values(item["value"]) %> |
||||
</span> |
||||
<% end %> |
||||
] |
||||
</p> |
||||
</code> |
||||
</pre> |
||||
[<%= for item <- @outputs do %> |
||||
<span class="function-response-item"><%= if named_argument?(item) do %><%= item["name"] %> |
||||
<% end %> |
||||
<span class="text-muted">(<%= item["type"] %>)</span> : <%= values(item["value"]) %></span><% end %>] |
||||
</pre> |
||||
</div> |
||||
|
Loading…
Reference in new issue