Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New labeled_show_column for the default show
Sortable column includes the table name Fix for paperclip file field
- Loading branch information
Showing
5 changed files
with
46 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
<div id="<%= dom_id(instance) %>"> | ||
<div class="fields_group"> | ||
<% qadmin_configuration.on_show.model_column_names.each do |attribute| -%> | ||
<h5><%= attribute.to_s.humanize %>:</h5> | ||
<%= h instance.send(attribute) %> | ||
<% end -%> | ||
<%= labeled_show_column(instance, attribute) %> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters