Sha256: 603839548a651332578e350187f91374fcd33e7212e278c55ca8f8dc08b2a980

Contents?: true

Size: 987 Bytes

Versions: 3

Compression:

Stored size: 987 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 %>.human_name} ##{@<%= 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 %>.human_name}", admin_<%= plural_name %>_path %>
<%% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
somatics3-generators-0.0.5 lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb
somatics3-generators-0.0.4 lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb
somatics3-generators-0.0.2 lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb