commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
13ed7ebb71f80c81bbd71bc6c13d4b136b148560 | app/views/films/index.html.erb | app/views/films/index.html.erb | <h1>Films</h1>
<% @films.each do |film| %>
<div class="film-container">
<div class="film-data">
<p><%= film.title %></p>
<p><strong>Year: </strong><%= film.year %></p>
<p><strong>Directed by:</strong> <%= film.director %></p>
<p><strong>Runtime:</strong> <%= film.runtime %></p>
<p><strong>Description... | <h1>Films</h1>
<% @films.each do |film| %>
<div class="film-container">
<div class="film-data">
<h2><%= link_to film.title, film_path(film) %> <span style="font-size: 0.5em;">(3.8 / 4 reels and <%= film.reviews.count %> reviews)</span></h2>
<p><strong>Year: </strong><%= film.year %></p>
<p><strong>Directed... | Make film title a link to films/show view | Make film title a link to films/show view
| HTML+ERB | mit | JacobCrofts/wintergarten,JacobCrofts/wintergarten,JacobCrofts/wintergarten |
61e4b1b1744c25abe6de376f07512f49a2f545b5 | app/views/roles/_role.html.erb | app/views/roles/_role.html.erb | <tr id="role<%=role.id%>">
<td><%= role.allowable.name %></td>
<td><%= readable_role_type(role.role_type) %></td>
<td><%= link_to_remote("remove", :url => user_role_path(@user, role), :method => :delete, :confirm => "Are you sure you would like to revoke this right?", :html => {:class => "delete-button"} ) ... | <tr id="role<%=role.id%>">
<td><%= role.allowable.name rescue "-" %></td>
<td><%= readable_role_type(role.role_type) %></td>
<td><%= link_to_remote("remove", :url => user_role_path(@user, role), :method => :delete, :confirm => "Are you sure you would like to revoke this right?", :html => {:class => "delete-... | Hide project from super admin role in view | Hide project from super admin role in view
| HTML+ERB | mit | AMEE/construction_calc,AMEE/construction_calc |
c7203c92cce8f77b45769a0a3540a85cbb94f4b4 | app/views/runs/livesplit.html.erb | app/views/runs/livesplit.html.erb | <?xml version="1.0" encoding="UTF-8"?>
<Run>
<GameIcon />
<GameName>
</GameName>
<CategoryName><%= @run.to_s %></CategoryName>
<Offset><%= Time.at(@run.offset || 0).utc.strftime("%H:%M:%S").strip %></Offset>
<AttemptCount><%= @run.attempts || 0 %></AttemptCount>
<RunHistory />
<Segments>
<% @run.split... | <?xml version="1.0" encoding="UTF-8"?>
<Run>
<GameIcon />
<GameName>
</GameName>
<CategoryName><%= @run.to_s %></CategoryName>
<Offset><%= Time.at(@run.offset || 0).utc.strftime("%H:%M:%S").strip %></Offset>
<AttemptCount><%= @run.attempts || 0 %></AttemptCount>
<RunHistory />
<Segments>
<% @run.segme... | Fix a LiveSplit exporting issue | Fix a LiveSplit exporting issue
| HTML+ERB | agpl-3.0 | glacials/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io,glacials/splits-io,BatedUrGonnaDie/splits-io,glacials/splits-io |
25bed85109d9c7ed4e926b5451e020c0f9927376 | templates/init-service.conf.erb | templates/init-service.conf.erb | # Ubuntu upstart file at /etc/init/storm-<%= @name %>.conf
limit nofile 32768 32768
start on (local-filesystems and net-device-up IFACE=eth0)
stop on [!12345]
<% if @respawn %>
respawn
<% end %>
script
# Source /etc/default
. /etc/default/storm
. /etc/default/storm-<%= @name %>
# Set STORM Options
STORM_... | # Ubuntu upstart file at /etc/init/storm-<%= @name %>.conf
limit nofile 32768 32768
start on (local-filesystems and net-device-up IFACE=eth0)
stop on [!12345]
<% if @respawn %>
respawn
<% end %>
script
# Source /etc/default
. /etc/default/storm
. /etc/default/storm-<%= @name %>
# Set STORM Options
STORM_... | Add missing path to storm-logback.xml in init-service. | Add missing path to storm-logback.xml in init-service.
| HTML+ERB | apache-2.0 | kupferk/puppet-storm,kupferk/puppet-storm |
3a14972002baa33a5575c966be66550148e2b1ab | app/views/comments/_form.html.erb | app/views/comments/_form.html.erb | <%= form_for [@book, @chapter, @note, @comment] do |f| %>
<div class="comment_form">
<strong>Comment on this note (Markdown enabled)</strong>
<% if current_user.author? %>
<% if @note.completed? %>
<%= f.submit "Reopen", :class => "reopen-button" %>
<% else %>
<%= f.submit "Accept"... | <%= form_for [@book, @chapter, @note, @comment] do |f| %>
<div class="comment_form">
<strong>Comment on this note (Markdown enabled)</strong>
<% if current_user.author? %>
<% if @note.completed? %>
<%= f.submit "Reopen", :class => "reopen-button" %>
<% else %>
<%= f.submit "Accept"... | Comment form now has tabindex=1 on notes/show | Comment form now has tabindex=1 on notes/show
| HTML+ERB | mit | doug-c/mttwist,radar/twist,yannvery/twist,RealSilo/twist,radar/twist,yannvery/twist,RealSilo/twist,RealSilo/twist,doug-c/mttwist,doug-c/mttwist,yannvery/twist,radar/twist |
d967e5f5cac30dc87885580a3fbf45853322fed1 | cookbooks/nagios/templates/default/hosts.cfg.erb | cookbooks/nagios/templates/default/hosts.cfg.erb | # Host definitions
#
# Autogenerated by Chef.
<% @nodes.each do |n| -%>
define host {
use server
address <%= (!n['cloud'].nil? && n['cloud'] != node['cloud']) ? n['cloud']['public_ipv4'] : n['ipaddress'] %>
host_name <%= n['hostname'] %>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% if n.run_li... | # Host definitions
#
# Autogenerated by Chef.
<% @nodes.each do |n| -%>
define host {
use server
address <%= (!n['cloud'].nil? && n['cloud'] != node['cloud']) ? n['cloud']['public_ipv4'] : n['ipaddress'] %>
host_name <%= n['hostname'] %>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% if n.run_li... | Add the check to make sure the roles all exist even if we're not using multi_environment monitoring | Add the check to make sure the roles all exist even if we're not using multi_environment monitoring
Former-commit-id: c4a94afb61aa5d767d3a29bbaed717799f3a4ef8 [formerly 7b3dc0cd48fe7aad8833984e31dd7ae17e3425f3] [formerly 2ffc8c370fcc91a98ac4559c7e6c9b9067c1c1d4 [formerly aef9c98e6af175df19de4286c7aa1e7ce697a512 [form... | HTML+ERB | apache-2.0 | nilroy/rundeck,scottymarshall/rundeck,Webtrends/rundeck,nilroy/rundeck,Webtrends/rundeck,scottymarshall/rundeck,scottymarshall/rundeck,nilroy/rundeck,Webtrends/rundeck |
5a01c3c219ca16891ddc3a82e04924fdcf2f5a01 | app/views/layouts/_flash.html.erb | app/views/layouts/_flash.html.erb | <% if type == :notice %>
<%= alert_box context: :success, dismissible: true do %>
<%= message %>
<% end %>
<% else %>
<%= alert_box context: :danger, dismissible: true do %>
<%= message %>
<% end %>
<% end %>
| <% if type == :success %>
<%= alert_box context: :success, dismissible: true do %>
<%= message %>
<% end %>
<% elsif type == :error %>
<%= alert_box context: :danger, dismissible: true do %>
<%= message %>
<% end %>
<% elsif type == :warning %>
<%= alert_box context: :warning, dismissible: true do %... | Fix flash message alert boxes | Fix flash message alert boxes
| HTML+ERB | mit | pbprograms/gluedb,pbprograms/gluedb,pbprograms/gluedb,blackeaglejs/gluedb,blackeaglejs/gluedb,blackeaglejs/gluedb,pbprograms/gluedb,blackeaglejs/gluedb |
d85afd4c46d154cae9299f2db746f0978281b29c | app/views/layouts/mailer.text.erb | app/views/layouts/mailer.text.erb | Heads up <%= @reservation.user.name %>!! Your Reservation for <%= @reservation.restaurant %> will be ready in 5 minutes.
| Heads up <%= @reservation.user.name %>!! Your Reservation for <%= @reservation.restaurant.title %> will be ready in 5 minutes.
| Set up sidekiq to send fake email | Set up sidekiq to send fake email
| HTML+ERB | mit | jchang2014/waitless,jengjao515/WaitLess,erictflores/waitless,erictflores/waitless,jengjao515/WaitLess,jchang2014/waitless,jengjao515/WaitLess,jchang2014/waitless,erictflores/waitless |
207399bad0554ae04c7fbc037cdc76b6478e7ebc | app/views/osc_jobs/_form.html.erb | app/views/osc_jobs/_form.html.erb | <%# Uses rails_bootstrap_form gem. API at: https://github.com/bootstrap-ruby/rails-bootstrap-forms %>
<%= bootstrap_form_for(osc_job) do |f| %>
<%= f.alert_message "Please fix the errors below." %>
<%= f.text_field :name %>
<%= f.text_field :batch_host %>
<%= f.submit 'Save', class: 'btn btn-primary' %>
<%=... | <%# Uses rails_bootstrap_form gem. API at: https://github.com/bootstrap-ruby/rails-bootstrap-forms %>
<%= bootstrap_form_for(osc_job) do |f| %>
<%= f.alert_message "Please fix the errors below." %>
<%= f.text_field :name %>
<%= f.select :batch_host, Servers, { label: "Batch Server:" }, { class: "selectpicker" } ... | Add batch server dropdown select | Add batch server dropdown select
| HTML+ERB | mit | OSC/ood-myjobs,OSC/ood-myjobs,OSC/ood-myjobs,OSC/ood-myjobs |
8e1c94ff561f556d696c12b68c5639e55ff83af2 | app/views/requests/_form.html.erb | app/views/requests/_form.html.erb | <header class="navBar">
<h1>Localisation</h1>
</header>
<%= simple_form_for(@request, url: request_path(@request.service)) do |form| %>
<% @request.service.ordered_attrs.each do |code, attr| %>
<%= form.input attr.code.to_sym,
:label => attr.description,
:as => "open311_#{attr.datatype}",
:col... | <header class="navBar">
<h1>Localisation</h1>
</header>
<%= simple_form_for(@request, url: request_path(@request.service)) do |form| %>
<% @request.service.ordered_attrs.each do |code, attr| %>
<%= form.input attr.code.to_sym,
:label => attr.description,
:placeholder => attr.description,
:as =... | Add placeholder to all inputs | Add placeholder to all inputs
| HTML+ERB | mit | ironweb/avertislaville,ironweb/avertislaville |
ae69534e08ee270cee3724aec37baf6311fefc0d | app/views/searches/_form.html.erb | app/views/searches/_form.html.erb | <form class="search-form form-inline">
<%= react_component("Filters", @searcher_serializer.as_json.merge({
controllerName: Settings.filters_beta.present? ? controller_name.to_json : nil,
})) %>
<div class="search-footer">
<%= search_examples %>
<a href="#"><%= t('search.help_link') %></a>
</div>
</f... | <form class="search-form form-inline">
<%= react_component("Filters", @searcher_serializer.as_json.merge({
controllerName: Settings.filters_beta.present? ? controller_name.to_json : nil,
})) %>
<div class="search-footer">
<%= Settings.filters_beta.present? && controller.is_a?(ResponsesController) ? nil : ... | Remove search examples if filter buttons are present | 9733: Remove search examples if filter buttons are present
| HTML+ERB | apache-2.0 | thecartercenter/elmo,thecartercenter/elmo,thecartercenter/elmo |
72a7657084c3f0224f10e697025ff76d2495395f | app/views/hyrax/base/file_manager.html.erb | app/views/hyrax/base/file_manager.html.erb | <h1><%= t("hyrax.file_manager.link_text") %></h1>
<ul class="breadcrumb">
<li class="breadcrumb-item">
<%= t('.back_to') %> <%= link_to @form.to_s, [main_app, @form] %>
</li>
</ul>
<% if !@form.member_presenters.empty? %>
<div data-action="file-manager">
<div class="col-md-3" id="file-manager-tools">
... | <h1><%= t("hyrax.file_manager.link_text") %></h1>
<ul class="breadcrumb">
<li class="breadcrumb-item">
<%= t('.back_to') %> <%= link_to @form.to_s, [main_app, @form] %>
</li>
</ul>
<% if !@form.member_presenters.empty? %>
<div class="row" data-action="file-manager">
<div class="col-md-3" id="file-manager... | Remove spacer div, add wrapping row. | Remove spacer div, add wrapping row.
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
c7e09db3e6254d6d105f7eb1377cb1be4f389947 | app/views/meals/meals/_reimb_form.html.erb | app/views/meals/meals/_reimb_form.html.erb | <div id="reimb-form">
<table>
<tr>
<td>Meal:</td>
<td>
<%= meal.title_or_no_title %><br/>
<% if meal.head_cook %>
By <%= meal.head_cook_name %><br/>
<% end %>
<%= meal.served_at_datetime %> at <%= meal.location_name %>
</td>
</tr>
<tr>
<td>... | <div id="reimb-form">
<table>
<tr>
<td>Meal:</td>
<td>
<%= meal.title_or_no_title %><br/>
<% if meal.head_cook %>
By <%= meal.head_cook_name %><br/>
<% end %>
<%= meal.served_at_datetime %> at <%= meal.location_name %>
</td>
</tr>
<tr>
<td>... | Remove grocery purchase date from summary form | 45: Remove grocery purchase date from summary form
| HTML+ERB | mit | touchstone-cohousing/mess,touchstone-cohousing/mess,touchstone-cohousing/mess |
3dc4c82bdbf17a349bc0bdd58e9a5ec531a516fa | app/views/modules/player/_section.html.erb | app/views/modules/player/_section.html.erb | <%#
Copyright 2011-2019, The Trustees of Indiana University and Northwestern
University. Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... | <%#
Copyright 2011-2019, The Trustees of Indiana University and Northwestern
University. Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless requ... | Remove duplicate 'share' button on media object page | Remove duplicate 'share' button on media object page
Revert to upstream fix for https://github.com/ualbertalib/avalon/issues/303 and https://github.com/ualbertalib/avalon/pull/304
| HTML+ERB | apache-2.0 | ualbertalib/avalon,ualbertalib/avalon,ualbertalib/avalon,ualbertalib/avalon |
071c688707cf1e3b83a7e0407adc75911461279c | app/views/annotations/create.js.erb | app/views/annotations/create.js.erb | // This JavaScript is executed when the #create controller method finishes
// compose new list item
<% annotationText = render :partial => "annotations/single_annotation_table_row", :locals => { :annotation => @annotation } %>
var response = "<%= escape_javascript(annotationText)%>";
$("#annotations-header").fadeIn("s... | // This JavaScript is executed when the #create controller method finishes
// compose new list item
<% annotationText = render :partial => "annotations/single_annotation_table_row", :locals => { :annotation => @annotation } %>
var response = "<%= escape_javascript(annotationText)%>";
$("#annotations-header").fadeIn("s... | Switch back to navigate mode after adding annotation | Switch back to navigate mode after adding annotation
| HTML+ERB | apache-2.0 | maphub/maphub-portal,maphub/maphub-portal |
94143fee050aabd4c68ce202d241b21cc3bca6b2 | app/views/hits/_hits_table.html.erb | app/views/hits/_hits_table.html.erb | <table class="hits table table-bordered">
<thead>
<tr>
<th class="status">Status</th>
<th>Path</th>
<th class="count">Count</th>
</tr>
</thead>
<tbody>
<% max = hits.first.count %>
<% hits.each do |hit| %>
<tr>
<td class="status"><%= hit.http_status %></td>
<td class="relative... | <table class="hits table table-bordered">
<thead>
<tr>
<th class="status">HTTP<br/>Status</th>
<th>Path</th>
<th class="count">Count</th>
</tr>
</thead>
<tbody>
<% max = hits.first.count %>
<% hits.each do |hit| %>
<tr>
<td class="status"><%= hit.http_status %></td>
<td class=... | Add "HTTP" to Status column header | Add "HTTP" to Status column header
| HTML+ERB | mit | alphagov/transition,alphagov/transition,alphagov/transition |
ba604e2d66cf51e3fc3e6e90ff1c1f77af45b316 | app/views/spree/users/show.html.erb | app/views/spree/users/show.html.erb | <section id="login">
<div class="container">
<ul class="breadcrumb">
<li>
<a href="#">Home</a>
<span class="divider">/</span>
</li>
<li class="active"> Account</li>
</ul>
<div class="row">
<!-- Account Login-->
<div class="span9">
<h1 class="headingmain"><span><%= accurate_title... | Create backend todavia no esta terminado pero ya se integro el diseño hay mas o menos | Create backend todavia no esta terminado pero ya se integro el diseño hay mas o menos
| HTML+ERB | bsd-3-clause | gilbertoTN/spree_skins,gilbertoTN/spree_skins | |
944aa8644ecf32a75b2eab348e380ba4a563bceb | deployment/puppet/cobbler/templates/snippets/ubuntu_packages.erb | deployment/puppet/cobbler/templates/snippets/ubuntu_packages.erb | #set $pkgsel_packages = ["openssh-server", "debconf-utils", "ntp", "ruby-ipaddress", "ruby-netaddr", "ruby-openstack", "libaugeas-ruby", "libstomp-ruby1.8", "libshadow-ruby1.8", "libjson-ruby1.8", "vim", "vlan", "curl", "anacron", "python-amqp", "nailgun-agent", "nailgun-mcagents", "lvm2", "nailgun-net-check", "dhcp-ch... | #set $pkgsel_packages = ["acl", "openssh-server", "debconf-utils", "ntp", "ruby-ipaddress", "ruby-netaddr", "ruby-openstack", "libaugeas-ruby", "libstomp-ruby1.8", "libshadow-ruby1.8", "libjson-ruby1.8", "vim", "vlan", "curl", "anacron", "python-amqp", "nailgun-agent", "nailgun-mcagents", "lvm2", "nailgun-net-check", "... | Add acl package to Ubuntu | Add acl package to Ubuntu
Change-Id: Ia84fcb271b115952018c67b963ea3fe6ab849d8e
| HTML+ERB | apache-2.0 | huntxu/fuel-library,ddepaoli3/fuel-library-dev,Metaswitch/fuel-library,huntxu/fuel-library,stackforge/fuel-library,SmartInfrastructures/fuel-library-dev,ddepaoli3/fuel-library-dev,Metaswitch/fuel-library,slystopad/fuel-lib,ddepaoli3/fuel-library-dev,stackforge/fuel-library,zhaochao/fuel-library,eayunstack/fuel-library,... |
ccf7c3ae4ca0e542a01d83ab223055242bb496c5 | app/views/supporters/_form.html.erb | app/views/supporters/_form.html.erb | <%= simple_form_for @supporter, remote: true, html: {id: 'sign-form', class: 'overlay-container'} do |f| %>
<% if @success %>
<div class="overlay-content success">
<p>Благодарим Ви!</p>
<!-- <p>Изпратихме Ви имейл, в който има инструкции как да потвърдите подкрепата си.</p> -->
<p><small><a href... | <%= simple_form_for @supporter, remote: true, html: {id: 'sign-form', class: 'overlay-container'} do |f| %>
<% if @success %>
<div class="overlay-content success">
<p>Благодарим Ви!</p>
<p>Изпратихме Ви имейл, в който има инструкции как да потвърдите подкрепата си.</p>
<p><small><a href="close" ... | Revert "Temporary hide the “confirmation email” text" | Revert "Temporary hide the “confirmation email” text"
This reverts commit 9f53aaed279fea85d03a035d1dd35c013fddcf1a.
| HTML+ERB | mit | obshtestvo/gov,obshtestvo/gov,AlexVPopov/gov,AlexVPopov/gov,obshtestvo/gov |
aca663fbbb90bb26792e27363e7c56394c84445b | app/views/devices/index.html.erb | app/views/devices/index.html.erb | <section class="widget">
<header>
<h4><i class="icon-mobile-phone"></i> Devices</h4>
</header>
<div class="body">
<table class="table table-hover">
<thead>
<tr>
<th>Device Identifier</th>
<th>Device Label</th>
<th>Number of Surveys</th>
<!-- <th>Comple... | <section class="widget">
<header>
<h4><i class="icon-mobile-phone"></i> Devices</h4>
</header>
<div class="body">
<table class="table table-hover">
<thead>
<tr>
<th>Device Identifier</th>
<th>Device Label</th>
<th>Number of Surveys</th>
<!-- <th>Comple... | Add current version of app to device list | Add current version of app to device list
| HTML+ERB | mit | mnipper/rails_survey,mnipper/rails_survey,mnipper/rails_survey |
b77f352d9d90bb4cf7cf04af516406b2febe5c18 | app/views/layouts/admin.html.erb | app/views/layouts/admin.html.erb | <!DOCTYPE html>
<html lang="en-GB">
<head>
<title><%= page_title %></title>
<%= stylesheet_link_tag 'admin' %>
<%= javascript_include_tag "admin" %>
<%= csrf_meta_tag %>
<link rel="shortcut icon" type="image/x-icon" href="/favicon-admin.ico" />
<%= yield :js %>
<meta name="viewport" content="width = devic... | <!DOCTYPE html>
<html lang="en-GB">
<head>
<title><%= page_title %></title>
<%= stylesheet_link_tag 'admin' %>
<%= javascript_include_tag "admin" %>
<%= csrf_meta_tag %>
<link rel="shortcut icon" type="image/x-icon" href="/favicon-admin.ico" />
<%= yield :js %>
<meta name="viewport" content="width = devic... | Add noindex tag to prevent admin pages being indexed | Add noindex tag to prevent admin pages being indexed
| HTML+ERB | mit | unboxed/e-petitions,alphagov/e-petitions,StatesOfJersey/e-petitions,joelanman/e-petitions,oskarpearson/e-petitions,alphagov/e-petitions,oskarpearson/e-petitions,StatesOfJersey/e-petitions,joelanman/e-petitions,unboxed/e-petitions,alphagov/e-petitions,unboxed/e-petitions,joelanman/e-petitions,StatesOfJersey/e-petitions,... |
653ea7efc3deb1ba91b1f9b39a85aabac23cb606 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <h1 class="title">KLINK</h1>
<div class= "game-cards">
<a href="/letters"><img src="/images/readingLogo.png" class="reading-logo game-logo"></a>
<a href="/draw"><img src="/images/drawingLogo.png" class="drawing-logo game-logo"></a>
<br>
<a href="/writing"><img src="/images/writingLogo.png" class="writing-logo ... | <h1 class="title">KLINK</h1>
<div class= "game-cards">
<a href="/letters"><img src="/images/readingLogo.png" class="reading-logo game-logo"></a>
<a href="/draw"><img src="/images/drawingLogo.png" class="drawing-logo game-logo"></a>
<br>
<a href="/write"><img src="/images/writingLogo.png" class="writing-logo ga... | Fix link to writing game | Fix link to writing game
| HTML+ERB | mit | JulianBoralli/klink,JulianBoralli/klink,JulianBoralli/klink |
748b70de4d7d8dc6504f4a14f4eea03b874f6055 | app/views/teachers/show.html.erb | app/views/teachers/show.html.erb | <h1><%= @teacher.name %> Students</h1>
<% if @teacher.students.length == nil %>
<p>Welcome, <%= @teacher.name %>! You currently have no students. Click <%= link_to 'here', students_path %>to start adding students.</p>
<% else %>
<table>
<% counter = 1 %>
<tr>
<th>Student Name</th>
<th>Grade L... | Add teacher profile page with student list | Add teacher profile page with student list
| HTML+ERB | mit | Aslonski/Study-Buddy,Aslonski/Study-Buddy,Aslonski/Study-Buddy | |
f9de176fc5138d88f07cedf21aaaad4512160171 | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | <h1>Hello, World!</h1>
| <div class="jumbotron">
<div class="container">
<h1 class="display-3 text-center">Welcome to Picture</h1>
<p class="text-center mt-4"><%= link_to 'Sign up', new_user_registration_path, class: 'btn btn-lg btn-success', role: 'button' %></p>
</div>
</div>
<footer class="mt-4">
<p class="text-center text-mu... | Add some content to landing page | Add some content to landing page
| HTML+ERB | mit | vinc/pi.ctu.re,vinc/pi.ctu.re,vinc/pi.ctu.re |
64a5913b8b115bce7ae8e84169bb0788753d135f | templates/styles/build_passed.md.erb | templates/styles/build_passed.md.erb | :smiley: Your submission passed all our automated tests.
<%= build_details %>
| :smiley: Your submission passed all our automated tests.
Below are some sample citations generated based on your proposed changes:
<%= build_details %>
| Add text for sample citations | Add text for sample citations | HTML+ERB | mit | citation-style-language/Sheldon,citation-style-language/Sheldon |
51b92cfb1b0891e97e9df7c02ec8e66fc20d2d7b | source/layouts/blog-layout.erb | source/layouts/blog-layout.erb | <% wrap_layout :layout do %>
<article class='article-detail'>
<h4 class='detail-post-date'><%= current_article.date.strftime('%b %e') %></h3>
<h2 class='detail-post-title'><%= current_article.title %></h2>
<h3 class='detail-post-topic-list'><%= current_article.data.topic_list %></h3>
<% if curren... | <% wrap_layout :layout do %>
<article class='article-detail'>
<h4 class='detail-post-date'><%= current_article.date.strftime('%b %e | %Y') %></h3>
<h2 class='detail-post-title'><%= current_article.title %></h2>
<h3 class='detail-post-topic-list'><%= current_article.data.topic_list %></h3>
<% if cur... | Add year to date in blog layout for post details | Add year to date in blog layout for post details
| HTML+ERB | mit | vis-kid/betweenscreens,vis-kid/betweenscreens,vis-kid/betweenscreens |
d944e4ffc307d7a7f27905bf5785c1c15673e6b9 | app/views/rails_admin/main/_dragonfly_file.html.erb | app/views/rails_admin/main/_dragonfly_file.html.erb | <%= label_tag("#{field.abstract_model.to_param}_#{field.name}", field.label) %>
<div class="input">
<% if field.bindings[:object].send(field.name) %>
<div class="row">
<% if field.bindings[:object].send(field.name).mime_type.include? 'image' %>
<%= image_tag(field.bindings[:object].send(field.name).... | <div class="field <%= field.to_param %>">
<%= label_tag("#{field.abstract_model.to_param}_#{field.name}", field.label) %>
<div class="input">
<% if field.bindings[:object].send(field.name) %>
<div class="row">
<% if field.bindings[:object].send(field.name).mime_type.include? 'image' %>
<%= ima... | Patch to Dragonfly partial from Erik Östling | Patch to Dragonfly partial from Erik Östling
| HTML+ERB | mit | wkirschbaum/rails_admin,onursarikaya/rails_admin,corbt/rails_admin,yakovenkodenis/rails_admin,zambot/rails_admin,LevoLeague/rails_admin,kimquy/rails_admin_062,johanneskrtek/rails_admin,kjaikeerthi/rails_admin,sferik/rails_admin,ecielam/rails_admin,CodingZeal/rails_admin,10to1/rails_admin,aquajach/rails_admin,patleb/adm... |
fa6040f9e09458465e157e2956a9e94b1ba715a8 | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <%= @question.title %>
<%= @question.content %>
<ul>
<% @question.answers.each do |answer| %>
<li>
<%= answer.content %>
</li>
</ul>
<% end %> | Add show view for Questions | Add show view for Questions
| HTML+ERB | mit | rock-doves-2014/DemBoyz-Overflow,rock-doves-2014/DemBoyz-Overflow | |
15f051400e6b954966e17418de388b677a5535dc | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <h1>Howdy!</h1>
<div>
<h2><%= @question.title %></h2>
<div>
By: <%= link_to @question.user.username, user_path %>
<br><%= link_to @question.votes question_votes_path %>
<br><%= @question.description %>
</div>
</div>
<!-- <button type="button" class="btn btn-default btn-md">
<span class="glyphicon glyphicon-... | <h1>Howdy!</h1>
<div>
<h2><%= @question.title %></h2>
<div>
By: <%= link_to @question.user.username, user_path %>
<br><%= @question.description %>
</div>
</div>
<!-- <button type="button" class="btn btn-default btn-md">
<span class="glyphicon glyphicon-triangle-top" aria-hidden="true">+</span>
</button> -->... | Add upvote button to create new votes | Add upvote button to create new votes
| HTML+ERB | mit | melissawimberly/MustacheYouAQuestion,melissawimberly/MustacheYouAQuestion,melissawimberly/MustacheYouAQuestion |
2d914794c8047dfb0716c66e4b3142aa6a438de9 | views/index.erb | views/index.erb | <!DOCTYPE html>
<html ng-app="mpdClient">
<head>
<title>MPD Client</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<%= stylesheet_tag 'mpd-client' %>
<%= javascript_tag 'mpd-client' %>
</head>
<body>
<div id="content">
<div id="library"></di... | <!DOCTYPE html>
<html ng-app="mpdClient">
<head>
<title>MPD Client</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimal-ui">
<%= stylesheet_tag 'mpd-client' %>
<%= javascript_tag 'mpd-client' %>
</head>
<body>
<div id="content">
<div id="l... | Add minimal-ui for iOS Safari. | Add minimal-ui for iOS Safari.
| HTML+ERB | mit | danbee/mpd-client,danbee/mpd-client |
b3d85e314cab1e7124aeb7aa0a9d615f5c2885d8 | app/views/layouts/_alert.html.erb | app/views/layouts/_alert.html.erb | <!--[if lte IE 9]>
<div class="alert alert-warning alert-ie fade in" role="alert">
<button class="close" data-dismiss="alert" type="button">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4>This website no longer supports Internet Explorer versions 7 or 8.</h4>
<p>W... | <!--[if lte IE 9]>
<div class="alert alert-warning alert-ie fade in" role="alert">
<button class="close" data-dismiss="alert" type="button">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4>This website no longer supports Internet Explorer versions 7 or 8.</h4>
<p>W... | Fix less than ie 9 conditional | Fix less than ie 9 conditional
| HTML+ERB | isc | schlos/homebase,randy-r-masters/homebase,schlos/homebase,randy-r-masters/homebase,codeforamerica/homebase,schlos/homebase,randy-r-masters/homebase,codeforamerica/homebase,codeforamerica/homebase |
82f6581fa2603f5c9846fd62573a1d652c1c5f21 | app/views/modals/_button.html.erb | app/views/modals/_button.html.erb | <%= f.hidden_field :promoter_id -%>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#event_promoter_select_modal">
<span class="glyphicon glyphicon-user"></span>
<span id="event_promoter_name"><%= @event.promoter&.name %></span>
</button>
<%= render partial: "modals/select", locals: ... | <%= f.hidden_field :promoter_id -%>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#event_promoter_select_modal">
<span class="glyphicon glyphicon-user"></span>
<span id="event_promoter_name"><%= @event.promoter&.name %></span>
</button>
| Move modal partial out of form | Move modal partial out of form
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
ff8f2578aa644120933283e58d056c3820f03dbb | app/views/smart_answers/_current_question.html.erb | app/views/smart_answers/_current_question.html.erb | <div class="step current" data-step="employment-status">
<%= form_tag smart_answer_path(params.reject {|k,v| k == 'format'}) %>
<div class="current-question">
<h3>
<span class="question-number"><%= @presenter.current_question_number %></span>
<%= question.title %>
<% if question.has_... | <div class="step current" data-step="employment-status">
<%= form_tag smart_answer_path(params.reject {|k,v| k == 'format'}) %>
<div class="current-question">
<h3>
<span class="question-number"><%= @presenter.current_question_number %></span>
<%= question.title %>
</h3>
<% if qu... | Move body outside of h3 (oops). | Move body outside of h3 (oops).
| HTML+ERB | mit | askl56/smart-answers,lutgendorff/smart-answers,askl56/smart-answers,lutgendorff/smart-answers,stwalsh/smart-answers,stwalsh/smart-answers,askl56/smart-answers,keithiopia/smart-answers,alphagov/smart-answers,tadast/smart-answers,lutgendorff/smart-answers,alphagov/smart-answers,tadast/smart-answers,aledelcueto/smart-answ... |
3c2e00409cfc5448aa8205afdc7de54eece378f6 | app/views/teachers/classrooms/new.html.erb | app/views/teachers/classrooms/new.html.erb | <%= render partial: 'teachers/shared/scorebook_tabs' %>
<%= render partial: 'teachers/classrooms/subnav' %>
<%= javascript_include_tag 'jquery.js' %>
<%= javascript_include_tag 'create_a_class.js' %>
<div class="container">
<section class="no-border create-a-class">
<h1 class="section-header">Create Your Cla... | <%= render partial: 'teachers/shared/scorebook_tabs' %>
<%= render partial: 'teachers/classrooms/subnav' %>
<%= javascript_include_tag 'jquery.js' %>
<%= javascript_include_tag 'scorebook/create_a_class.js' %>
<div class="container">
<section class="no-border create-a-class">
<h1 class="section-header">Creat... | Fix view's path to create_a_class.js | Fix view's path to create_a_class.js
a5c773d moved/renamed create_a_class.js into .../scorebook/,
but didn't update the view using it.
If this caused any problems or errors in `development` or `production`,
they apparently weren't visible and/or troublesome enough to get any
attention.
`spec/features/sign_up_spec.rb... | HTML+ERB | agpl-3.0 | empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core,empirical-org/Empirical-Core |
751f81eec5dc82721fd5185c908dc8e7b604accf | app/views/_header.erb | app/views/_header.erb | <nav>
<li><a href="/login">Login</a></li>
<li><a href="/logout">Logout</a></li>
<li><a href="/register">Register</a></li>
<% if auth_logged_in? %>
<li>Username: <%= auth_current_user.username %></li>
<% end %>
</nav>
| <nav>
<li><a href="/login">Login</a></li>
<li><a href="/logout">Logout</a></li>
<li><a href="/register">Register</a></li>
<li><a href="/profile/<%= auth_current_user.id %>/edit">Edit</a></li>
<% if auth_logged_in? %>
<li>Username: <%= auth_current_user.username %></li>
<% end %>
</nav>
| Add edit link on header layout | Add edit link on header layout
| HTML+ERB | mit | philipyoo/basic-rpg,philipyoo/basic-rpg,philipyoo/basic-rpg |
efcb65716547cbaff10fa984940e477c38ca8e77 | modules/hdo/templates/apache-deployer-vhost.conf.erb | modules/hdo/templates/apache-deployer-vhost.conf.erb | #
# This file is managed by Puppet. Local edits will be lost.
#
<VirtualHost <%= @vhost_name %>:<%= @port %>>
SetEnv PATH /usr/bin:/bin:/usr/local/bin
SetEnv LC_ALL en_US.UTF-8
ServerName <%= @srvname %>
DocumentRoot <%= @docroot %>
<Directory <%= @docroot %>>
Options <%= @options %>
AllowOverride N... | #
# This file is managed by Puppet. Local edits will be lost.
#
<VirtualHost <%= @vhost_name %>:<%= @port %>>
SetEnv PATH /usr/bin:/bin:/usr/local/bin
SetEnv LC_ALL en_US.UTF-8
ServerName <%= @srvname %>
DocumentRoot <%= @docroot %>
<Directory <%= @docroot %>>
Options <%= @options %>
AllowOverride N... | Fix for Apache > 2.4 | Fix for Apache > 2.4
| HTML+ERB | bsd-3-clause | holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet,holderdeord/hdo-puppet |
d278debdc0d5a29cf164cf4fa5b40469539cea70 | museum-finder/app/views/layouts/application.html.erb | museum-finder/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>MuseumFinder</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<header>
... | <!DOCTYPE html>
<html>
<head>
<title>MuseumFinder</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<header>
... | Fix layout links to direct to correct paths | Fix layout links to direct to correct paths
| HTML+ERB | mit | nyc-fiery-skippers-2016/museum-finder,nyc-fiery-skippers-2016/museum-finder,nyc-fiery-skippers-2016/museum-finder |
9d9301653d679e1db3cc916f0fd24220c2b51476 | templates/default/limits.conf.erb | templates/default/limits.conf.erb | # Dropped off by Chef
[thruput]
maxKBps = <%= @ratelimit_kbps %>
| # Managed by Chef. Changes will be reverted
[thruput]
maxKBps = <%= @ratelimit_kbps %>
| Update the chef managed warning | Update the chef managed warning
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
| HTML+ERB | apache-2.0 | chef-cookbooks/chef-splunk,Springworks/chef-splunk,chef-cookbooks/chef-splunk,rarsan/chef-splunk,rarsan/chef-splunk,chef-cookbooks/chef-splunk,Springworks/chef-splunk,rarsan/chef-splunk,Springworks/chef-splunk |
19cdc3602db7c9a878ea7884f84886a713b581cc | app/views/images/index.html.erb | app/views/images/index.html.erb | <h1>Listing images</h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @images.each do |image| %>
<tr>
<td><%= link_to 'Show', image %></td>
<td><%= link_to 'Edit', edit_image_path(image) %></td>
<td><%= link_to 'Destroy', image, method: :del... | <h1>Listing images</h1>
<table>
<thead>
<tr>
<th colspan="3"></th>
</tr>
</thead>
<tbody>
<% @images.each do |image| %>
<tr>
<td><%= link_to 'Show', image %></td>
<td><%= link_to 'Edit', edit_image_path(image) %></td>
<td><%= link_to 'Destroy', image, method: :del... | Add image_tag method to display sample image | Add image_tag method to display sample image
| HTML+ERB | mit | gouf/test_elevate_zoom,gouf/test_elevate_zoom |
7b56b4a8432090811e09e847f2dad78e5c654859 | app/views/partials/_results.erb | app/views/partials/_results.erb |
<div id="menu1" class="tab-pane fade">
<h3><%#= %></h3>
<p></p>
</div>
|
<!-- <div id="menu1" class="tab-pane fade"> -->
<% organisms.each do |org| %>
<h4><%= org.english_name %></h4>
<p>Iconic Taxon: <%= org.iconic_taxon_name %></p>
<p>Iconic Taxon Rank: <%= org.iconic_taxon_rank %></p>
<p>Taxon: <%= org.taxon_name %></p>
<p>Taxon Rank: <%= org.taxon_rank %></p>
... | Create standard formatting for adding info as it comes | Create standard formatting for adding info as it comes
| HTML+ERB | mit | groovestation31785/inaturalist,groovestation31785/inaturalist |
e0dcf6232ddfcef0b8fa5439582c11c3f51359af | app/views/users/signup.html.erb | app/views/users/signup.html.erb | <div class="signup-form-container clearfix">
<div class="signup-form">
<%= form_for @user do |f| %>
<dl class="form">
<dt><%= f.label :account_name, "Your name" %></dt>
<dd><%= f.text_field :account_name %></dd>
<% if @user.errors[:account_name].any? %>
<dd class=... | <div class="signup-form-container clearfix">
<div class="signup-form">
<%= form_for @user do |f| %>
<dl class="form">
<dt><%= f.label :account_name, "Your name" %></dt>
<dd><%= f.text_field :account_name %></dd>
<% if @user.errors[:account_name].any? %>
<dd class=... | Add homepage link to signup page | Add homepage link to signup page
| HTML+ERB | mit | IOH/ioh-cover-maker,IOH/ioh-cover-maker,IOH/ioh-cover-maker |
fc1d3d22cb8dd71a0127feb249362bdfce287a5c | app/views/layouts/_footer.html.erb | app/views/layouts/_footer.html.erb | <div class="row">
<div class="footer">
<a href="/about">About</a> · <a href="/privacy">Privacy</a> · <a href="http://www.twitter.com/textizen">FAQ on @textizen</a>
<br>
a project of <a href="http://codeforamerica.org/">Code for America</a>
<br>
<div class="twittershare">
<a href="https://twitter.com... | <div class="row">
<div class="footer">
<a href="/about">About</a> · <a href="/privacy">Privacy</a> · <a href="http://www.twitter.com/textizen">FAQ on @textizen</a>
<br>
a project of <a href="http://codeforamerica.org/">Code for America</a> · Fork me on <a href="http://github.com/codeforamerica/textizen">Git... | Add Github link as text in footer | Add Github link as text in footer
| HTML+ERB | bsd-3-clause | codeforamerica/textizen,codeforamerica/textizen,codeforamerica/textizen |
dc6da55fa43486c033a37c45b7a198bd675f9944 | examples/ruby-on-rails-webapp/app/views/layouts/application.html.erb | examples/ruby-on-rails-webapp/app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>RubyOnRailsWebapp</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= yield :cdn_code %>
<%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css' %>
<%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/font-... | <!DOCTYPE html>
<html>
<head>
<title>RubyOnRailsWebapp</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<%= yield :cdn_code %>
<%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css' %>
<%= stylesheet_link_tag '//maxcdn.bootstrapcdn.com/font-... | Update lock to version 9 | Update lock to version 9 | HTML+ERB | mit | auth0/omniauth-auth0 |
e39cc646821c3da355c6147d8d20eecf0694060a | app/views/results/student/no_remark_result.html.erb | app/views/results/student/no_remark_result.html.erb | <div class="wrapLeft">
<p class="notice"><%= t(:no_remark_result) %></p>
<p>
<em><%= t('marker.remark_submitted') %></em>
<% if @submission.remark_request_timestamp %>
<%= l(@submission.remark_request_timestamp, format: :long_date) %>
<% end %>
</p>
<div id="remark_request">
<h3><%= t('mar... | <div class="wrapLeft">
<p class="notice"><%= t(:no_remark_result) %></p>
<p>
<em><%= t('marker.remark_submitted') %></em>
<% if @submission.remark_request_timestamp %>
<%= l(@submission.remark_request_timestamp, format: :long_date) %>
<% end %>
</p>
<div id="remark_request">
<h3><%= t('mar... | Fix cancel remark request button (Cancel still sent DELETE request) | Fix cancel remark request button (Cancel still sent DELETE request)
| HTML+ERB | mit | benjaminvialle/Markus,arkon/Markus,benjaminvialle/Markus,benjaminvialle/Markus,benjaminvialle/Markus,benjaminvialle/Markus,arkon/Markus,MarkUsProject/Markus,arkon/Markus,benjaminvialle/Markus,arkon/Markus,benjaminvialle/Markus,arkon/Markus,MarkUsProject/Markus,MarkUsProject/Markus,MarkUsProject/Markus,arkon/Markus,Mark... |
9967acdc1181c2a4700a264288f90809dd263f44 | app/views/blocks/location.html.erb | app/views/blocks/location.html.erb | <% if profile.lat %>
<%= block_title block.title %>
<div class='the-localization-map'>
<img src="https://maps.google.com/maps/api/staticmap?center=<%=profile.lat%>,<%=profile.lng%>&zoom=<%=block.zoom%>&size=190x250&maptype=<%=block.map_type%>&markers=<%=profile.lat%>,<%=profile.lng%>&sensor=false"/>
</div>
</... | <% if profile.lat %>
<%= block_title block.title %>
<div class='the-localization-map'>
<img src="https://maps.google.com/maps/api/staticmap?center=<%=profile.lat%>,<%=profile.lng%>&zoom=<%=block.zoom%>&size=190x250&maptype=<%=block.map_type%>&markers=<%=profile.lat%>,<%=profile.lng%>&sensor=false"/>
</div>
<%... | Remove extra div close tag | Remove extra div close tag
| HTML+ERB | agpl-3.0 | EcoAlternative/noosfero-ecosol,evandrojr/noosferogov,arthurmde/noosfero,LuisBelo/tccnoosfero,evandrojr/noosferogov,evandrojr/noosferogov,hebertdougl/noosfero,coletivoEITA/noosfero-ecosol,evandrojr/noosfero,coletivoEITA/noosfero,alexandreab/noosfero,uniteddiversity/noosfero,marcosronaldo/noosfero,hackathon-oscs/rede-osc... |
32b083bc9e732d5e7a8d3ae5e5a0456fcff36ddf | app/views/countries/index.html.erb | app/views/countries/index.html.erb | <% page_title "UK and the world" %>
<% page_class "countries-index" %>
<div class="block-1">
<div class="inner-block">
<header class="page_header countries">
<h1 class="page_title">UK and the world</h1>
<p class="explanation">The UK government’s priorities and interests overseas</p>
... | <% page_title "UK and the world" %>
<% page_class "countries-index" %>
<div class="block-1">
<div class="inner-block">
<header class="page_header countries">
<h1 class="page_title">UK and the world</h1>
<p class="explanation">The UK government’s priorities and interests overseas</p>
... | Use Rails helper rather than hardcoded image tag. | Use Rails helper rather than hardcoded image tag.
| HTML+ERB | mit | askl56/whitehall,askl56/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,ggoral/whitehall,ggoral/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,alphagov/whitehall,ggoral/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,... |
9e5918875b5284f61cf7c2edc010e2ba602ea478 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <header class="navbar navbar-fixed-top navbar">
<div class="navbar-inner">
<div class="container">
<%= link_to "Metadata Census", root_path, class: "brand" %>
<nav>
<ul class="nav pull-right">
<li><%= link_to "Metadata", metadata_path %></li>
<li><%= link_to "Repositories",... | <nav class="navbar navbar-fixed-top" role="navigation">
<div class="navbar-header">
<!-- Toggle get grouped for better mobile display -->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex3-collapse">
<span class="sr-only">Toggle navigation</span>
<span cla... | Update navigation bar to Bootstrap 3 changes | Update navigation bar to Bootstrap 3 changes
With Bootstrap 3 a lot has changed. Due to that change I have updated
the navigation bar.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
| HTML+ERB | mit | platzhirsch/metadata-census |
7ad7121101e194436844df3fe029ad2ae4e5e101 | app/views/root/_four_hundred_error.html.erb | app/views/root/_four_hundred_error.html.erb | <% content_for :title do %><%= local_assigns[:title] %> - GOV.UK<% end %>
<% content_for :html_classes do %>error error-40X<% end %>
<% content_for :body_classes do %>mainstream error<% end %>
<% content_for :content do %>
<section id="content" role="main" class="group">
<header class="page-header group">
<... | <% content_for :title do %><%= local_assigns[:title] %> - GOV.UK<% end %>
<% content_for :html_classes do %>error error-40X<% end %>
<% content_for :body_classes do %>mainstream error<% end %>
<% content_for :content do %>
<section id="content" role="main" class="group">
<header class="page-header group">
<... | Replace input for button on 404 | Replace input for button on 404
| HTML+ERB | mit | alphagov/static,robinwhittleton/static,robinwhittleton/static,tadast/static,kalleth/static,kalleth/static,alphagov/static,robinwhittleton/static,tadast/static,kalleth/static,kalleth/static,tadast/static,alphagov/static,tadast/static,robinwhittleton/static |
ed97899d77dbeea4e306be06b8231c1a1e0f535f | app/views/presets/_preset.html.erb | app/views/presets/_preset.html.erb | <%= content_tag_for :div, preset, class: 'span6' do %>
<h3><%= preset.name %></h3>
<pre><%= preset.parameters %></pre>
<%= link_to 'Edit', edit_preset_path(preset), class: 'btn btn-mini' %>
<%= link_to 'Delete', api_preset_path(preset), class: 'btn btn-mini', method: :delete, confirm: t('confirm.delete', :mode... | <%= content_tag_for :div, preset, class: 'span12' do %>
<h3><%= preset.name %></h3>
<pre><%= preset.parameters %></pre>
<%= link_to 'Edit', edit_preset_path(preset), class: 'btn btn-mini' %>
<%= link_to 'Delete', api_preset_path(preset), class: 'btn btn-mini', method: :delete, confirm: t('confirm.delete', :mod... | Make presets full width (avoid layout issues) | Make presets full width (avoid layout issues)
| HTML+ERB | mit | madebyhiro/codem-schedule,mirion/codem-schedule,markzpot/codem-schedule,mirion/codem-schedule,markzpot/codem-schedule,mirion/codem-schedule,madebyhiro/codem-schedule,markzpot/codem-schedule,madebyhiro/codem-schedule |
9fdb2fab8116b6455b980915e115403879c5ba8d | app/views/providers/index.html.erb | app/views/providers/index.html.erb | <%= page_header('Providers') %>
<table class="ui very basic compact table">
<thead>
<tr>
<th>Name</th>
<th>Identifier</th>
<th>Actions</th>
</tr>
</thead>
<%- @providers.each do |provider| -%>
<tbody>
<tr>
<td><%= provider.name %></td>
<td><%= provider.identifi... | <%= page_header('Providers') %>
<table class="ui very basic compact table">
<thead>
<tr>
<th>Name</th>
<th>Identifier</th>
<th>Actions</th>
</tr>
</thead>
<%- @providers.sort_by(&:name).each do |provider| -%>
<tbody>
<tr>
<td><%= provider.name %></td>
<td><%= p... | Sort providers by name in the index | Sort providers by name in the index
| HTML+ERB | apache-2.0 | ausaccessfed/identity-enhancement-service,ausaccessfed/identity-enhancement-service,ausaccessfed/identity-enhancement-service |
6ca81fefbe3e175bd9d672faf7b2393afb764105 | app/views/users/show/_repositories.html.erb | app/views/users/show/_repositories.html.erb | <%= pull_box(t("views.site.dashboard.repositories")) do %>
<% if repositories.blank? %>
<% if is_current_user?(user) %>
You currently do not have any repository clones. You can clone a repository you wish to contribute to by going to a repository overview page and clicking the "Clone repository" button in t... | <%= pull_box(t("views.site.dashboard.repositories"), :class => 'repositories-box') do %>
<% if repositories.blank? %>
<p class="hint muted">
<% if is_current_user?(user) %>
You currently do not have any repository clones. You can clone a repository you wish to contribute to by going to a repository ... | Add special class for repositories box | Add special class for repositories box
| HTML+ERB | agpl-3.0 | SamuelMoraesF/Gitorious,spencerwp/mainline,tigefa4u/gitorious-mainline,gitorious/mainline,rae/gitorious-mainline,gitorious/mainline,SamuelMoraesF/Gitorious,tigefa4u/gitorious-mainline,SamuelMoraesF/Gitorious,elcom/gitorious,Gitorious-backup/mainline,tigefa4u/gitorious-mainline,elcom/gitorious,rae/gitorious-mainline,elc... |
53eb733142f710a1c7f9f464ae6f2c566971c3d5 | app/views/items/show.html.erb | app/views/items/show.html.erb | <h2><%= @item.name %></h2>
<ul>
<!-- <li>Image: <%= @item.image %></li> -->
<li>Description: <%= @item.description %></li>
<li>Quantity: <%= @item.quantity %></li>
<li>Price: <%= @item.price %></li>
</ul> | <h2><%= @item.name %></h2>
<% if !@item.image.empty? %>
<img src="<%= @item.image %>">
<% else %>
IMAGE NOT AVAILABLE
<%end%>
<ul>
<li>Description: <%= @item.description %></li>
<li>Quantity: <%= @item.quantity %></li>
<li>Price: <%= @item.price %></li>
</ul> | Make image visible if provided, otherwise display message explaining lack of image | Make image visible if provided, otherwise display message explaining lack of image
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
b9897060092575a43baedb12ddc5f0d8a684b152 | app/views/people/new.html.erb | app/views/people/new.html.erb | <% content_for :sidebar do %><% end %>
<h2><%= t('people.new_person') %></h2>
<%= error_messages_for(@person) %>
<%= render partial: 'form' %>
| <% content_for :sidebar do %><!-- placeholder --><% end %>
<h2><%= t('people.new_person') %></h2>
<%= error_messages_for(@person) %>
<%= render partial: 'form' %>
| Put something in the sidebar to make it show. | Put something in the sidebar to make it show.
| HTML+ERB | agpl-3.0 | nerdnorth/remote-workers-app,pgmcgee/onebody,cessien/onebody,brunoocasali/onebody,hooray4me/onebody,AVee/onebody,davidleach/onebody,tochman/onebody,calsaviour/onebody,tmecklem/onebody,ferdinandrosario/onebody,brunoocasali/onebody,nerdnorth/remote-workers-app,kevinjqiu/onebody,Capriatto/onebody,dorman/onebody,seethemhig... |
1a5d04a13bf333a05e7a6a3dc5ed4cb577d16bbc | app/views/admin/documents/_editorial_remarks.html.erb | app/views/admin/documents/_editorial_remarks.html.erb | <% if document.editorial_remarks.any? %>
<section id="editorial_remarks">
<h1>Editorial remarks</h1>
<ul>
<% document.editorial_remarks.each do |editorial_remark| %>
<li class="editorial_remark">
<span class="author"><%= editorial_remark.author.name %></span>
wrote
... | <% if document.editorial_remarks.any? %>
<section id="editorial_remarks" class="container">
<h1>Editorial remarks</h1>
<ul>
<% document.editorial_remarks.each do |editorial_remark| %>
<li class="editorial_remark">
<span class="author"><%= editorial_remark.author.name %></span>
... | Add 'container' styling to editorial remarks. | Add 'container' styling to editorial remarks.
| HTML+ERB | mit | alphagov/whitehall,ggoral/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,askl56/whitehall,ggoral/whitehall,alphagov/whitehall,askl56/whitehall,hotvulcan/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,robinwhittleton/whitehall,askl56/whitehall,hotvulcan/whitehall,hotvulcan... |
bc4f0ccb0843971f2985754e02abcff6c15ae378 | app/views/shared/steps/_broken-links-summary.html.erb | app/views/shared/steps/_broken-links-summary.html.erb | <span class="glyphicon glyphicon-warning-sign" aria-hidden="true"></span>
<strong><%= step.broken_links.count %> broken link<%= "(s)" if step.broken_links.count > 1 %> found</strong>
| Create broken links partial This is so that it can be used in other areas without duplicating the code | Create broken links partial
This is so that it can be used in other areas without duplicating the code
| HTML+ERB | mit | alphagov/collections-publisher,alphagov/collections-publisher,alphagov/collections-publisher | |
8c95c76b66448bfefe8060e3ab1fba01cb823464 | templates/vhost-default.conf.erb | templates/vhost-default.conf.erb | # ************************************
# Default template in module puppetlabs-apache
# Managed by Puppet
# ************************************
NameVirtualHost <%= vhost_name %>:<%= port %>
<VirtualHost <%= vhost_name %>:<%= port %>>
ServerName <%= srvname %>
<% if serveradmin %>
ServerAdmin <%= serveradmin %>
<%... | # ************************************
# Default template in module puppetlabs-apache
# Managed by Puppet
# ************************************
NameVirtualHost <%= vhost_name %>:<%= port %>
<VirtualHost <%= vhost_name %>:<%= port %>>
ServerName <%= srvname %>
<% if serveradmin %>
ServerAdmin <%= serveradmin %>
<%... | Change line ending for erb expressions | Change line ending for erb expressions
| HTML+ERB | apache-2.0 | yakatz/puppetlabs-apache,eputnam/puppetlabs-apache,traylenator/puppetlabs-apache,samuelb/puppetlabs-apache,yakatz/puppetlabs-apache,eputnam/puppetlabs-apache,FlatKey/puppetlabs-apache,svanhart/puppetlabs-apache,gerhardsam/puppetlabs-apache,dzmitryv/puppetlabs-apache,guegue/puppetlabs-apache,guegue/puppetlabs-apache,buz... |
d683c640132dd0701017a10a9abf95840fbcd024 | deploy-apps/domains.html.md.erb | deploy-apps/domains.html.md.erb | ---
title: Domains and Shared Domains
---
_This page assumes you are using cf CLI v6._
This page has information about domains and shared domains.
For more information, see [Creating Domains and Routes](./domains-routes.html).
A domain is an IP resource represented by a domain name like "<%= vars.app_domain %>".
A do... | Add Domains and Shared Domains into devguide | Add Domains and Shared Domains into devguide
| HTML+ERB | apache-2.0 | krujos/docs-dev-guide,bridgetkromhout/docs-dev-guide,cloudfoundry/docs-dev-guide,shalako/docs-dev-guide,cwest/docs-dev-guide,logit-io/docs-dev-guide,summerzhao/docs-dev-guide | |
ea6482019e8e85b5d88049d1c700b769d18d8d73 | templates/default/systemd/nginx.erb | templates/default/systemd/nginx.erb | # Dynamically generated by Chef - local modifications will be overwritten
[Unit]
Description=The nginx HTTP and reverse proxy server for <%= @nginx_instance_name %>
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/run/<%= @nginx_instance_name %>.pid
ExecStartPre=/usr/sbin/nginx ... | # Dynamically generated by Chef - local modifications will be overwritten
[Unit]
Description=The nginx HTTP and reverse proxy server for <%= @nginx_instance_name %>
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/run/<%= @nginx_instance_name %>.pid
ExecStartPre=/usr/sbin/nginx ... | Add configuration parameter to systemd test command | Add configuration parameter to systemd test command
| HTML+ERB | apache-2.0 | ffuenf/nginx,ffuenf/nginx,ffuenf/nginx |
ecbb652b59d7dd73e6591e563f292fd9d90bce9d | app/views/answers/_answer.html.erb | app/views/answers/_answer.html.erb | <div class="answer">
<div class="row">
<%= render "shared/voteable_controls", :voteable => answer %>
<div class="content span11">
<%= answer.content.html_safe %>
</div>
<div class="author span11 pull-right">
<div class="row">
<div class="span9">
Submitted by <%= link_to answer.user.username, 'q... | <div class="answer">
<div class="row">
<%= render "shared/voteable_controls", :voteable => answer %>
<div class="content span10">
<%= answer.content_html %>
</div>
<div class="author span10 pull-right">
<div class="row">
<div class="span9">
Submitted by <%= link_to answer.user.username, 'questi... | Fix grid now that answer is indented under question | Fix grid now that answer is indented under question
| HTML+ERB | mit | joshmcarthur/inquest,joshmcarthur/inquest |
0d29f9afe7dc68be384e8413a7bca2f445869b33 | app/views/esi_funds/_form.html.erb | app/views/esi_funds/_form.html.erb | <div class="col-md-8">
<%= form_for document do |f| %>
<%= render partial: "shared/form_errors", locals: { object: document } %>
<%= f.text_field :title %>
<%= f.text_area :summary, class: 'short-textarea' %>
<%= f.text_area :body %>
<div class="preview_button"></div>
<div class="preview_container" styl... | Add form for ESI funds | Add form for ESI funds
| HTML+ERB | mit | alphagov/specialist-publisher-rebuild,ministryofjustice/specialist-publisher,alphagov/manuals-publisher,alphagov/specialist-publisher-rebuild,ministryofjustice/specialist-publisher,alphagov/specialist-publisher,alphagov/specialist-publisher-rebuild,alphagov/specialist-publisher,alphagov/manuals-publisher,alphagov/speci... | |
7faeb2719e07b5d01b25fe9c0df2dfe15fd45140 | app/views/invitations/new.html.erb | app/views/invitations/new.html.erb | <%=
breadcrumbs(
{ 'Providers' => providers_path },
{ @provider.name => provider_path(@provider) },
{ 'Provided Attributes' => url_for([@provider, :provided_attributes]) },
'Invite New User'
)
%>
<%= page_header(@provider.name, 'Invite New User') %>
<%= form_for([@provider, @invitation]) do |f| -%... | <%=
breadcrumbs(
{ 'Providers' => providers_path },
{ @provider.name => provider_path(@provider) },
{ 'Provided Attributes' => url_for([@provider, :provided_attributes]) },
'Invite New User'
)
%>
<%= page_header(@provider.name, 'Invite New User') %>
<%= form_for([@provider, @invitation]) do |f| -%... | Validate invitation creation in UI | Validate invitation creation in UI
Ensure administrators are prompted if invalid data is entered to
invitation form instead of previous exception.
Closes #28.
| HTML+ERB | apache-2.0 | ausaccessfed/identity-enhancement-service,ausaccessfed/identity-enhancement-service,ausaccessfed/identity-enhancement-service |
0ba7d1a8f600d439750ebb0c70aa2231888ccf74 | app/views/pages/_calendar.html.erb | app/views/pages/_calendar.html.erb | <% if events %>
<div class="page_calendar">
<h4><%= @page.calendar_title %></h4>
<ul>
<% events.each do |event| %>
<li>
<div class="<%= @page.calendar_details ? '' : 'collapsible'%> accordion-noimage">
<h5>
<span class="event-date"><%= @page.format_event_date... | <% if events %>
<div class="page_calendar">
<h4><%= @page.calendar_title %></h4>
<ul>
<% events.each do |event| %>
<li>
<div class="<%= @page.calendar_details ? '' : 'collapsible'%> accordion-noimage">
<h5>
<span class="event-date"><%= @page.format_event_date... | Handle events with no description | Handle events with no description
| HTML+ERB | mit | aelkiss/cynnabar-rails,aelkiss/cynnabar-rails,aelkiss/cynnabar-rails |
764b21e02d1f37ed451b3cafb96371cfb1e97b4b | app/views/questions/index.html.erb | app/views/questions/index.html.erb | <body>
<div id='all_questions'>
<p id='ui_title'>All Questions</p>
<% @questions.each do |question| %>
<div class='ind_ques'>
<div class="ind_ques_contents">
<p ><%= question.title %></p>
<p><%= question.content %></p>
<p> <img class='ui_avatar_question' src='<%= question.creator.avatar... | <body>
<div id='all_questions'>
<p id='ui_title'>All Questions</p>
<% @questions.each do |question| %>
<div class='ind_ques'>
<div class="ind_ques_contents">
<li><%= link_to "#{question.title}", question_path(question.id) %></li>
<li><%= question.content %></li>
<li> <img class='ui_avat... | Add links for user and question | Add links for user and question
| HTML+ERB | mit | kevalwell/StackOverflow,kevalwell/StackOverflow,kevalwell/StackOverflow |
0edd5d8c2c110bb1f2bd86921aec43a0830a4e3a | app/views/documents/_form.html.erb | app/views/documents/_form.html.erb | <%= form_for @document,
url: documents_path(
documentable_type: @document.documentable_type,
documentable_id: @document.documentable_id,
from: params[:from]
),
html: { multipart: true } do |f| %>
<%= render 'shared/errors', resource: @d... | <%= form_for @document,
url: documents_path(
documentable_type: @document.documentable_type,
documentable_id: @document.documentable_id,
from: params[:from]
),
html: { multipart: true } do |f| %>
<%= render 'shared/errors', resource: @d... | Add missing class to file input custom error to hide and show correctly. | Add missing class to file input custom error to hide and show correctly.
| HTML+ERB | agpl-3.0 | AjuntamentdeCastello/consul,AjuntamentdeCastello/consul,CDJ11/CDJ,AjuntamentdeCastello/consul,lalibertad/consul,AyuntamientoMadrid/participacion,lalibertad/consul,deivid-rodriguez/participacion,consul/consul,deivid-rodriguez/participacion,amiedes/consul,lalibertad/consul,AyuntamientoMadrid/consul,CDJ11/CDJ,Ayuntamiento... |
0337d6da3a0df0962be98ea3ff9e4a4dccd4c64d | app/views/enquiries/index.html.erb | app/views/enquiries/index.html.erb | <h1>Listing enquiries</h1>
<table>
<tr>
<th>Name</th>
<th>Organisation</th>
<th>Address</th>
<th>Country</th>
<th>Postcode</th>
<th>Telephone</th>
<th>Email</th>
<th>Fax</th>
<th>Enquiry</th>
<th>Call back</th>
<th>Hear about</th>
</tr>
<% @enquiries.each do |enquiry| %... | <h1>Listing enquiries</h1>
<table>
<tr>
<th>Name</th>
<th>Organisation</th>
<th>Postcode</th>
<th>Telephone</th>
<th>Email</th>
<th>Call back</th>
</tr>
<% @enquiries.each do |enquiry| %>
<tr>
<td><%=h enquiry.name %></td>
<td><%=h enquiry.organisation %></td>
<td><%=h enquir... | Remove excessive detail from enquiries list | Remove excessive detail from enquiries list
| HTML+ERB | mit | ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey,ianfleeton/zmey |
3cd617fea7baabbafa77291c511a3f50e9d9b731 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <header class="navbar navbar-fixed-top navbar">
<div class="navbar-inner">
<div class="container">
<%= link_to "Metadata Census", root_path, class: "brand" %>
<nav>
<ul class="nav pull-right">
<li><%= link_to "Metadata", metadata_path %></li>
<li><%= link_to "Repositories",... | <header class="navbar navbar-fixed-top navbar">
<div class="navbar-inner">
<div class="container">
<%= link_to "Metadata Census", root_path, class: "brand" %>
<nav>
<ul class="nav pull-right">
<li><%= link_to "Metadata", metadata_path %></li>
<li><%= link_to "Repositories",... | Add link for the repository report to the header | Add link for the repository report to the header
As the report view will replace the metrics view I have added a link for
the path of it to the header. It will be the start to investigate
quality issues.
Signed-off-by: Konrad Reiche <4ff0213f56e2082fcd8c882d04c546881c579ce4@gmail.com>
| HTML+ERB | mit | platzhirsch/metadata-census |
6b62776fea4c1398fac06d0ba9d67e46a9ec3587 | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <div class="masthead">
<div class="pull-right auth_links">
<% if user_signed_in? %>
<span class="muted">
Hi <%= link_to (current_user.username || current_user.email), edit_user_registration_path, :class => "muted" %>!
|
</span>
<% end %>
<%= link_to "About RevTil... | <div class="masthead">
<div class="pull-right auth_links">
<% if user_signed_in? %>
<span class="muted">
Hi <%= link_to (current_user.username || current_user.email), edit_user_registration_path, :class => "muted" %>!
|
</span>
<% end %>
<%= link_to "About RevTil... | Make autism a label in the header | Make autism a label in the header
| HTML+ERB | mit | cyrusstoller/RevTilt,cyrusstoller/RevTilt,cyrusstoller/RevTilt,cyrusstoller/RevTilt |
397cfab1c09365a683a6fbc624399a021fa6a111 | app/views/layouts/sign_in.html.erb | app/views/layouts/sign_in.html.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fluentd-UI</title>
<%= stylesheet_link_tag 'application', media: 'all'%>
<%= javascript_pack_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body class="bg-light">
<di... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= fluentd_ui_title %></title>
<%= stylesheet_link_tag 'application', media: 'all'%>
<%= javascript_pack_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body class="bg-... | Use fluentd_ui_title helper method to set title | Use fluentd_ui_title helper method to set title
Signed-off-by: Kenji Okimoto <7a4b90a0a1e6fc688adec907898b6822ce215e6c@clear-code.com>
| HTML+ERB | apache-2.0 | fluent/fluentd-ui,fluent/fluentd-ui,fluent/fluentd-ui |
1bca332f1bdbe39823cb7555ef98c59cafdf8cc8 | app/views/shared/_navmenu.html.erb | app/views/shared/_navmenu.html.erb | <nav id="main-nav-menu" class="fade">
<div class="inner-box">
<%= link_to 'Room', rooms_path %>
<%= link_to 'Notes', notes_path %>
<%= link_to 'Pictures', pictures_path %>
<%= link_to 'Lists', lists_path %>
<%= link_to 'Polls', lists_path %>
<%= link_to 'Bills', lists_path %>
<%= link_to '... | <nav id="main-nav-menu" class="fade">
<div class="inner-box">
<%= link_to 'Room', rooms_path %>
<%= link_to 'Notes', notes_path %>
<%= link_to 'Pictures', pictures_path %>
<%= link_to 'Lists', lists_path %>
<%= link_to 'Polls', poll_lists_path %>
<%= link_to 'Bills', lists_path %>
<%= link... | Add poll_list link to navmenu | Add poll_list link to navmenu
| HTML+ERB | mit | dhahn/r13-team-45,dhahn/r13-team-45 |
bc25ba7658ef7fd08446be87e39b754cb79020b5 | guides/source/partials/_header.erb | guides/source/partials/_header.erb | <header class="site-header site-header--fixed">
<div class="navbar container">
<div class="logo-wrapper">
<a class="site-logo" href="/"><%= inline_svg("logo.svg", class: "isvg") %></a>
</div>
<div class="navbar-right">
<a class="site-menu-toggler" href="#">
<%= inline_svg("menu.svg", ... | <header class="site-header site-header--fixed">
<div class="navbar container">
<div class="logo-wrapper">
<a class="site-logo" href="/"><%= inline_svg("logo.svg", class: "isvg") %></a>
</div>
<div class="navbar-right">
<a class="site-menu-toggler" href="#">
<%= inline_svg("menu.svg", ... | Fix Guides search bar height | Fix Guides search bar height
In latest Twitter Bootstrap versions form-control height is
no more auto and this change is needed to make our search
bar work properly, see: twbs/bootstrap#26820
| HTML+ERB | bsd-3-clause | pervino/solidus,pervino/solidus,pervino/solidus,pervino/solidus |
4e32c829d648904702f76676b5928891dec3e142 | app/views/user_mailer/welcome_email.html.erb | app/views/user_mailer/welcome_email.html.erb | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<!-- <div class="welcome-email"> -->
<div style="background-color:#f0f0f5; padding:3%;">
<div style="background-color:white; border:solid 2px #4d0019; margin:5%; padding:5%;">
<h3 s... | <!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
</head>
<body>
<!-- <div class="welcome-email"> -->
<div style="background-color:#f0f0f5; padding:4%;">
<div style="background-color:white; border:solid 2px #4d0019; margin:5%; padding:5%;">
<h3 s... | Add terms/guidlines to email and Mission statement | Add terms/guidlines to email and Mission statement
| HTML+ERB | mit | kylefantastic/codellaborate,kylefantastic/code-laborate,kylefantastic/codellaborate,kylefantastic/code-laborate,kylefantastic/codellaborate,kylefantastic/code-laborate |
80590d35ee4af8b55a08ea49591e9c6164cb463a | lib/generator/test_template.erb | lib/generator/test_template.erb | require 'minitest/autorun'
require_relative '<%= exercise_name %>'
# Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %>
class <%= exercise_test_classname %> < Minitest::Test
<%=
test_cases.map.with_index do |test_case, index|
test_case.to_s(index.zero?)
end.join("\n")
%>end
| require 'minitest/autorun'
require_relative '<%= exercise_name %>'
# Common test data version: <%= canonical_data_version %> <%= abbreviated_commit_hash %>
class <%= exercise_test_classname %> < Minitest::Test
<%=
test_cases.map.with_index do |test_case, index|
test_case.to_s(index.zero?)
end.compact.join("\n"... | Handle test cases with to_s evaluating to nil | Handle test cases with to_s evaluating to nil
This change makes it possible for ExerciseCases to override the to_s
method, returning nil for tests we don't want for the Ruby track.
Without this change these excluded tests would still not appear on the
generated test file, but an extra new-line would be present where ... | HTML+ERB | mit | exercism/xruby,exercism/xruby,NeimadTL/ruby,NeimadTL/ruby,NeimadTL/ruby |
2fb9cf07fb90880b124ff4f0593ee01578eebaf0 | app/flows/inherits_someone_dies_without_will_flow/outcomes/outcome_23.erb | app/flows/inherits_someone_dies_without_will_flow/outcomes/outcome_23.erb | <% text_for :title do %>
The estate is shared equally between the half-brothers or half-sisters.
<% end %>
<% govspeak_for :body do %>
If a half-brother or half-sister has already died, their children (nieces and nephews of the deceased) inherit in their place.
<% end %>
<% govspeak_for :next_steps do %>
<%= re... | <% text_for :title do %>
The estate is shared equally between the half-brothers or half-sisters.
<% end %>
<% govspeak_for :body do %>
If a half-brother or half-sister has died before the deceased died, their children (nieces and nephews of the deceased) inherit in their place.
<% end %>
<% govspeak_for :next_ste... | Update to inheritance sentence - outcome 23 | Update to inheritance sentence - outcome 23 | HTML+ERB | mit | alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers |
655bfa18aef235b8dc514cc113df80c72be11952 | app/views/kaminari/_paginator.html.erb | app/views/kaminari/_paginator.html.erb | <%# The container tag
- available local variables
current_page: a page object for the currently displayed page
num_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
paginator: the paginator that renders the pagination tags inside
-%>
... | <%# The container tag
- available local variables
current_page: a page object for the currently displayed page
num_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
paginator: the paginator that renders the pagination tags inside
-%>
... | Fix for rename of num_pages to total_pages | Fix for rename of num_pages to total_pages
| HTML+ERB | mit | mcasimir/kaminari-bootstrap |
f1c7399b9b19e26a28c6c966cfb9c1605f6e197b | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Myblog</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<%= stylesheet_link_tag 'application', media: 'a... | <!DOCTYPE html>
<html>
<head>
<title>Myblog</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" cross... | Add viewport tag to adjust for device width | Add viewport tag to adjust for device width
| HTML+ERB | mit | pratikmshah/myblog,pratikmshah/myblog,pratikmshah/myblog |
6755fd406a90e6efbc1c57d446da9c9b42521c4a | app/views/usages/_usage_table.html.erb | app/views/usages/_usage_table.html.erb | <div class="song_tag_filter">
<% @song_tags.flatten.uniq.each do |t| %>
<span class="song_tag" data-tag-name="<%= t %>"><%= t %></span>
<% end %>
</div>
<table class="table table-condensed table-striped tableindex">
<thead>
<th></th>
<th>Song</th>
<th></th>
<th>#</th>
<th>Last Used</th>
</thead>
<tbody>
... | <div class="song_tag_filter">
<% @song_tags.flatten.uniq.each do |t| %>
<span class="song_tag" data-tag-name="<%= t.squish.downcase.tr(" ","_") %>"><%= t %></span>
<% end %>
</div>
<table class="table table-condensed table-striped tableindex">
<thead>
<th></th>
<th>Song</th>
<th></th>
<th>#</th>
<th>Last Us... | Fix for tags with spaces in names | Fix for tags with spaces in names
| HTML+ERB | agpl-3.0 | jcuenod/songswesing,jcuenod/songswesing,jcuenod/songswesing |
0fc3118af9486535a25a29e05b50b7e6a6131cb8 | app/views/general/_locale_switcher.html.erb | app/views/general/_locale_switcher.html.erb | <% if @locales[:available].any? && !params.empty? %>
<div id="user_locale_switcher" class="locale-list">
<p class="locale-list-trigger <% @locales[:current] %>">
<strong class="current-locale"><%= locale_name(@locales[:current]) %></strong>
</p>
<ul class="available-languages">
<% @locales[:availab... | <% if @locales[:available].any? %>
<div id="user_locale_switcher" class="locale-list">
<p class="locale-list-trigger <% @locales[:current] %>">
<strong class="current-locale"><%= locale_name(@locales[:current]) %></strong>
</p>
<ul class="available-languages">
<% @locales[:available].each do |local... | Remove params check in locale switcher | Remove params check in locale switcher
Introduced in 8eed2061. Specs all pass so I think its a hangover from an
old way of routing.
| HTML+ERB | agpl-3.0 | nzherald/alaveteli,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli,andreicristianpetcu/alaveteli,Br3nda/alaveteli,nzherald/alaveteli,andreicristianpetcu/alaveteli_old,andreicristianpetcu/alaveteli_old,Br3nda/alaveteli,nzherald/alaveteli,nzherald/alaveteli,andreicristianpetcu/alaveteli,Br3nda/alaveteli,andre... |
64a4fc345f86e0f81662d351c054541978354c9e | app/views/participant_mailer/welcome_advanced.html.erb | app/views/participant_mailer/welcome_advanced.html.erb | <p>Hallo <%= @participant.first_name %>,</p>
<p>Herzlichen Glückwunsch zur Weiterleitung zum <%= @performance.competition.round_name_and_year %>
in der Kategorie <em><%= @performance.category.name %></em>!
</p>
<p>Bis zum <strong><%= l(@performance.competition.last_signup_date, format: :long) %></strong> kannst du ... | <p>Hallo <%= @participant.first_name %>,</p>
<p>Herzlichen Glückwunsch zur Weiterleitung zum <%= @performance.competition.round_name_and_year %>
in der Kategorie <em><%= @performance.category.name %></em>!
</p>
<p>Bis zum <strong><%= l(@performance.competition.last_signup_date, format: :long) %></strong> kannst du ... | Fix spelling inconsistency in welcome mail | Fix spelling inconsistency in welcome mail
| HTML+ERB | mit | richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails |
32575bc18fc0fddde387de7426041e16da4d85e6 | scripts/extension.swift.erb | scripts/extension.swift.erb | //
// <%= kls %>+Mixed.swift
// Pods
//
// Created by Draveness.
//
//
import Foundation
public extension <%= kls %> {
<% properties.each do |property| %><% cap = property.slice(0,1).capitalize + property.slice(1..-1) %>
public var mixed<%= cap %>: MixedColor? {
get { return getMixedColor(&Keys.<%=... | //
// <%= kls %>+Mixed.swift
// Pods
//
// Created by Draveness.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// DISC... | Add file header for license | Add file header for license
| HTML+ERB | mit | Draveness/NightNight,Draveness/NightNight,Draveness/NightNight |
08771740da013d03cbfa0942d33707c1b8be2610 | app/views/categories/show.html.erb | app/views/categories/show.html.erb | <% set_meta_tags(description: category.description) %>
<div id="content">
<section>
<h1><%= title category.title %></h1>
<p id="description"><%= category.description %></p>
<% category.contents.each do |subcategory| %>
<article>
<h2><%= link_to subcategory.title, subcategory.path %></h2>
... | <% set_meta_tags(description: category.description) %>
<h1><%= title category.title %></h1>
<p class="intro"><%= category.description %></p>
<div class="l-category-grid">
<% category.contents.each_with_index do |subcategory, i| %>
<section class="category-detail category-detail--<%= i+1 %>">
<h2 class="ca... | Apply presentation to category view | Apply presentation to category view | HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
f4423e7871be111e71d6b2874f72238bcd63848a | cookbooks/dev/templates/default/cgimap.environment.erb | cookbooks/dev/templates/default/cgimap.environment.erb | # DO NOT EDIT - This file is being maintained by Chef
CGIMAP_PORT="<%= @cgimap_port %>"
CGIMAP_DBPORT="<%= @database_port %>"
CGIMAP_DBNAME="<%= @database_name %>"
CGIMAP_USERNAME="apis"
CGIMAP_LOGFILE="<%= @log_directory %>/cgimap.log"
CGIMAP_MEMCACHE="127.0.0.1"
CGIMAP_RATELIMIT="204800"
CGIMAP_MAXDEBT="250"
| # DO NOT EDIT - This file is being maintained by Chef
CGIMAP_PORT="<%= @cgimap_port %>"
CGIMAP_DBPORT="<%= @database_port %>"
CGIMAP_DBNAME="<%= @database_name %>"
CGIMAP_USERNAME="apis"
CGIMAP_LOGFILE="<%= @log_directory %>/cgimap.log"
CGIMAP_MEMCACHE="127.0.0.1"
CGIMAP_RATELIMIT="204800"
CGIMAP_MAXDEBT="250"
CGIMAP_... | Configure API limits for dev instances | Configure API limits for dev instances
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,openstreetmap/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreet... |
31a93867b376bcd44a4460ca6eb8f3436030b70d | app/views/partials/_navBar.html.erb | app/views/partials/_navBar.html.erb | <div class="navBar">
<h1 class="title"><a href="/">Mathio Party</a></h1>
<div class="login">
<% if current_user %>
<%= link_to "Logout, #{current_user.username}", destroy_user_session_path, method: :delete %>
<% if !player2_logged_in? %>
<%= link_to 'Player 2 Login', players_new_path %>
<%... | <div class="navBar">
<h1 class="title"><a href="/">Mathio Party</a></h1>
<div class="login">
<% if current_user %>
<%= link_to "Logout, #{current_user.username}", destroy_user_session_path, method: :delete %>
<%= link_to 'Profile Page', user_path(current_user.id) %>
<% if !player2_logged_in? %>... | Add user profile page link on navbar | Add user profile page link on navbar
| HTML+ERB | mit | kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party,kaydenwilliams7/mathio-party |
35f79095c86f01838e1c55f23b46878eb372eb93 | app/views/articles/index.html.erb | app/views/articles/index.html.erb |
<h2>Featured Articles</h2>
<!-- 5 most recent -->
<% @articles.each do |article| %>
<div id="#{article.id}" class="featured-article-container">
<!-- TO DO: INSERT LINKED IMAGE THUMBNAIL FOR ARTICLE -->
<% if article.creator.name %>
<p class="featured-art-creator">By: <%= article.creator.name %></p>
<% end %... |
<h2>Featured Articles</h2>
<!-- 5 most recent -->
<% @articles.each do |article| %>
<div id="#{article.id}" class="featured-article-container">
<!-- TO DO: INSERT LINKED IMAGE THUMBNAIL FOR ARTICLE -->
<%if article.creator.name %>
<p class="featured-art-creator">By: <%= article.creator.name %></p>
<% end %>... | Fix name issue on home page | Fix name issue on home page
| HTML+ERB | mit | jonnorstrom/CerealKillers,jonnorstrom/CerealKillers,jonnorstrom/CerealKillers |
aa3d39e315650e30f4f2de4219550236e54da3f8 | app/views/contacts/_form.html.erb | app/views/contacts/_form.html.erb | <%= form.inputs do %>
<%= form.input :name %>
<%= form.input :postal_address %>
<%= form.inputs 'Phone numbers' do %>
<%= form.semantic_fields_for :phone_numbers, phone_numbers_for(form.object) do |phone_number| %>
<div class="phone-group">
<%= phone_number.input :kind, :collection => PhoneNumber::KINDS %>... | <%= form.inputs do %>
<%= form.input :name %>
<%= form.input :postal_address %>
<%= form.inputs 'Phone numbers' do %>
<%= form.semantic_fields_for :phone_numbers, phone_numbers_for(form.object) do |phone_number| %>
<div class="phone-group">
<%= phone_number.input :kind, :collection => PhoneNumber::KINDS %>... | Fix cancel button for new contacts | Fix cancel button for new contacts
| HTML+ERB | mit | gds-attic/contact-o-tron,gds-attic/contact-o-tron,gds-attic/contact-o-tron |
75f3abe00978f0e150f81f3f33b534a9e1fe3421 | app/views/layouts/staffs.html.erb | app/views/layouts/staffs.html.erb | <!DOCTYPE html>
<html>
<head>
<title>actopus</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<header>
<div class="header-actopus">
<h1>actopus</h1>
</div>
</header>
<div class="container">
<di... | <!DOCTYPE html>
<html>
<head>
<title>actopus</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tags %>
</head>
<body>
<header>
<div class="header-actopus">
<h1>actopus</h1>
</div>
</header>
<div class="container">
<di... | Add a link to staffs managing page @sidebar | Add a link to staffs managing page @sidebar
| HTML+ERB | mit | izumin5210/actopus,izumin5210/actopus |
cbfc1776750f640f054d34b89279975faa526ff7 | app/views/shared/_footer.html.erb | app/views/shared/_footer.html.erb | <footer>
<p>
<%= link_to t("layouts.application.about_contact"), about_us_path %>
<%= link_to t("layouts.application.faq"), faq_path %>
<% if signed_in? -%>
<%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %>
<% else -%>
<%= link_to t("layouts.application.si... | <footer>
<p>
<%= link_to t("layouts.application.about_contact"), about_us_path %>
<%= link_to t("layouts.application.faq"), faq_path %>
<% if signed_in? -%>
<%= link_to t("layouts.application.sign-out"), sign_out_path, :method => :delete %>
<% else -%>
<%= link_to t("layouts.application.si... | Update footer social media links | Update footer social media links
| HTML+ERB | agpl-3.0 | awesomefoundation/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits,awesomefoundation/awesomebits |
1e10ab95ad3ad8acc1f8d51a1c6f1f7c2a0400ac | app/views/shared/_notice.html.erb | app/views/shared/_notice.html.erb | <% if current_user && current_user.optin == false %>
<div class='alert alert-danger'>
We have updated our <a href='/terms'>terms of service</a> and <a href='/privacy'>privacy policy</a>. If you do not accept these changes <b>your account will be removed</b> at some point in the future. <%= link_to 'Accept', optin... | <% if current_user && current_user.optin == false %>
<div class='alert alert-danger'>
We have updated our <a href='/terms'>terms of service</a> and <a href='/privacy'>privacy policy</a>. If you do not accept these changes <b>your account will be removed</b> at some point in the future. <%= link_to 'Accept', optin... | Update link in tidelift notice | Update link in tidelift notice
| HTML+ERB | agpl-3.0 | librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io,librariesio/libraries.io |
b77c8a6c31e5ee1c1c5534c5caa87bd191b6175d | config/templates/gitlab-core/bundle_exec_wrapper.erb | config/templates/gitlab-core/bundle_exec_wrapper.erb | #!/bin/bash
export PATH=<%= @install_dir %>/bin:<%= @install_dir %>/embedded/bin:$PATH
# default to RAILS_ENV=production
if [[ -z $RAILS_ENV ]]; then
export RAILS_ENV=production
fi
gitlab_user=$(ls -lLd <%= @install_dir %>/embedded/service/gitlab-core/log | awk '{ print $3 }')
cd <%= @install_dir %>/embedded/servi... | #!/bin/bash
export PATH=<%= install_dir %>/bin:<%= install_dir %>/embedded/bin:$PATH
# default to RAILS_ENV=production
if [[ -z $RAILS_ENV ]]; then
export RAILS_ENV=production
fi
gitlab_user=$(ls -lLd <%= install_dir %>/embedded/service/gitlab-core/log | awk '{ print $3 }')
cd <%= install_dir %>/embedded/service/g... | Use local instead of instance variables in ERB | Use local instead of instance variables in ERB
| HTML+ERB | apache-2.0 | felixbuenemann/omnibus-gitlab,copystudy/omnibus-gitlab,gitlabhq/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,gitlabhq/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,gitlabhq/omnibus-gitlab,copystudy/omnibus-gitlab,copystudy/omnibus-gitlab,gitlabhq/omnibus-gitlab,felixbuenem... |
13664072c149024dd6097b89e378725c14608dde | app/views/bar/_disciplines.html.erb | app/views/bar/_disciplines.html.erb | <%= tabs do |tabs|
(overall_bar.children + [ overall_bar ]).sort_by(&:name).each do |bar|
tabs.add(bar.discipline, bar_path(:discipline => Discipline[bar.discipline], :year => bar.year, :category => race.try(:category_friendly_param)))
end
end if overall_bar -%>
| <%= tabs do |tabs|
(overall_bar.children + [ overall_bar ]).sort_by(&:name).each do |bar|
tabs.add(bar.discipline, bar_path(bar.year, Discipline[bar.discipline], race.try(:category_friendly_param)))
end
end if overall_bar -%>
| Use simpler path method signature | Use simpler path method signature
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
37047d9804cc531e33f79485841aee5765b6c0c2 | jobs/routing-api/templates/bpm-pre-start.erb | jobs/routing-api/templates/bpm-pre-start.erb | #!/bin/bash -e
LOG_DIR=/var/vcap/sys/log/routing-api
source /var/vcap/packages/routing_utils/syslog_utils.sh
tee_output_to_sys_log "${LOG_DIR}" "routing_api"
set +e
host -r <%= p("dns_health_check_host") %>
if [[ "0" != "$?" ]]; then
echo "DNS is not up"
exit 1
fi
set -e
| #!/bin/bash -e
set +e
host -r <%= p("dns_health_check_host") %>
if [[ "0" != "$?" ]]; then
echo "DNS is not up"
exit 1
fi
set -e
| Revert "Add back tee to vcap.routing_api.stdout" - continuing with syslog name change | Revert "Add back tee to vcap.routing_api.stdout"
- continuing with syslog name change
This reverts commit d032049ccc293fdddb546551bb0ef57cf5fdf1c5.
| HTML+ERB | apache-2.0 | cloudfoundry-incubator/cf-routing-release,cloudfoundry-incubator/cf-routing-release,cloudfoundry-incubator/cf-routing-release |
b04f8ea5bf0e2d2d4c4cc16eaa0c0b04a73317fb | templates/bconsole.conf.erb | templates/bconsole.conf.erb | #
# Bacula User Agent (or Console) Configuration File
#
Director {
Name = <%= scope.lookupvar('bacula::params::director_name') %>-dir
DIRport = <%= @port %>
address = <%= scope.lookupvar('bacula::params::director_address') %>
Password = "<%= @password %>"
<%= scope.function_template(['bacula/_ssl... | #
# Bacula User Agent (or Console) Configuration File
#
Director {
Name = <%= @director %>
DIRport = <%= @port %>
address = <%= @director_address %>
Password = "<%= @password %>"
<%= scope.function_template(['bacula/_ssl.erb']) %>
<%= scope.function_template(['bacula/_sslkeypair.erb']) %>
}
| Update bconsole template to use the correct variables | Update bconsole template to use the correct variables
Aligns the bconsole template with reality.
| HTML+ERB | apache-2.0 | SoftcomInc/puppet-bacula,jhooyberghs/puppet-bacula,avisi/puppet-bacula,jhooyberghs/puppet-bacula,avisi/puppet-bacula,xaque208/puppet-bacula,SoftcomInc/puppet-bacula,jhooyberghs/puppet-bacula,SoftcomInc/puppet-bacula |
803cc67fd8370e4e09ea3cbfdd1deff54c8a1a71 | app/views/users/_calendar.html.erb | app/views/users/_calendar.html.erb | {:class => }
<ol class="unstyled clearfix calendar-inner">
<% 1.upto(calendar.start_padding) do %>
<li class="calendar-day calendar-padding"></li>
<% end %>
<% calendar.each_day do |date, gift| %>
<li class="<%= ("gifted" if gift.present?) %> calendar-day">
<% if gift.present? && gift.user == curr... | <ol class="unstyled clearfix calendar-inner">
<% 1.upto(calendar.start_padding) do %>
<li class="calendar-day calendar-padding"></li>
<% end %>
<% calendar.each_day do |date, gift| %>
<li class="<%= ("gifted" if gift.present?) %> calendar-day">
<% if gift.present? && gift.user == current_user %>
... | Remove rogue object from calendar partial | Remove rogue object from calendar partial
| HTML+ERB | mit | jasnow/24pullrequests,24pullrequests/24pullrequests,24pullrequests/24pullrequests,tegon/24pullrequests,jasnow/24pullrequests5,tegon/24pullrequests,24pullrequests/24pullrequests,jasnow/24pullrequests,tegon/24pullrequests,jasnow/24pullrequests,arumoy-shome/24pullrequests,24pullrequests/24pullrequests,jasnow/24pullrequest... |
3993a8ba0a481b42a38666b2139798dbb2d26795 | app/views/categories/create.js.erb | app/views/categories/create.js.erb | content_to_show = '<h4><%= @category.name %></h4>'
$('.current_categories').prepend(content_to_show).hide().fadeIn(2000); | content_to_show = '<h4><%= @category.name %></h4>'
$('.current_categories').prepend(content_to_show).hide().fadeIn(2000);
$('#category_name').val(''); | Clean input after creating category | Clean input after creating category
| HTML+ERB | apache-2.0 | 5xRuby/rubyconftw-cfp,5xRuby/rubyconftw-cfp,5xRuby/rubyconftw-cfp,5xRuby/rubyconftw-cfp |
321818e9a42e96bc6fd50de658d70124f1101d8f | app/views/cocktails/index.html.erb | app/views/cocktails/index.html.erb | <%= form_tag(cocktails_path, :method => 'get') do %>
<%= label_tag(:query, "Search for:") %>
<%= text_field_tag(:query) %>
<%= submit_tag("Search") %>
<% end %>
<ul>
<% @cocktails.each do |cocktail| %>
<li><%= cocktail.name %></li>
<% end %>
</ul> | Add ability to search for ingredient and corresponding view | Add ability to search for ingredient and corresponding view
| HTML+ERB | mit | Jasmine-Feldmann/kitchen_sink_cocktails,Jasmine-Feldmann/kitchen_sink_cocktails,Jasmine-Feldmann/kitchen_sink_cocktails | |
878e3ed1461dd4890e366034f4536765e141138d | app/views/layouts/_header.html.erb | app/views/layouts/_header.html.erb | <ul class="nav nav-tabs nav-justified">
<li role="presentation"><%= link_to "Triumph", url_for(:controller => 'realms', :action => 'index') %></li>
<li role="presentation"><a href="#">Dashboard</a></li>
<li role="presentation"><a href="#">Achievements</a></li>
<% if logged_in? %>
<li class="dropdown">
... | <ul class="nav nav-tabs nav-justified">
<li role="presentation"><%= link_to "Triumph", url_for(:controller => 'realms', :action => 'index') %></li>
<li role="presentation"><a href="#">Dashboard</a></li>
<li role="presentation"><a href="#">Achievements</a></li>
<% if logged_in? %>
<li class="dropdown">
... | Change Password link in nav header | Change Password link in nav header
| HTML+ERB | mit | armstrhb/Triumph,armstrhb/Triumph,armstrhb/Triumph |
ea62a872cbd39d67d0a9c6481cb15f9519c38e73 | app/views/questions/index.html.erb | app/views/questions/index.html.erb | <div class="question-list">
<hr class="top">
<div class="question-header">
<h1>Questions</h1>
<div class="order-by">
<span><%= link_to "recent", questions_recent_path %></span>
<span><%= link_to "trending", questions_trending_path %></span>
<span><%= link_to "most votes", questions_most_votes_path %></sp... | <div class="question-list">
<hr class="top">
<div class="question-header">
<h1>Questions</h1>
<div class="order-by">
<span><%= link_to "recent", questions_recent_path, class: "sort_link" %></span>
<span><%= link_to "trending", questions_trending_path, class: "sort_link" %></span>
<span><%= link_to "most ... | Fix class inclusion on sorting link_to tags | Fix class inclusion on sorting link_to tags
| HTML+ERB | mit | nyc-fireflies-2015/whopperflow,JamesAnthonyLow/whopperflow,JamesAnthonyLow/whopperflow,nyc-fireflies-2015/whopperflow,nyc-fireflies-2015/whopperflow,JamesAnthonyLow/whopperflow |
d7325536e837a8cce8a3af2acb53d03a9743410e | app/views/index.erb | app/views/index.erb | <div class="container">
<h2>Taxon Info</h2>
<ul class="nav nav-tabs">
<li class="active">
<a data-toggle="tab" href="#home">Home</a>
</li>
<% @iconic_taxon_names.each do |taxon| %>
<% if !taxon.empty? %>
<li>
<a data-toggle="tab" href="#<%= taxon.first.iconic_taxon_name %>... | <div class="container">
<h2>Taxon Info</h2>
<ul class="nav nav-tabs">
<li class="active">
<a data-toggle="tab" href="#home">Home</a>
</li>
<% @iconic_taxon_names.each do |taxon| %>
<% if !taxon.empty? %>
<li>
<a data-toggle="tab" href="#<%= taxon.first.iconic_taxon_name %>... | Comment out certain divs to make tabs functional | Comment out certain divs to make tabs functional
| HTML+ERB | mit | groovestation31785/inaturalist,groovestation31785/inaturalist |
fd2d68e17934492fdc1af4c0667cf77c8732bcb7 | source/index.html.erb | source/index.html.erb | <h1 class="cover-heading">Understanding sensor data.</h1>
<p class="lead">Sensorama captures samples from <b>all</b> sensors
of your iPhone at fixed time intervals and sends the captured
data to your e-mail address. We store the copy too, for research
and improving Sensorama. Ever... | <h1 class="cover-heading">Understanding sensor data.</h1>
<p class="lead">Sensorama captures samples from <b>all</b> sensors
of your iPhone at fixed time intervals and sends the captured
data to your e-mail address. We store the copy too, for research
and improving Sensorama. Ever... | Bring Github and Twitter buttons. | Bring Github and Twitter buttons.
| HTML+ERB | bsd-2-clause | wkoszek/sensorama-website,wkoszek/sensorama-website,wkoszek/sensorama-website |
f0aa2a0320fac5e20ac6769023afdbf620d7497d | app/views/albums/index.html.erb | app/views/albums/index.html.erb | <div class="my-container">
<section id="blog" class="section blog">
<div class="container">
<% if current_user == @user %>
<%= link_to new_album_path, class: "btn btn-primary" do %>
<i class="fa fa-plus"></i> New album
<% end %>
<% end %>
<h2 class="center">Albums</h2>
... | <div class="my-container">
<section id="blog" class="section blog">
<div class="container">
<% if current_user == @user %>
<%= link_to new_album_path, class: "btn btn-primary" do %>
<i class="fa fa-plus"></i> New album
<% end %>
<% end %>
<h2 class="center">Albums</h2>
... | Create new album with upload image | Create new album with upload image
| HTML+ERB | mit | tmdt-1718/lab01-1412320-1412321,tmdt-1718/lab01-1412320-1412321,tmdt-1718/lab01-1412320-1412321 |
02165a13b797c4815a0f134554b6cb345626bda2 | app/views/layouts/home.html.erb | app/views/layouts/home.html.erb | <!DOCTYPE html>
<html>
<%= render partial: 'shared/head' %>
<body>
<div class="home">
<img src="/assets/photos/flats-banner.jpg" alt="open addresses">
<%= render partial: 'shared/navigation' %>
<%= render partial: 'shared/alpha' %>
<div class="container">
<%= content_for?(:c... | <!DOCTYPE html>
<html>
<%= render partial: 'shared/head' %>
<body>
<div class="home">
<%= render partial: 'shared/alpha' %>
<img src="/assets/photos/flats-banner.jpg" alt="open addresses">
<%= render partial: 'shared/navigation' %>
<div class="container">
<%= content_for?(:content) ? yield... | Move alpha message on homepage | Move alpha message on homepage
| HTML+ERB | mit | OpenAddressesUK/theodolite,OpenAddressesUK/theodolite,OpenAddressesUK/theodolite |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.