ftp-manager/app/views/accounts/show.html.erb

31 lines
665 B
Plaintext
Raw Normal View History

2016-08-27 21:40:21 -05:00
<p id="notice"><%= notice %></p>
<p>
<strong>Username:</strong>
<%= @account.username %>
</p>
<p>
<strong>Password:</strong>
<span class="passwd" data-id="passwd">
<%= link_to reveal_password_path(@account.id), remote: true do %>
<i class="fa fa-lock fa-lg"></i>
<% end %>
<span>********</span>
</span>
2016-08-27 21:40:21 -05:00
</p>
<p>
2016-09-28 22:12:55 -05:00
<strong>Home Folder:</strong>
<%= @account.home_folder %>
2016-08-27 21:40:21 -05:00
</p>
<p>
2016-09-28 22:12:55 -05:00
<strong>Contact Email:</strong>
<%= @account.contact_email %>
2016-08-27 21:40:21 -05:00
</p>
<%= link_to 'Destroy', @account, method: :delete, data: { confirm: 'Are you sure?' } %>
2016-08-27 21:40:21 -05:00
<%= link_to 'Edit', edit_account_path(@account) %> |
<%= link_to 'Back', accounts_path %>