Sha256: 32c84bfbe1bef5ec399c332d4407aad3681939bac51febf279ede69c3c57ffe9

Contents?: true

Size: 792 Bytes

Versions: 1

Compression:

Stored size: 792 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 %>
    <%= f.email_field :email %>
    <% if current_user.provider.nil? %>
      <fieldset>
        <legend>Password</legend>
        <%= f.password_field :password %>
        <%= f.password_field :password_confirmation %>
      </fieldset>
    <% end %>
    <%= f.form_group class: 'form-actions' do %>
      <%= f.submit t('.title'), 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

1 entries across 1 versions & 1 rubygems

Version Path
chaltron-0.1.0 app/views/chaltron/users/self_edit.html.erb