Sha256: 7718114099ffcefcd24fb2db2df360ba259a2dc508da9b7de6c9587fe8c8f006

Contents?: true

Size: 876 Bytes

Versions: 5

Compression:

Stored size: 876 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 save blue" %> | <%%= link_to("Cancelar", admin_<%= user_plural_name %>_path, :class => "button medium red") %>
  </div>
<%% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flexi_generators-0.2.8 lib/generators/flexi_auth/templates/views/erb/new.html.erb
flexi_generators-0.2.6 lib/generators/flexi_auth/templates/views/erb/new.html.erb
flexi_generators-0.2.5 lib/generators/flexi_auth/templates/views/erb/new.html.erb
flexi_generators-0.2.4 lib/generators/flexi_auth/templates/views/erb/new.html.erb
flexi_generators-0.2.3 lib/generators/flexi_auth/templates/views/erb/new.html.erb