cancel button fixed

This commit is contained in:
Harry Bomrah 2015-12-30 00:50:29 +08:00
parent 94329abd18
commit 5c4e2857b8
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@
<%= f.hidden_field :user_id, :value => params[:user_id] if !params[:user_id].blank? %>
<input type="hidden" name="referer_url" value="<%= request.referer %>">
<%= f.submit t('submit'), class: 'btn btn-primary' %>
<%= link_to t('cancel'), get_go_back, :class=>"btn" %>
<%= link_to t('cancel'), request.referer, :class=>"btn" %>
</div>
<script type="text/javascript">
var files = <%= files_hash.to_json.html_safe %>;