Sha256: cf5154a3a58de509d15cb740fd908d294614f1bd5d30c683c37ebfd99e919009

Contents?: true

Size: 664 Bytes

Versions: 8

Compression:

Stored size: 664 Bytes

Contents

<%= render "form_javascripts" %>

<%= form_for @item, :url => options, :html => { :class => "resource", :multipart => true } do |form| %>

  <%= render "helpers/admin/resources/errors" %>

  <fieldset class="inputs">
    <ol>
      <%= build_form(fields, form) %>
    </ol>
  </fieldset>

  <fieldset class="buttons">
    <ol>
      <% build_save_options.each do |key, value, special| %>
        <%
          message = Typus::I18n.t(value)
          options = { :name => key, :onclick => "Typus.setConfirmUnload(false);", :disable_with => message  }
        %>
        <li><%= submit_tag message, options %></li>
      <% end %>
    </ol>
  </fieldset>

<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
typus-3.1.10 app/views/admin/resources/_form.html.erb
typus-3.1.9 app/views/admin/resources/_form.html.erb
typus-3.1.8 app/views/admin/resources/_form.html.erb
typus-3.1.7 app/views/admin/resources/_form.html.erb
typus-3.1.6 app/views/admin/resources/_form.html.erb
typus-3.1.5 app/views/admin/resources/_form.html.erb
typus-3.1.4 app/views/admin/resources/_form.html.erb
typus-3.1.3 app/views/admin/resources/_form.html.erb