<%= stylesheet_link_tag 'application', 'formtastic', 'formatstic_changes' %> <%= stylesheet_link_tag 'mobile' if mobile_device? %> <% if mobile_device? %> <%= link_to "Full Site", :mobile => 0 %> <% else %> <%= link_to "Mobile Site", :mobile => 1 %> <% end %> <% yield %>