Sha256: a6a6f2839ae0105105937c1d024c89c867427b1e7f0c677db7549b8e58400fc8

Contents?: true

Size: 1.16 KB

Versions: 9

Compression:

Stored size: 1.16 KB

Contents

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

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

  <div class="field">
    <%= f.label :imageable_id %><br>
    <%= f.number_field :imageable_id %>
  </div>
  <div class="field">
    <%= f.label :imageable_type %><br>
    <%= f.text_field :imageable_type %>
  </div>
  <div class="field">
    <%= f.label :auth_token %><br>
    <%= f.text_field :auth_token %>
  </div>
  <div class="field">
    <%= f.label :first_ip_address %><br>
    <%= f.text_field :first_ip_address %>
  </div>
  <div class="field">
    <%= f.label :current_ip_address %><br>
    <%= f.text_field :current_ip_address %>
  </div>
  <div class="field">
    <%= f.label :times_used %><br>
    <%= f.number_field :times_used %>
  </div>
  <div class="field">
    <%= f.label :expiration_minutes %><br>
    <%= f.number_field :expiration_minutes %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
arcadex-1.3.1 app/views/arcadex/tokens/_form.html.erb
arcadex-1.3.0 app/views/arcadex/tokens/_form.html.erb
arcadex-1.2.3 app/views/arcadex/tokens/_form.html.erb
arcadex-1.2.1 app/views/arcadex/tokens/_form.html.erb
arcadex-1.2.0 app/views/arcadex/tokens/_form.html.erb
arcadex-1.1.3 app/views/arcadex/tokens/_form.html.erb
arcadex-1.1.2 app/views/arcadex/tokens/_form.html.erb
arcadex-1.1.1 app/views/arcadex/tokens/_form.html.erb
arcadex-1.1.0 app/views/arcadex/tokens/_form.html.erb