I’m trying to remove, for instance, the “update_status” portion from
the form for creating and editing Radiant pages. The example I’m
working off is:
admin.page.index[:node].delete(‘add_child_column’)
but I can’t figure out this syntax in regards to the update_status
area since it’s within a partial.
Here is where it is added
app/views/admin/pages/_fields.html.haml
- layout.edit_status do
%p
= fields.label :status_id, t('status')
= fields.select :status_id, status_to_display
Any help on removing this during my activate method? Thanks!