Sha256: 1026e7dff344888374821143ccc3ab269da78a882baabfa218bb0acff97342ae

Contents?: true

Size: 901 Bytes

Versions: 5

Compression:

Stored size: 901 Bytes

Contents

<%% title "Editando <%= 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, :readonly => true %>
  </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/edit.html.erb
flexi_generators-0.2.6 lib/generators/flexi_auth/templates/views/erb/edit.html.erb
flexi_generators-0.2.5 lib/generators/flexi_auth/templates/views/erb/edit.html.erb
flexi_generators-0.2.4 lib/generators/flexi_auth/templates/views/erb/edit.html.erb
flexi_generators-0.2.3 lib/generators/flexi_auth/templates/views/erb/edit.html.erb