Sha256: aaa5af84a7443e8faeea7d12f91ad727d60a230332c1bd27d88c3527fc4e25b7

Contents?: true

Size: 775 Bytes

Versions: 9

Compression:

Stored size: 775 Bytes

Contents

<%= form_for [:admin, @admin],
  html: {multipart: true},
  builder: Slices::CmsFormBuilder do |form| %>
  <div id="container-actions" class="toolbar">

    <div class="actions">
      <ul>
        <li><input type="submit" value="Save" class="add"/></li>
        <% if ! @admin.new_record? %>
          <li><%= link_to 'Delete' , admin_admin_path(@admin), method: :delete, class: 'delete' %></li>
        <% end %>
      </ul>
    </div>
  </div>

  <div id="main" class="with-padding">
    <section class="admins-editor">
      <ul>
        <%= form.cms_text_field :name %>
        <%= form.cms_text_field :email %>
        <%= form.cms_password_field :password %>
        <%= form.cms_password_field :password_confirmation %>
      </ul>
    </section>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
slices-2.0.2 app/views/admin/admins/show.html.erb
slices-2.0.1 app/views/admin/admins/show.html.erb
slices-2.0.0 app/views/admin/admins/show.html.erb
slices-1.0.5 app/views/admin/admins/show.html.erb
slices-1.0.4 app/views/admin/admins/show.html.erb
slices-1.0.3 app/views/admin/admins/show.html.erb
slices-1.0.2 app/views/admin/admins/show.html.erb
slices-1.0.1 app/views/admin/admins/show.html.erb
slices-1.0.0 app/views/admin/admins/show.html.erb