ftp-manager/app/views/accounts/show.html.erb
2016-09-28 22:12:55 -05:00

31 lines
665 B
Plaintext

<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>
</p>
<p>
<strong>Home Folder:</strong>
<%= @account.home_folder %>
</p>
<p>
<strong>Contact Email:</strong>
<%= @account.contact_email %>
</p>
<%= link_to 'Destroy', @account, method: :delete, data: { confirm: 'Are you sure?' } %>
<%= link_to 'Edit', edit_account_path(@account) %> |
<%= link_to 'Back', accounts_path %>