Skip to content

Commit

Permalink
Disable submitions
Browse files Browse the repository at this point in the history
  • Loading branch information
beastie87 committed Dec 16, 2019
1 parent b382e6b commit fd73e95
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/views/devise/registrations/_edit.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
<div class="list-filters clearfix">
<ul class="sort-first text-uppercase">
<li <%= params[:sort].nil? ? "class=disabled": "" %> ><%= link_to "Історія змін", params.merge(sort: nil), remote: true %></li>
<li <%= params[:sort] == "subscription" ? "class=disabled": "" %> ><%= link_to "Підписки", params.merge(sort: :subscription), remote: true %></li>
<!--<li <%#= params[:sort] == "subscription" ? "class=disabled": "" %> ><%#= link_to "Підписки", params.merge(sort: :subscription), remote: true %></li>-->
<li <%= params[:sort] == "edit" ? "class=disabled": "" %> ><%= link_to "Редагувати особисті дані", params.merge(sort: :edit), remote: true %></li>
<li><%= link_to "Вихід", destroy_user_session_path, method: :delete, class: "destroy exit pull-right" %></li>
<li><%= link_to "Вихід", destroy_user_session_path, method: :delete, class: "destroy exit " %></li>
</ul>


</div>
<% if params[:sort].nil? %>
<div id="list_history">
Expand Down

0 comments on commit fd73e95

Please sign in to comment.