Sha256: b029337f91e83970db084f94e91aac886710da17a0b0871791ac82950252d07f

Contents?: true

Size: 609 Bytes

Versions: 22

Compression:

Stored size: 609 Bytes

Contents

<% show_view = AdminAssistant::ShowView.new(@record, @admin_assistant, self) %>
<div class="admin_assistant show <%=
  @admin_assistant.controller_css_class(controller)
%>">
  <div class="aa_header">
    <h2><%=
      h("#{request.model_class_name(@record).capitalize} #{@record.id}")
    %></h2>
    <% if @admin_assistant.edit? %>
      <%= link_to 'Edit', :action => 'edit', :id => @record.id %>
    <% end %>
  </div>
  <% show_view.columns.each do |column| %>
    <div class="column">
    <label><%= h(column.label) %></label>
    <br /><%= show_view.column_html(column) %>
    </div>
  <% end %>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
admin_assistant-2.4.0 lib/views/show.html.erb
admin_assistant-2.3.2 lib/views/show.html.erb
admin_assistant-2.3.1 lib/views/show.html.erb
admin_assistant-2.3.0 lib/views/show.html.erb
admin_assistant-1.0.4 lib/views/show.html.erb
admin_assistant-2.2.8 lib/views/show.html.erb
admin_assistant-2.2.7 lib/views/show.html.erb
admin_assistant-2.2.6 lib/views/show.html.erb
admin_assistant-2.2.5 lib/views/show.html.erb
admin_assistant-2.2.4 lib/views/show.html.erb
admin_assistant-2.2.3 lib/views/show.html.erb
admin_assistant-2.2.2 lib/views/show.html.erb
admin_assistant-2.2.1 lib/views/show.html.erb
admin_assistant-2.2.0 lib/views/show.html.erb
admin_assistant-2.1.1 lib/views/show.html.erb
admin_assistant-2.1.0 lib/views/show.html.erb
admin_assistant-2.0.1 lib/views/show.html.erb
admin_assistant-2.0.0 lib/views/show.html.erb
admin_assistant-2.0.0.pre2 lib/views/show.html.erb
admin_assistant-2.0.0.pre1 lib/views/show.html.erb