% content_for :head do %>
<%= stylesheet_link_tag "index" , :media => "all"%>
<% end %>
Редактирование данных сотрудника
<%= button_to_remote "Сменить пароль", :url =>{:controller => :password_resets, :action => :update_pass, :id => @employee.id}, :confirm => 'Послать сотруднику письмо для смены пароля?' -%>
<% form_for @employee, :url => {:action => 'update'}, :html => {:autocomplete => "off"} do |f| -%>
<%= f.error_messages %>
<%= render :partial => 'form', :locals => {:f =>f} %>
| <%= f.submit "Сохранить" %> |
<% end %>
<%= button_to "Назад", employee_index_path, :method => :get %> |