Sha256: 3cb3731b358bc3495f66925e5e818ae1a2363868e4303ed1222fdb1ee35a5026

Contents?: true

Size: 871 Bytes

Versions: 1

Compression:

Stored size: 871 Bytes

Contents

<%% title "Novo <%= user_singular_name.titleize  %>" %>

<%%= form_for([:admin, @<%= user_singular_name %>]) do |f| %>
  <%%= render "shared/error_messages", :resource => @<%= user_singular_name %> %>
  <div class="field">
    <%%= f.label :username %><br />
    <%%= f.text_field :username %>
  </div>
  <div class="field">
    <%%= f.label :email %><br />
    <%%= f.text_field :email %>
  </div>  
  <div class="field">
    <%%= f.label :password %><br />
    <%%= f.password_field :password %>
  </div>   
  <div class="field">
    <%%= f.label :password_confirmation %><br />
    <%%= f.password_field :password_confirmation %>
  </div>   
  <div id="control_box">
    <%%= f.submit "Salvar", :class => "button medium blue" %> | <%%= link_to("Cancelar", admin_<%= user_plural_name %>_path, :class => "button medium red") %>
  </div>
<%% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flexi_generators-0.2.10 lib/generators/flexi/auth/templates/views/erb/new.html.erb