Sha256: fac02a6fe94c560ab67b1bc1314958cef8671580ebd5903cd93d1d14024a3415

Contents?: true

Size: 620 Bytes

Versions: 2

Compression:

Stored size: 620 Bytes

Contents

<%= form_for(@user) do |f| %>

  <% if @user.errors.any? %>
    <div id="error_explanation">
      <div><%= pluralize(@user.errors.count, "error") %> prohibited this resource from being saved</div>
      <ul>
      <% @user.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 :password %><br />
    <%= f.text_field :password %>
  </div>

  <div class="actions">
    <%= f.submit nil, {class: "button"} %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oauth2_provider_engine-0.0.2 test/dummy/app/views/users/_form.html.erb
oauth2_provider_engine-0.0.1 test/dummy/app/views/users/_form.html.erb