This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Started GET "/canvases/21/edit" for 127.0.0.1 at 2014-04-24 23:47:48 +0100 | |
| Processing by CanvasesController#edit as JSON | |
| Parameters: {"id"=>"21"} | |
| [1m[35mCanvas Load (0.2ms)[0m SELECT "canvases".* FROM "canvases" WHERE "canvases"."id" = ? LIMIT 1 [["id", "21"]] | |
| Completed 500 Internal Server Error in 3ms | |
| ActionView::MissingTemplate (Missing template canvases/edit, application/edit with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in: | |
| * "/Users/colmtuite/dev/design_tool/app/views" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .content .sign_up { | |
| padding: 50px; | |
| } | |
| @media (max-width: 600px) { | |
| .content .sign_up { | |
| width: 90%; | |
| padding: 30px; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Method One --> | |
| <span id="specific-item">Show more</span> | |
| $('#specific-item').click(function() { | |
| $(this).text('Show less'); | |
| }); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Fetching repository, done. | |
| Counting objects: 5, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 286 bytes, done. | |
| Total 3 (delta 2), reused 0 (delta 0) | |
| -----> Removing .DS_Store files | |
| -----> Ruby app detected | |
| -----> Compiling Ruby/Rails |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .modal { | |
| position:absolute; | |
| top:50%; | |
| left:50%; | |
| width:800px; | |
| height:500px; | |
| margin:-400px 0 0 -250px; | |
| background:#fff; | |
| border:1px solid #eee; | |
| z-index:9999; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="w-30"></div> | |
| <a class="btn-sml btn-accent"></a> | |
| <nav class="horizontal-links"></nav> | |
| <form class="form-stacked"></form> | |
| <form class="form-inline"></form> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .mas { margin:5px } | |
| .mts { margin-top:5px } | |
| .mrs { margin-right:5px } | |
| .mbs { margin-bottom:5px } | |
| .mls { margin-left:5px } | |
| .mam { margin:10px } | |
| .mtm { margin-top:10px } | |
| .mrm { margin-right:10px } | |
| .mbm { margin-bottom:10px } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| user.rb | |
| def unfollow!(other_user) | |
| friendships.find_by_followed_id(other_user.id).destroy | |
| end | |
| users/show.html.erb | |
| <% unless @user == current_user %> | |
| <% if current_user.friends_with?(@user) %> | |
| <%= form_for current_user.friendships.find_by_followed_id(@user), | |
| html: { method: :delete } do |f| %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= form_for @contact, validate: true do |f| %> | |
| <fieldset> | |
| <div class="input_error"> | |
| <%= f.label :message %> | |
| <%= f.text_area :message, autofocus: 'autofocus' %> | |
| <span data-icon="M" class="message">Error message goes here</span> | |
| </div> | |
| <div class="input_success"> | |
| <%= f.label :name %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //If form was submitted | |
| if(isset($_POST['submitted'])) { | |
| $errormsg = ""; //Initialize errors | |
| if(isset($_POST['emailaddress']) && $_POST['emailaddress'] != "Email Address"){ | |
| $emailaddress = $_POST['emailaddress']; // If title was entered | |
| } | |
| else{ | |
| $errormsg = "* Please enter an email address"; |