Only active admin display time and text alignment for default_actions

hi im works with active administrator in ruby ​​1.9.3 and rails 3.2 I have two questions.

1) they are just wondering if the alignment of the default actions in the active admin can change it (view, edit, delete) im try this but not work, maybe I lost the item that I was looking in google, but I can not find the right one answer

.action{
  text-align: right;
}

2) in one of my indexes in the active admin, I have a start time field in which I used: time for the database format, which is currently (2012-04-05 16: 59: 00.000000) inside my database, so my index (Jan 01, 2000 2:02 a.m.) I only want time to show what my index is doing

index do 
    column "Guest Name", :name
    column "Service Type", :service
    column "Booked Date", :date
    column "Time Start", :timeStart
    column "Time End",:timeEnd
    column "Number of guest", :numGuest
    default_actions
  end

, , , ,

column "Time Start", :timeStart.strftime('%H:%M:%S:%p')

+3
1

, :

column "Time Start" do |record|
  record.timeStart.strftime('%H:%M:%S:%p')
end
+4

All Articles