Sha256: 90e9f61311a32ac965bd316b1e0a4c58fb29adcd013609b4b3f6e6d7427b4b00
Contents?: true
Size: 706 Bytes
Versions: 2
Compression:
Stored size: 706 Bytes
Contents
<% if @item.valid? %> <% @rendered_containers.each do |name, opts| %> <% opts = resource_spec.update_containers[name] %> <% editable = opts.is_a?(Hash) ? opts[:editable] : false %> <% if editable %> $(".container-<%= name %>").editable("<%= escape_javascript(render(:partial => name)) %>"); <% else %> $(".container-<%= name %>").html("<%= escape_javascript(render(:partial => name)) %>"); <% end %> <% end %> $(".resource-name").html("<%= friendly_name(@item) %>"); <% else %> $(".container-<%= @edited_container %>").editable("<%= escape_javascript(render(:partial => "#{@edited_container}_form")) %>"); <% end %> <%= render(partial: action_name) rescue nil %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
maily_herald-webui-0.9.0 | app/views/maily_herald/webui/resources/update.js.erb |
maily_herald-webui-0.8.0 | app/views/maily_herald/webui/resources/update.js.erb |