2017-03-07 09:37:28 +00:00
|
|
|
<% content_for :page_menu do %>
|
|
|
|
<ul class="list-sidebar">
|
|
|
|
<li class="item-sidebar"><a class="btn-sidebar" href="/cpanel/sites"><i class="fa fa-home" aria-hidden="true"></i><%= t("client_management.my_sites") %></a></li>
|
|
|
|
<li class="item-sidebar active"><a class="btn-sidebar" href="<%= cpanel_myprofile_path %>"><i class="fa fa-address-card" aria-hidden="true"></i><%= t("client_management.profile") %></a></li>
|
2017-03-16 07:13:53 +00:00
|
|
|
<li class="item-sidebar"><a class="btn-sidebar" href="<%= cpanel_myhistory_path %>"><i class="fa fa-history" aria-hidden="true"></i><%= t("client_management.history") %></a></li>
|
2017-03-07 09:37:28 +00:00
|
|
|
<li class="item-sidebar"><a class="btn-sidebar" href="#"><i class="fa fa-question-circle-o" aria-hidden="true"></i><%= t("client_management.help_and_faq") %></a></li>
|
|
|
|
<li class="item-sidebar"><a class="btn-sidebar" href="#"><i class="fa fa-user-circle-o" aria-hidden="true"></i><%= t("client_management.get_in_contact") %></a></li>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
|
|
|
<section class="cp-content col-md-10">
|
|
|
|
<h2 class="cp-page-title">
|
|
|
|
<%= t("client_management.profile") %>
|
|
|
|
</h2>
|
|
|
|
<div class="cp-profile-setting">
|
2017-03-07 10:10:33 +00:00
|
|
|
<%= form_for @user, :url => {:action => "update_member_profile"} do |f| %>
|
2017-03-07 09:37:28 +00:00
|
|
|
<div class="line-profile">
|
|
|
|
<%= f.label :fullname, t("client_management.fullname") %>
|
|
|
|
<%= f.text_field :fullname, :class => "form-control" %>
|
|
|
|
</div>
|
|
|
|
<div class="line-profile">
|
|
|
|
<%= f.label :phone_number, t("client_management.phone_number") %>
|
|
|
|
<%= f.phone_field :phone_number, :class => "form-control" %>
|
|
|
|
</div>
|
|
|
|
<div class="line-profile">
|
|
|
|
<%= f.label :address, t("client_management.address") %>
|
|
|
|
<%= f.text_area :address, :class => "form-control" %>
|
|
|
|
</div>
|
|
|
|
<div class="line-profile">
|
|
|
|
<%= f.submit "Save", :class => "btn btn-primary" %>
|
|
|
|
</div>
|
|
|
|
<div class="line-profile">
|
2017-03-16 07:13:53 +00:00
|
|
|
<div class="pull-r">
|
|
|
|
<a href="<%= cpanel_myprofilepassword_path %>" class="link-profile">Click here to change password.</a>
|
|
|
|
</div>
|
2017-03-07 09:37:28 +00:00
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</section>
|