Sha256: e1965a34c3ca64fad0bed3555f8d7bedd91e0941158dd95193971ad2b8534796
Contents?: true
Size: 493 Bytes
Versions: 3
Compression:
Stored size: 493 Bytes
Contents
<% @title = "New #{resource.human}" %> <h1><%= @title %></h1> <%= form_for record, :url => resource.collection_path do |f| %> <ul class="form"> <% create_fields.each do |field| -%> <li><%= field.render controller, :create, :form => f, :record => f.object %></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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
puffer-0.0.32 | app/views/puffer/base/new.html.erb |
puffer-0.0.31 | app/views/puffer/base/new.html.erb |
puffer-0.0.30 | app/views/puffer/base/new.html.erb |