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.8.9 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.8 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.7.1 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.7 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.6 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.5.2 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.5.1 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.5 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.4 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.3.1 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.3 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.2 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.1 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.8.0 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.7.9 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.7.8 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.7.7 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.7.6 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.7.5 app/views/active_metadata/notes/_form.html.erb
active_metadata-0.7.4 app/views/active_metadata/notes/_form.html.erb