app/views/adminpanel/users/_user_form.html.erb in adminpanel-0.1.1 vs app/views/adminpanel/users/_user_form.html.erb in adminpanel-1.0.0

- old
+ new

@@ -1,21 +1,21 @@ -<div class = "widget widget-padding span12"> - <div class = "widget-header"><i class = "icon-user"></i><h5>Usuario</h5></div> - <div class = "widget-body"> - <div class = "widget-forms clearfix"> - <%= custom_form_for(@user) do |f| %> - <%= render 'shared/error_messages', :object => @user %> - - <%= f.text_field :name, :label => "Nombre", :placeholder => "Nombre del usuario" %> - - <%= f.text_field :email, :label => t("model.attributes.Adminpanel::User.email"), :placeholder => t("model.attributes.Adminpanel::User.email") %> - - <%= f.password_field :password, :label => t("model.attributes.Adminpanel::User.password"), :placeholder => t("model.attributes.Adminpanel::User.password") %> - - <%= f.password_field :password_confirmation, :label => t("model.attributes.Adminpanel::User.password_confirmation"), :placeholder => t("model.attributes.Adminpanel::User.password_confirmation") %> - </div> - </div> - <div class = "widget-footer"> - <%= f.submit "Agregar", :disable_with => 'Submiting...' %> - </div> - <% end -%> +<div class = "widget widget-padding span12"> + <div class = "widget-header"><i class = "icon-user"></i><h5>Usuario</h5></div> + <div class = "widget-body"> + <div class = "widget-forms clearfix"> + <%= custom_form_for(@user) do |f| %> + <%= render 'shared/error_messages', :object => @user %> + + <%= f.text_field :name, :label => "Nombre", :placeholder => "Nombre del usuario" %> + + <%= f.text_field :email, :label => t("model.attributes.Adminpanel::User.email"), :placeholder => t("model.attributes.Adminpanel::User.email") %> + + <%= f.password_field :password, :label => t("model.attributes.Adminpanel::User.password"), :placeholder => t("model.attributes.Adminpanel::User.password") %> + + <%= f.password_field :password_confirmation, :label => t("model.attributes.Adminpanel::User.password_confirmation"), :placeholder => t("model.attributes.Adminpanel::User.password_confirmation") %> + </div> + </div> + <div class = "widget-footer"> + <%= f.submit "Agregar", :disable_with => 'Submiting...' %> + </div> + <% end -%> </div> \ No newline at end of file