Sha256: 900de964f417c4da16d6a131dbca94003ba44c3cb32c04e81bee294c9fc04202

Contents?: true

Size: 678 Bytes

Versions: 12

Compression:

Stored size: 678 Bytes

Contents

<div class="contextual">
  <%%= link_to t('helpers.links.show'), [:admin, @<%= singular_name %>], :class => 'icon icon-view' %>
  <%%= link_to t('helpers.links.destroy'), [:admin, @<%= singular_name %>], :confirm => t('helpers.links.confirm'), :method => :delete, :class => 'icon icon-del' %>
</div>

<h2>Editing <%= singular_name.humanize %></h2>

<%%= simple_form_for(@<%= singular_name %>, :url => [:admin, @<%= singular_name %>], :html => {:class => 'tabular'}) do |form| %>
  <%%= form.error_messages %>

  <%%= render :partial => form %>

  <%%= form.submit t('helpers.submit.update') %>
  <%%= link_to t('helpers.links.back'), admin_<%= plural_name %>_path %>
<%% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
admin_interface-2.2.5 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.2.4 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.2.3 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.2.2 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.2.1 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.2.0 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.1.15 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.1.14 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.1.13 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.1.12 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.1.11 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb
admin_interface-2.1.10 lib/generators/admin_interface/templates/scaffold/view_edit.html.erb