Sha256: 54ab18e1e8166844c794e701480a5a75d048f881b8d3db42fd0d13bd94077d9f

Contents?: true

Size: 498 Bytes

Versions: 1

Compression:

Stored size: 498 Bytes

Contents

<% @title = "Edit #{resource.human}" %>
<h1><%= @title %></h1>
<%= form_for record, :url => resource.member_path, :html => { :multipart => true } do |f| %>
  <ul class="form">
  <% update_fields.each do |field| -%>
    <li><%= field.render :update, controller, record %></li>
  <% end -%>
  </ul>

  <div class="buttons">
    <%= f.submit t('puffer.save') %>
    <%= f.submit t('puffer.save_and_exit') %>
    <%= link_to 'cancel', (request.referer || resource.collectin_path) %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puffer-0.1.1 app/views/puffer/base/_edit.html.erb