<%= simple_form_for(@dashboard, :html=>{:id=>"frm_create_dashboard",:class=> "form-horizontal form-label-left"}, :url=>@url_path) do |f| %>
<% end %>
Edit Dashboard - <%=@dashboard.name%> (<%=(@dashboard.customer_id.present? and @dashboard.customer_id > 0) ? @dashboard.customer.name.titleize : "Global"%> Domain)<%= f.submit :Save , class: 'btn btn-success btn-sm pull-right btndashboard'%>
<%#= f.input :remaining_widgets, :collection => @remaining_widgets.map{|i,w| [w,i]}, label:false, input_html: { id:'widgetBox1', multiple:true, class:'form-control' } %>
<%= f.input :widgets, :collection => @dashboard_widgets.map{|i,w| [w,i]}, label:false, input_html: { id:'widgetBox2', multiple:true, class:'form-control' } %>