Sha256: cca3ed5c7d4e816a690c656804d880ab123defa82b5981516619883b4b79c10f

Contents?: true

Size: 708 Bytes

Versions: 2

Compression:

Stored size: 708 Bytes

Contents

<div class="edit-bl">
  <div class="bot-bg">
    <div class="block-title"><%%= t('manage.add') %>:</div>
    <%%= form_for [:manage, @<%= singular_name %>], :html=>{:multipart=>true, :id=>'<%= singular_name %>_form'} do |f| -%>
      <%%= render :partial=>"manage/<%= plural_name %>/form", :object=>f %>
      
      <div style="padding: 20px 0px 10px 20px;" class="buts">
        <%%= link_to_function content_tag(:span, t('manage.create')), "$('#<%= singular_name %>_form').submit()", :class=>"gr" %>
        <%%= link_to t('manage.cancel'), manage_<%= plural_name %>_path, :class=>"erase" %>
        <%%= f.submit t('manage.create'), :style=>"display:none;" %>
      </div>
    <%% end %>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
freeberry-0.3.0 lib/generators/freeberry/manage_scaffold/templates/single/views/new.html.erb
freeberry-0.2.9 lib/generators/freeberry/manage_scaffold/templates/single/views/new.html.erb