Sha256: 5553d4718ced43c0331b92b363907ef422b8e6157b84f8fa6465747b16ec6933

Contents?: true

Size: 412 Bytes

Versions: 6

Compression:

Stored size: 412 Bytes

Contents

<% resource_handler.attributes.each do |attribute| %>
  <% if not @resource.send(attribute[:name]).blank? %>
    <div class="attribute_row">
      <div class="labelfield">
        <%= @resource.class.human_attribute_name(attribute[:name].to_sym) %>
      </div>
      <div class="valuefield">
        <%= render_attribute(@resource, attribute, truncate: 10000000) %>
      </div>
    </div>
  <% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy-ajax-form-1.2.1 app/views/alchemy/admin/ajax_forms/show.html.erb
alchemy-ajax-form-2.1.0 app/views/alchemy/admin/ajax_forms/show.html.erb
alchemy-ajax-form-2.0.0 app/views/alchemy/admin/ajax_forms/show.html.erb
alchemy-ajax-form-1.2.0 app/views/alchemy/admin/ajax_forms/show.html.erb
alchemy-ajax-form-1.1.5 app/views/alchemy/admin/ajax_forms/show.html.erb
alchemy-ajax-form-1.1.3 app/views/alchemy/admin/ajax_forms/show.html.erb