Sha256: b839fd53fe7c9befdf2f6b2ba9203e5ab1553da1577cfaf5d39e5501806d7f73

Contents?: true

Size: 849 Bytes

Versions: 4

Compression:

Stored size: 849 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;"%>
</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

4 entries across 4 versions & 2 rubygems

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