Sha256: 694e07c0213ca8712efd4b85917be65b4343a64e5ad103bda19f9c4173e92647

Contents?: true

Size: 799 Bytes

Versions: 7

Compression:

Stored size: 799 Bytes

Contents

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

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

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :type %><br />
    <%= f.text_field :type %>
  </div>
  <div class="field">
    <%= f.label :note %><br />
    <%= f.text_field :note %>
  </div>
  <div class="field">
    <%= f.label :api_id %><br />
    <%= f.number_field :api_id %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_api_doc-0.0.8 app/views/rails_api_doc/parameters/_form.html.erb
rails_api_doc-0.0.7 app/views/rails_api_doc/parameters/_form.html.erb
rails_api_doc-0.0.6 app/views/rails_api_doc/parameters/_form.html.erb
rails_api_doc-0.0.5 app/views/rails_api_doc/parameters/_form.html.erb
rails_api_doc-0.0.4 app/views/rails_api_doc/parameters/_form.html.erb
rails_api_doc-0.0.3 app/views/rails_api_doc/parameters/_form.html.erb
rails_api_doc-0.0.2 app/views/rails_api_doc/parameters/_form.html.erb