blob: af3eb5e73383df45d55887f89f53b9296f8713ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-#
-# CHANGE PGP KEY
-#
-# this will be replaced by a identities controller/view at some point
-#
- form_options = {:html => {:class => user_form_class('form-horizontal'), :id => 'update_pgp_key', :data => {token: session[:token]}}, :validate => true}
= simple_form_for [:api, @user], form_options do |f|
%legend= t(:advanced_options)
= f.input :public_key, :as => :text, :hint => t(:use_ascii_key), :input_html => {:class => "full-width", :rows => 4}
.form-group
.controls
= f.submit t(:save), :class => 'btn', :data => {"loading-text" => "Saving..."}
|