edit api for login

This commit is contained in:
Sunandar
2017-01-25 11:05:06 +06:30
parent fa2b51e5e4
commit dbcee40b68
4 changed files with 40 additions and 29 deletions

View File

@@ -48,11 +48,7 @@
<div class ="form-group" >
<label for="address" class="string optional control-label">Address:</label>
<%= f.input :address,:error=>false,:label =>false,:placeholder =>'Please enter user address',input_html: { class: "form-control" } %>
</div>
<div class ="form-group" >
<label for="secret_key" class="string optional control-label">Secrect Key:</label>
<%= f.input :secrect_key,:error=>false,:label =>false,:placeholder =>'Please enter user secret key',input_html: { class: "form-control" } %>
</div>
</div>
<% if !@user.id.nil? %>
<div class ="form-group" >
<label for="is_active" class="string optional control-label">Active:</label>