You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my create and edit actions, there is hidden field which will assign id of current user that logged in:
edit do
include_all_fields
field :updater_id, :hidden do
visible true
def value
bindings[:view]._current_user.id
end
end
end
When I open my page it shows me this:
Then I opened html code of this:
According to source of this page. It creates col-sm-10 column for hidden field which moves next field.
The text was updated successfully, but these errors were encountered:
SuperMasterBlasterLaser
changed the title
Issue making hidden field in create and edit action changes positions of other form fields.
Issue with making hidden field in create and edit actions, which changes positions of other form fields.
Nov 24, 2015
Hello.
I have updated rails_admin to 0.8.* version.
In my
create
andedit
actions, there is hidden field which will assign id of current user that logged in:When I open my page it shows me this:
Then I opened html code of this:
According to source of this page. It creates
col-sm-10
column for hidden field which moves next field.The text was updated successfully, but these errors were encountered: