Sha256: 592de80cc531e82fb50fa7ca8b5602d5094898e4ffadfc742d466453a6f6de1d

Contents?: true

Size: 648 Bytes

Versions: 47

Compression:

Stored size: 648 Bytes

Contents

<%= form_for(@note,:url => active_metadata_update_note_path(@document.class,@document.id,@note.label,@note.id)) do |f| %>

  <% if @document.errors.any? %>
      <div id  = "error_explanation">
          <h2><%= pluralize(@note.errors.count, "error") %> prohibited this document from being saved:</h2>
          <ul>
              <% @note.errors.full_messages.each do |msg| %>
                  <li><%= msg %></li>
              <% end %>
          </ul>
      </div>
  <% end %>

  <div class = "field">
      <%= f.label :note %><br/>
      <%= f.text_field :note %>
  </div>

  <div class = "actions">
      <%= f.submit %>
  </div>

<% end %>

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
active_metadata-0.7.3 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.7.2 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.7.1 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.7.0 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.6.9 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.6.7 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.6.6 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.6.5 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.6.4 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.6.3 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.6.2 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.6.1 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.6.0 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.5.2 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.5.1 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.5.0 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.4.2 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.4.1 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.3.2 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.3.1 app/views/active_metadata/notes/_form.html.erb