Revert change in main-form and change class name of form_file
This commit is contained in:
parent
5284571300
commit
92faeccdb6
|
@ -90,7 +90,7 @@
|
|||
.main-forms fieldset .input-area .controls .exist .input-prepend,
|
||||
.main-forms fieldset .input-area .controls .add-target .input-prepend {
|
||||
margin-bottom: 10px;
|
||||
display: block;
|
||||
display: inline-block;
|
||||
}
|
||||
.main-forms fieldset .input-area .controls .exist .fileupload-new {
|
||||
display: block;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<% if form_file.new_record? %>
|
||||
<div class="fileupload fileupload-new start-line" data-provides="fileupload">
|
||||
<% else %>
|
||||
<div class="fileupload-new start-line">
|
||||
<div class="fileupload-exist start-line">
|
||||
<%= link_to form_file.file_identifier, form_file.file.url, {:class => 'file-link for_preview', :target => '_blank', :title => t(:view), "data-trigger" => :hover}.merge(file_picture_preview_setting(form_file.file.url)) %>
|
||||
<% end %>
|
||||
<div class="input-prepend input-append">
|
||||
|
|
Loading…
Reference in New Issue