Sha256: dcc1638dbd89726a776deda45622200858a71fb224bf48d52b396a41cab3551a

Contents?: true

Size: 800 Bytes

Versions: 2

Compression:

Stored size: 800 Bytes

Contents

<div class="edit-bl">
  <div class="bot-bg">
    <div class="block-title"><%%= t('manage.edit') %>:</div>
    <%%= form_for [:manage, @<%= parent_singular_name %>, @<%= 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.update')), "$('#<%= singular_name %>_form').submit()", :class=>"gr" %>
        <%%= link_to t('manage.cancel'), manage_<%= parent_singular_name %>_<%= plural_name %>_path(@<%= parent_singular_name %>.id), :class=>"erase" %>
        <%%= f.submit t('manage.update'), :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/multiplay/views/edit.html.erb
freeberry-0.2.9 lib/generators/freeberry/manage_scaffold/templates/multiplay/views/edit.html.erb