Skip to content

Instantly share code, notes, and snippets.

View funglaub's full-sized avatar
🏠
Working from home

Florian Unglaub funglaub

🏠
Working from home
  • Nürnberg, Germany
View GitHub Profile
source 'http://rubygems.org'
gem 'rake', '0.8.7'
gem 'rails', '3.1.0.rc4'
gem 'jquery-rails', "~> 1.0.12"
# Asset template engines
gem 'sass'
gem 'coffee-script'
gem 'uglifier'
# This file is part of acpi-eeepc-generic.
# http://code.google.com/p/acpi-eeepc-generic/
#
# acpi-eeepc-generic is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# acpi-eeepc-generic is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
<% content_for :head do %>
<script>
$('editable_link').click(function() {
$('#editable_form').html( "<%= escape_javascript( raw render :partial => 'users/info_form') %>" );
});
</script>
<% end %>
<ul>
<li>Login: <%= @user.login %></li>
<li>Name: <%= @user.name %></li>