Sha256: 175a998ef339612a7f42991f2ddcfe46ec5e354ff79d8247be59f943ef59fff7
Contents?: true
Size: 877 Bytes
Versions: 5
Compression:
Stored size: 877 Bytes
Contents
<div id="content-main"> <%= form_for(@instance, :action => slice_url(:admin_create, :model_name => @model_name.snake_case)) do %> <div> <fieldset class="module aligned"> <h2><%= @model_name %> info</h2> <% @properties.each do |property| %> <% next if [:id, :created_at, :created_on, :updated_at, :updated_on].include?(property.name) %> <%= partial property.primitive.to_s.snake_case, :property => property -%> <% end %> </fieldset> <div class="submit-row" > <%= submit "Save", :class => "default", :name => "_save" %> <%= submit "Save and add another", :name => "_add_another" %> <%= submit "Save and continue editing", :name => "_continue" %> </div> </div> <% end =%> </div>
Version data entries
5 entries across 5 versions & 1 rubygems