Sha256: b70d68203276f670df023a19b4ff36134f3b75709f098731e04709a55313eb05

Contents?: true

Size: 813 Bytes

Versions: 10

Compression:

Stored size: 813 Bytes

Contents

<%=toolbar(
     buttons: [
       {
         icon: "angle-double-left ",
         label: acm_t(:title_action, action: acm_t(:index, scope: :actions), model: base_class.model_name.human),
         url: polymorphic_path(url_namespace),
         title: acm_t(:title_action, action: acm_t(:index, scope: :actions), model: base_class.model_name.human),
         hotkey: 'alt+b',
         dialog: false,
         if_permitted_to: [:index, @obj.class]
       }

     ],
     search: false
   ) %>


<div class="show_page">
  <% @obj.attributes.each do |attribute| %>
    <div class="attribute_row">
      <div class="labelfield">
        <%= @obj.class.human_attribute_name(attribute.first.to_sym) %>
      </div>
      <div class="valuefield">
        <%= attribute[1]  %>
      </div>
    </div>
  <% end %>
  
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy-custom-model-3.2 app/views/alchemy/custom/model/admin/base/_show_object.html.erb
alchemy-custom-model-3.1.5 app/views/alchemy/custom/model/admin/base/_show_object.html.erb
alchemy-custom-model-3.1.4 app/views/alchemy/custom/model/admin/base/_show_object.html.erb
alchemy-custom-model-3.1.3 app/views/alchemy/custom/model/admin/base/_show_object.html.erb
alchemy-custom-model-3.1.2 app/views/alchemy/custom/model/admin/base/_show_object.html.erb
alchemy-custom-model-3.1.1 app/views/alchemy/custom/model/admin/base/_show_object.html.erb
alchemy-custom-model-3.1.0 app/views/alchemy/custom/model/admin/base/_show_object.html.erb
alchemy-custom-model-2.2.2 app/views/alchemy/custom/model/admin/base/_show_object.html.erb
alchemy-custom-model-3.0.0 app/views/alchemy/custom/model/admin/base/_show_object.html.erb
alchemy-custom-model-2.2.1 app/views/alchemy/custom/model/admin/base/_show_object.html.erb