<%= simple_form_for(@user) do |t| %>
<%= t.input :email %> <%= t.input :first_name %> <%= t.input :last_name %> <%= t.input :password %> <%= t.input :photo %> <%= t.submit :Save, class: "btn btn-primary save-btn form-control" %>

<%= link_to "View my profile", user_path(@user), class: "btn btn-primary save-btn form-control" %>
<% end %>