2014-02-17 18:05:39 +01:00
|
|
|
<div class="col-sm-8 col-xs-7">
|
|
|
|
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li><%= link_to t(:myaccount), account_path %></li>
|
|
|
|
<li class="active"><%= t(:profile_edit) %></li>
|
|
|
|
</ol>
|
|
|
|
|
2014-10-16 03:47:51 +02:00
|
|
|
<div class="col-pad">
|
|
|
|
<%= form_for @user, :url => update_profile_path, :html => {:class => 'form-horizontal'} do |f| %>
|
|
|
|
<input name='userlogin' class='userlogin' />
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-offset-4 col-sm-8 col-xs-offset-3 col-xs-6">
|
|
|
|
<div class="checkbox">
|
|
|
|
<label>
|
|
|
|
<%= f.check_box :public_flag %>
|
|
|
|
<%= t(:public) %>
|
|
|
|
</label>
|
|
|
|
</div>
|
2014-02-17 18:05:39 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-10-16 03:47:51 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 col-xs-3 control-label"><%= t(:profile_website) %></label>
|
|
|
|
<div class="col-sm-8 col-xs-6"><%= f.text_field :website, :class => 'form-control' %></div>
|
|
|
|
</div>
|
2014-02-17 18:05:39 +01:00
|
|
|
|
|
|
|
|
2014-10-16 03:47:51 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 col-xs-3 control-label"><%= t(:profile_bio) %></label>
|
|
|
|
<div class="col-sm-8 col-xs-6"><%= f.text_area :bio, :class => 'form-control', :rows => 4 %></div>
|
|
|
|
</div>
|
2014-02-17 18:05:39 +01:00
|
|
|
|
|
|
|
|
2014-10-16 03:47:51 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-sm-4 control-label"></label>
|
|
|
|
<div class="col-sm-8"><p class="form-control-static"><%= f.submit t(:profile_update), :class => 'btn btn-primary' %></p></div>
|
|
|
|
</div>
|
2014-02-17 18:05:39 +01:00
|
|
|
|
2014-10-16 03:47:51 +02:00
|
|
|
<% end %>
|
2014-02-17 18:05:39 +01:00
|
|
|
|
2014-10-16 03:47:51 +02:00
|
|
|
</div>
|
2014-02-17 18:05:39 +01:00
|
|
|
</div>
|
|
|
|
|