Sha256: 480d0d7954df228c92acd048b7e119aa32432619d3ffef2df7a5601581d40bda

Contents?: true

Size: 843 Bytes

Versions: 5

Compression:

Stored size: 843 Bytes

Contents

<div class='container-fluid'>
  <h3 class='page-header'><%= t('.title') %></h3>

  <%= bootstrap_form_for(current_user, as: :user, url: self_update_users_path,
    layout: :horizontal) do |f| %>
    <%= f.text_field :fullname %>
    <% if current_user.provider.nil? %>
    <%= f.email_field :email %>
      <fieldset>
        <legend>Password</legend>
        <%= f.password_field :password %>
        <%= f.password_field :password_confirmation %>
      </fieldset>
    <% else %>
      <%= f.email_field :email, disabled: true %>
    <% end %>
    <%= f.form_group class: 'form-actions' do %>
      <%= f.submit t('.submit'), class: 'btn btn-primary' %>
      <%= link_to self_show_users_path, class: 'btn btn-default pull-right' do %>
        <%= icon :times, t('chaltron.common.cancel') %>
      <% end %>
    <% end %>
  <% end %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chaltron-0.3.2 app/views/chaltron/users/self_edit.html.erb
chaltron-0.3.1 app/views/chaltron/users/self_edit.html.erb
chaltron-0.3.0 app/views/chaltron/users/self_edit.html.erb
chaltron-0.2.11 app/views/chaltron/users/self_edit.html.erb
chaltron-0.2.10 app/views/chaltron/users/self_edit.html.erb