cancel button fixed
This commit is contained in:
parent
94329abd18
commit
5c4e2857b8
|
@ -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 %>;
|
||||
|
|
Loading…
Reference in New Issue