Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - if !@current_ref.new_record?
- = simple_form_for resource, url: graph_instructions_update_user_path(resource, type: @current_ref.type, ins_type: @current_ref.instruction_type),
- wrapper: :foundation_inline, method: :patch, remote: true, html: { class: 'menu-item', style: 'margin:0' } do |f|
- = f.simple_fields_for :user_instruction_refs, @current_ref do |fr|
- = fr.hidden_field :_destroy, value: '1'
- = f.button :submit, 'Удалить информацию', class: 'button radius tiny alert'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement