Sha256: 3826dedba3943dfa52e5f36f44d7b9e29167710b726d4ec6639ea65892b27333

Contents?: true

Size: 749 Bytes

Versions: 3

Compression:

Stored size: 749 Bytes

Contents

<%= form_for(@attr_val) do |f| %>
  <% if @attr_val.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@attr_val.errors.count, "error") %> prohibited this attr_val from being saved:</h2>

      <ul>
      <% @attr_val.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :value %><br />
    <%= f.text_field :value %>
  </div>
  <div class="field">
    <%= f.label :entity %><br />
    <%= f.text_field :entity %>
  </div>
  <div class="field">
    <%= f.label :attr_def_name %><br />
    <%= f.text_field :attr_def_name %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
databaseformalizer-1.0.1 app/views/databaseformalizer/attr_vals/_form.html.erb
databaseformalizer-1.0 app/views/databaseformalizer/attr_vals/_form.html.erb
databaseformalizer-0.3.0 app/views/databaseformalizer/attr_vals/_form.html.erb