Sha256: ea947afc6c2e7cd202ca35abd8d583b7b0fa4fdb7dec99f90bcd2fdd63a5388f

Contents?: true

Size: 999 Bytes

Versions: 6

Compression:

Stored size: 999 Bytes

Contents

<div class="contextual">
  <%%= link_to t('Update'), edit_admin_<%= singular_name %>_path(@<%= singular_name %>), :accesskey => "e", :class => "icon icon-edit", :onclick => "showAndScrollTo('update','focus'); return false;"%>
  <%%= link_to t('Delete'), [:admin,@<%= singular_name %>], :confirm => 'Are you sure?', :method => :delete ,:class => 'icon icon-del' %>
</div>

<h2><%%= "#{<%= class_name %>.model_name.human} ##{@<%= singular_name %>.id}" %></h2>

<div class="issue details">
	<%%= render :partial => 'show' , :locals => {:<%= singular_name %> => @<%= singular_name %>} %>
</div>

<!-- More List View -->

<div id="update">
  <h3><%%= t('Update') %></h3>
  <div id="focus"></div>
  <%%= render :partial => 'edit' , :locals => {:<%= singular_name %> => @<%= singular_name %>} %>
</div>
<div style="clear: both;"></div>
    
<%% content_for :sidebar do %>
  <h3>Actions</h3>
  <%%= link_to "#{t('Back_to')} #{<%= class_name %>.model_name.human}", admin_<%= plural_name %>_path %>
<%% end %>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
somatics3-0.0.10 lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb
somatics3-generators-0.0.10 lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb
somatics3-generators-0.0.9 lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb
somatics3-generators-0.0.8 lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb
somatics3-generators-0.0.7 lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb
somatics3-generators-0.0.6 lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb