Sha256: 1d58d73253a3da7fa7c35ac5efc8243c69024adb96433a92391f6677286b92f1
Contents?: true
Size: 581 Bytes
Versions: 27
Compression:
Stored size: 581 Bytes
Contents
<% form_for @resource, :url => url_for(:action => (@resource.new_record? ? 'create' : 'update'), :model => @model.to_s), :method => (@resource.new_record? ? :post : :put) do |form| %> <fieldset> <%= form.error_messages %> <% @columns.each do |column| %> <% unless column.primary %> <div class='field'> <%= form.label column.name %> <%= field_for(form, column, @resource.send(column.name)) %> </div> <% end %> <% end %> <div class="formSubmit"> <button value="submit" class="submitBtn"><span>Save</span></button> </div> </fieldset> <% end %>
Version data entries
27 entries across 27 versions & 2 rubygems