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 |
|---|---|---|---|---|---|---|---|---|---|
83f678297aad9850140047099e6121c4d3d6e1ce | app/views/lyrics/_album.html.erb | app/views/lyrics/_album.html.erb | <article>
<h3>
<% if admin? %>
<%= link_to album.name, [:edit, album] %>
<% elsif album.bandcamp_url %>
<%= link_to album.name, album.bandcamp_url %>
<% else %>
<%= album.name %>
<% end %>
</h3>
<% album.songs_with_lyrics.each do |song| %>
<section class="<%= cycle('left', 'r... | <article>
<h3>
<% if admin? && album.persisted? %>
<%= link_to album.name, edit_album_path(album) %>
<% elsif album.bandcamp_url %>
<%= link_to album.name, album.bandcamp_url %>
<% else %>
<%= album.name %>
<% end %>
</h3>
<% album.songs_with_lyrics.each do |song| %>
<section... | Fix error with everything else link | Fix error with everything else link
| HTML+ERB | mit | qrush/skyway,qrush/skyway,qrush/skyway,qrush/skyway |
f8a0029d6e8be4a97dbd5bd4901fde4aa80abcfa | app/views/welcome/index.html.erb | app/views/welcome/index.html.erb | Welcome ! | <h1>Welcome!</h1>
<div class="panel">
<h3>We’re stoked you want to try Foundation! </h3>
<p>
Translate Community is a web platform designed to help developers to translate each others' applications.
</p>
<p>
TODO : description ++
</p>
<p>
Tired to see approximative translations ?
</p>
<p>
So join... | Add content to welcome page | Add content to welcome page
| HTML+ERB | mit | thedarkmammouth/translate_community,thedarkmammouth/translate_community,awph/translate_community,awph/translate_community |
6ab1e08011689bda0c311798af6c6e3e08737ca6 | deployment/puppet/modules/cosmos/templates/services/infinity_driver.conf.erb | deployment/puppet/modules/cosmos/templates/services/infinity_driver.conf.erb | #
# Telefónica Digital - Product Development and Innovation
#
# THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
#
# Copyright (c) Telefónica Inves... | #
# Telefónica Digital - Product Development and Innovation
#
# THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
#
# Copyright (c) Telefónica Inves... | Add blocked ports list to infinity driver | Add blocked ports list to infinity driver
| HTML+ERB | apache-2.0 | telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform |
5d717bfc00ffdc435b9be84d9a34d864ea569671 | lib/views/help/_sidebar.cs.html.erb | lib/views/help/_sidebar.cs.html.erb | <div id="right_column_flip">
<h2><%= _("Help pages") %></h2>
<ul class="no_bullets">
<li><%= link_to_unless_current "Úvod", "/help/about" %></li>
<li><%= link_to_unless_current "Vznesení dotazu", "/help/requesting" %></li>
<li><%= link_to_unless_current "Vaše soukromí", "/help/privacy" %... | <div id="right_column_flip">
<h2><%= _("Help pages") %></h2>
<ul class="no_bullets">
<li><%= link_to_unless_current "Úvod", "/help/about" %></li>
<li><%= link_to_unless_current "Vznesení dotazu", "/help/requesting" %></li>
<li><%= link_to_unless_current "Vaše soukromí", "/help/privacy" %... | Add link to advanced search. | Add link to advanced search.
| HTML+ERB | mit | mysociety/ipvtheme,mysociety/ipvtheme |
dd052d6fa026d40669668fd0d1e188b54e0ab22c | app/views/projects/edit.erb | app/views/projects/edit.erb | <h1>Create Your Project</h1>
<div class="project-form">
<%= form_for @project do |f| %>
<div class="form-field">
<%= f.label :title %>
<%= f.text_field :title %>
</div>
<div class="form-field">
<%= f.label :description %>
<%= f.text_area :description, rows: 10, cols: 80 %>
</div>
<div class=... | <h1>Edit Project</h1>
<div class="project_form">
<%= form_for @project do |f| %>
<div class="form-field">
<%= f.label :title %>
<%= f.text_field :title %>
</div>
<div class="form-field">
<%= f.label :description %>
<%= f.text_area :description, rows: 10, cols: 80 %>
</div>
<div class="form-f... | Change class name of project form to be more generic | Change class name of project form to be more generic
| HTML+ERB | mit | nyc-bumblebees-2015/the-hive,Jguzik83/the-hive,ChristineSchatz/the-hive,AlinaJahnes/the-hive,nyc-bumblebees-2015/the-hive,AlinaJahnes/the-hive,nyc-bumblebees-2015/the-hive,Jguzik83/the-hive,ChristineSchatz/the-hive,AlinaJahnes/the-hive,Jguzik83/the-hive,ChristineSchatz/the-hive |
d50c77dcbcfff7d36ad9cee72adbdc9d4b6bdb8a | app/views/koi/application/_twitter_feed.html.erb | app/views/koi/application/_twitter_feed.html.erb | <% if Translation.find_by_key('site.twitter.query') %>
<% content_for :side do %>
<% content_for :head do %>
<script type="text/javascript">
jQuery(function($){
$("#twitter-query").tweet({
avatar_size: 32,
count: 5,
query: "<%= Translation.find_by_key('s... | <% twitter_username = Translation.find_by_key('site.twitter.username').try(:value) %>
<% twitter_query = Translation.find_by_key('site.twitter.query').try(:value) %>
<% if twitter_username.present? || twitter_query.present? %>
<% content_for :head do %>
<script type="text/javascript">
jQuery (function ... | Allow twitter name to be used with jquery.tweet | Allow twitter name to be used with jquery.tweet
| HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
bf2f077677f00ed4df66ac57fd7f43a5796892e5 | doc-src/templates/default/layout/html/layout.erb | doc-src/templates/default/layout/html/layout.erb | <!DOCTYPE html>
<html>
<head>
<%= erb(:headers) %>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="<%= @nav_url %>"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<%= erb(:breadcrumb) %>
<%= erb(:search) %>
... | <!DOCTYPE html>
<html>
<head>
<%= erb(:headers) %>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="<%= @nav_url %>"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<%= erb(:breadcrumb) %>
<%= erb(:search) %>
... | Add Privacy Notice to Docs | Add Privacy Notice to Docs
| HTML+ERB | apache-2.0 | aws/aws-sdk-ruby,aws/aws-sdk-ruby,llooker/aws-sdk-ruby,aws/aws-sdk-ruby,llooker/aws-sdk-ruby,llooker/aws-sdk-ruby |
161fae258b8d94de01a2a574cc54030be81aeaef | app/views/buckets/index.html.erb | app/views/buckets/index.html.erb | <button class="js-issues-archive" href="<%= archive_prioritized_issues_path %>">Archive closed issues</button>
<div class="row js-buckets">
<%= render :partial => "bucket", :collection => @buckets %>
</div>
| <div class="row js-buckets">
<%= render :partial => "bucket", :collection => @buckets %>
</div>
<div class="row">
<div class="col-lg-12">
<button class="js-issues-archive" href="<%= archive_prioritized_issues_path %>">Archive closed issues</button>
</div>
</div>
| Move archive button below columns for now | Move archive button below columns for now
| HTML+ERB | mit | jonmagic/i-got-issues,jonmagic/i-got-issues,jonmagic/i-got-issues |
5d36d858226b659db2e28b6050b583d91922ab1c | app/views/matches/_form.html.erb | app/views/matches/_form.html.erb | <%= form_for(@match) do |f| %>
<% if @match.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@match.errors.count, "error") %> prohibited this match from being saved:</h2>
<ul>
<% @match.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
... | <%= form_for(@match) do |f| %>
<% if @match.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@match.errors.count, "error") %> prohibited this match from being saved:</h2>
<ul>
<% @match.errors.full_messages.each do |message| %>
<li><%= message %></li>
<% end %>
... | Add toggle to make match public | Add toggle to make match public
| HTML+ERB | mit | TotalVerb/game,TotalVerb/game,TotalVerb/game,TechRetreat/game,TechRetreat/game,TechRetreat/game |
1750d8c40337dfc4d0fa99657d07536832f7aa24 | 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; border:solid 2px #4d0019; margin: 3em">
<h3>Welcome to Code-Laborate,
<%if @user.org_affiliate %>
... | <!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... | Add border and box for email content | Add border and box for email content
| HTML+ERB | mit | kylefantastic/codellaborate,kylefantastic/code-laborate,kylefantastic/code-laborate,kylefantastic/code-laborate,kylefantastic/codellaborate,kylefantastic/codellaborate |
d3a56d799579a27638e0980e9b677ca86da7d5e8 | pages/apis/rest_api/meta.md.erb | pages/apis/rest_api/meta.md.erb | # Meta API
The Meta API endpoint returns a list of IP addresses that Buildkite uses to send outbound traffic such as webhooks and commit statuses.
It does not require authentication.
{:toc}
## Get IP addresses
Returns IP addresses:
```bash
curl "https://api.buildkite.com/v2/user"
```
```json
{
"webhook_ips":["... | # Meta API
The Meta API endpoint returns a list of IP addresses that Buildkite uses to send outbound traffic such as webhooks and commit statuses.
It does not require authentication.
{:toc}
## Get IP addresses
Returns IP addresses:
```bash
curl "https://api.buildkite.com/v2/meta"
```
```json
{
"webhook_ips": [... | Fix typo of the meta API endpoint | Fix typo of the meta API endpoint
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
1011f1df0e452bb9c5d9779110d5e1d241aed8bf | lib/views/help/_sidebar.html.erb | lib/views/help/_sidebar.html.erb | <div id="right_column_flip" class="right_column_flip">
<h2>Help pages</h2>
<ul class="no_bullets">
<li><%= link_to_unless_current "Introduction", help_about_path %></li>
<li><%= link_to_unless_current "Making requests", help_requesting_path %></li>
<li><%= link_to_unless_current "Your privacy", help_privacy_path ... | <div id="right_column_flip" class="right_column_flip">
<h2>Help pages</h2>
<ul class="no_bullets">
<li><%= link_to_unless_current "Introduction", help_about_path %></li>
<li><%= link_to_unless_current "Making requests", help_requesting_path %></li>
<li><%= link_to_unless_current "Your privacy", help_privacy_path ... | Add /help/downloads to /help sidebar | Add /help/downloads to /help sidebar
| HTML+ERB | mit | mysociety/askyourgovug-theme,mysociety/askyourgovug-theme |
e6ba482ac2dbc22f4ac8a66c748c961b9014d97b | lib/instana/eum/eum-test.js.erb | lib/instana/eum/eum-test.js.erb | <script nonce="68afd870-ae85-48c6-9689-9a5c359d5a1f">
(function(i,s,o,g,r,a,m){i['InstanaEumObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,documen... | <script nonce="68afd870-ae85-48c6-9689-9a5c359d5a1f">
(function(i,s,o,g,r,a,m){i['InstanaEumObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,documen... | Update EUM test reporting URL | Update EUM test reporting URL
| HTML+ERB | mit | nguyenquangminh0711/ruby-sensor,nguyenquangminh0711/ruby-sensor,nguyenquangminh0711/ruby-sensor |
50c00ba7e1dab6355596d2f2b3bd00ff1e1c7b0f | app/views/user/profile.erb | app/views/user/profile.erb | <h1> <%=@page_owner.username %>
</h1>
<p class="userProfile">
<%=@page_owner.first_name %> <%=@page_owner.last_name %> </br>
<%=@page_owner.age %> </br>
<%=@page_owner.height %> </br>
<%=@page_owner.bio %> </br>
</p>
<h3>Add a comment for <%= @page_owner.username %></h3>
<div class="commentForm">
<form acti... | <h1> <%=@page_owner.username %>
</h1>
<p class="userProfile">
<%=@page_owner.first_name %> <%=@page_owner.last_name %> </br>
<%=@page_owner.age %> </br>
<%=@page_owner.height %> </br>
<%=@page_owner.bio %> </br>
</p>
<h3>Add a comment for <%= @page_owner.username %></h3>
<div class="commentForm">
<form acti... | Add edit links to corresponding user comments. | Add edit links to corresponding user comments.
| HTML+ERB | mit | barreyro/iBall,barreyro/iBall |
255d7025283d0bd939d8e83520b29d9aa0d0eb6d | source/partials/_nav.html.erb | source/partials/_nav.html.erb | <nav class="navbar" role="navigation" aria-label="main navigation">
<ul class="navbar-list">
<%# <li class="navbar-item">
<a href="#" title="Sobre">Sobre</a>
</li> %>
<li class="navbar-item">
<a href="#speakers" title="Palestrantes">Palestrantes</a>
</li>
<li class="navbar-item">
... | <nav class="navbar" role="navigation" aria-label="main navigation">
<ul class="navbar-list">
<%# <li class="navbar-item">
<a href="#" title="Sobre">Sobre</a>
</li> %>
<li class="navbar-item">
<a href="#speakers" title="Palestrantes">Palestrantes</a>
</li>
<li class="navbar-item">
... | Add target blank to buy tickets link | Add target blank to buy tickets link
| HTML+ERB | mit | insiter/insiter.io,insiter/insiter.io,insiter/insiter.io |
eaf8975a89250132fef4f74b20d783efbb7d4bcb | templates/default/etc_environment.erb | templates/default/etc_environment.erb | # /etc/environment
#
# DO NOT CHANGE THIS FILE MANUALLY!
#
# This file is managed by the Chef `sys` cookbook.
<% node['sys']['env'].each_pair do |key,value| %>
<% raise "Whitespace in environment variable name" if key =~ /\s/ %>
<%= key %>="<%= value %>"
<% end %>
| # /etc/environment
#
# DO NOT CHANGE THIS FILE MANUALLY!
#
# This file is managed by the Chef `sys` cookbook.
<% node['sys']['env'].keys.sort_by(&:downcase) do |key| %>
<% raise "Whitespace in environment variable name" if key =~ /\s/ %>
<%= key %>="<%= node['sys']['env'][key] %>
<% end %>
| Sort lines in /etc/environment ignoring case | Sort lines in /etc/environment ignoring case
| HTML+ERB | apache-2.0 | GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook,GSI-HPC/sys-chef-cookbook |
58d197fc4937e9c959ecfa6aab046689f6f1b5a8 | templates/default/jupyter-project-cleanup.sh.erb | templates/default/jupyter-project-cleanup.sh.erb | #!/bin/bash
# This script allows Hopsworks to cleanup local directories for Jupyter Notebook Servers.
# There will be 1 notebook-server per ProjectUser.
# This script can be run by hopsworks (running as user 'glassfish') as a sudo command as 'root'
# The script should run as 'root' as the jupyter user does not have re... | #!/bin/bash
# This script allows Hopsworks to cleanup local directories for Jupyter Notebook Servers.
# There will be 1 notebook-server per ProjectUser.
# This script can be run by hopsworks (running as user 'glassfish') as a sudo command as 'root'
# The script should run as 'root' as the jupyter user does not have re... | Fix string interpolation in Chef template | Fix string interpolation in Chef template
| HTML+ERB | agpl-3.0 | hopshadoop/hopsworks-chef,ekeroid/hopsworks-chef,hopshadoop/hopsworks-chef,ekeroid/hopsworks-chef,hopshadoop/hopsworks-chef,hopshadoop/hopsworks-chef,ekeroid/hopsworks-chef,ekeroid/hopsworks-chef |
6c08771c1c980b07ce35f188155b90d592862e73 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Service Worker on Rails</title>
<%= site_metatags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<link rel="man... | <!DOCTYPE html>
<html>
<head>
<title>Service Worker on Rails</title>
<%= site_metatags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<link rel="man... | Add touch image link tags | Add touch image link tags
| HTML+ERB | mit | rossta/serviceworker-rails-sandbox,rossta/serviceworker-rails-sandbox,rossta/serviceworker-rails-sandbox,rossta/serviceworker-rails-sandbox |
5e5189bc459a956b9c9680d7ce69bc7e6909e871 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>NeighborhoodDashboard</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<script src='https://api.tiles.mapbox.com/mapbox.js/v... | <!DOCTYPE html>
<html>
<head>
<title>NeighborhoodDashboard</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<meta name="viewport" content="width=device-width, in... | Add Responsive Header to the Site Layout | Add Responsive Header to the Site Layout
| HTML+ERB | mit | codeforkansascity/Neighborhood-Dashboard,codeforkansascity/Neighborhood-Dashboard,codeforkansascity/Neighborhood-Dashboard |
c93b56b3c5e99098df8013f00e31cac0cc0bd00a | app/views/pages/terms_and_conditions.html.erb | app/views/pages/terms_and_conditions.html.erb | <div class="pages-static">
<section class="pages-static-section">
<h2 class="pages-title"><i class="fa fa-legal" aria-hidden="true"></i> Terms and Conditions</h2>
<%= link_to t('ngos.registrations.terms_and_conditions.title'), '#ngos', class: 'pages-nav-link' %>
<%= link_to t('users.registrations.terms_a... | <div class="pages-static">
<section class="pages-static-section">
<h2 class="pages-title"><i class="fa fa-legal" aria-hidden="true"></i> <%= t('application.terms_and_conditions') %></h2>
<%= link_to t('ngos.registrations.terms_and_conditions.title'), '#ngos', class: 'pages-nav-link' %>
<%= link_to t('use... | Fix translation of terms of conditions headline | Fix translation of terms of conditions headline
| HTML+ERB | agpl-3.0 | where2help/where2help,where2help/where2help,where2help/where2help |
b228477bb1f146b8d940cde923cf26551064ce5e | app/views/admin/answers/_edit.html.erb | app/views/admin/answers/_edit.html.erb | <%= semantic_form_for @latest_edition, :url => admin_answer_edition_path(@answer, @latest_edition), :as => :edition do |f| %>
<%= f.inputs do %>
<%= f.input :title, :label => "Name of answer" %>
<%= f.input :body, :as => :text %>
<% end %>
<% end %>
<% content_for :extra_javascript do %>
<script type="tex... | <%= semantic_form_for @latest_edition, :url => admin_answer_edition_path(@answer, @latest_edition), :as => :edition do |f| %>
<%= f.inputs do %>
<%= f.input :title, :label => "Name of answer" %>
<%= f.input :body, :as => :text %>
<% end %>
<% end %>
<% content_for :extra_javascript do %>
<script type="tex... | Remove some unneeded JS from answers editing | Remove some unneeded JS from answers editing
| HTML+ERB | mit | alphagov/publisher,telekomatrix/publisher,leftees/publisher,theodi/publisher,leftees/publisher,leftees/publisher,telekomatrix/publisher,theodi/publisher,theodi/publisher,alphagov/publisher,alphagov/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,theodi/publisher |
25e5948934ebe5064c197f5df68ef0905b8478ad | app/views/backend/forms/index.html.erb | app/views/backend/forms/index.html.erb | <%= render 'backend/breadcrumbs' %>
<% if @forms.any? %>
<table class="table table-striped table-hover">
<thead class="thead-inverse">
<tr>
<th><%= t 'b.identifier' %></th>
<th> </th>
</tr>
</thead>
<tbody>
<% @forms.each do |f| %>
<tr>
<td><%= f.... | <%= render 'backend/breadcrumbs' %>
<% if @forms.any? %>
<table class="table table-striped table-hover">
<thead class="thead-inverse">
<tr>
<th><%= t 'b.description' %></th>
<th> </th>
</tr>
</thead>
<tbody>
<% @forms.each do |f| %>
<tr>
<td><%= f... | Use the right label for the form description. | Use the right label for the form description.
| HTML+ERB | mit | udongo/udongo,udongo/udongo,udongo/udongo |
605c1d0df9cd5090a0f934e4ac0a69ec1cdfc193 | app/views/layouts/_javascript.html.erb | app/views/layouts/_javascript.html.erb | <% if Settings::ENABLE_MATHJAX %>
<script type="text/javascript" src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath:... | <% if Settings::ENABLE_MATHJAX %>
<script type="text/javascript" src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath:... | Disable annoying MathJax loading messages | Disable annoying MathJax loading messages
| HTML+ERB | mit | silky/scirate,scirate/scirate,scirate/scirate,silky/scirate,scirate/scirate,silky/scirate,scirate/scirate |
5dd13c7c5a75e4700fc258ed681aae4bff6cbefc | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<%= yield :head %>
<title>LibraryMapping</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</h... | <!DOCTYPE html>
<html>
<head>
<%= yield :head %>
<title>LibraryMapping</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
<%= render ... | Fix Google Analytics tracking bug | Fix Google Analytics tracking bug
| HTML+ERB | mit | charlotteyizhang/LibraryMapping,UoEMainLibrary/LibraryMapping,UoEMainLibrary/LibraryMapping,charlotteyizhang/LibraryMapping,gvsi/LibraryMapping,UoEMainLibrary/LibraryMapping,charlotteyizhang/LibraryMapping,gvsi/LibraryMapping,gvsi/LibraryMapping |
3b9465c4290c270a14b968775c81be0ec038d754 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Giftoppr</title>
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<header>
<div ... | <!DOCTYPE html>
<html>
<head>
<title>Giftoppr</title>
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= csrf_meta_tags %>
</head>
<body>
<header>
<div id="header-inner">
<div id="logo">
... | Move js to the bottom of the page | Move js to the bottom of the page
| HTML+ERB | mit | desktoppr/giftoppr,desktoppr/giftoppr |
b10dbb79f34f90328caf1a29c5695db26b326368 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> | GOV.UK</title>
<%= stylesheet_link_tag 'calendar' %>
<%= yield :head %>
</head>
<body class="mainstream">
<div id="wrapper" class="answer">
<%= yield %>
<div id="related-items"></div>
</div>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title><%= yield :title %> - GOV.UK</title>
<%= stylesheet_link_tag 'calendar' %>
<%= yield :head %>
</head>
<body class="mainstream">
<div id="wrapper" class="answer">
<%= yield %>
<div id="related-items"></div>
</div>
</body>
</html>
| Use hypens instead of pipes in page titles | Use hypens instead of pipes in page titles
| HTML+ERB | mit | alphagov/calendars,alphagov/calendars,alphagov/calendars,ministryofjustice/calendars,ministryofjustice/calendars,alphagov/calendars |
11259ef9ab5b426fbd30c4654d0b529fc759d53b | app/views/users/sessions/_new.html.erb | app/views/users/sessions/_new.html.erb | <div id="login" class="reveal-modal login-modal medium" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<a class="close-reveal-modal" aria-label="Close">×</a>
<h2 class="modal-ti... | <div id="login" class="reveal-modal login-modal medium" data-reveal aria-labelledby="modalTitle" aria-hidden="true" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<a class="close-reveal-modal" aria-label="Close">×</a>
<h2 class="modal-ti... | Delete forgot your password link | Delete forgot your password link
| HTML+ERB | mit | calblueprint/ashby-village,calblueprint/ashby-village,calblueprint/ashby-village |
8fcf1fefb2017f8728ce8930d47e0b5bd61c952f | app/views/devise/registrations/new.html.erb | app/views/devise/registrations/new.html.erb | <h2>Sign up</h2>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :email %><br />
<%= f.email_field :email, autofocus: true %>
</div>
<div class="field">
<%= f.label :password %>
<% if @min... | <h2>Sign up</h2>
<%= form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :first_name %>
<%= f.text_field :first_name, autofocus: true %>
</div>
<div class="field">
<%= f.label :last_name %>
<%= f.... | Add first name and last name fields to the sign up form | Add first name and last name fields to the sign up form
| HTML+ERB | mit | osondoar/justice,AliTopal89/justice,osondoar/justice,osondoar/justice,AliTopal89/justice,AliTopal89/justice |
f2cb111fa3741d05321ce84114b4be9c3d0d7446 | app/views/site/index/_active_users.html.erb | app/views/site/index/_active_users.html.erb | <%
#--
# Copyright (C) 2013 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version... | <%
#--
# Copyright (C) 2013 Gitorious AS
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version... | Add gts-avatar class to user avatars in active users box | Add gts-avatar class to user avatars in active users box
| HTML+ERB | agpl-3.0 | SamuelMoraesF/Gitorious,rae/gitorious-mainline,rae/gitorious-mainline,rae/gitorious-mainline,tigefa4u/gitorious-mainline,Gitorious-backup/mainline,SamuelMoraesF/Gitorious,elcom/gitorious,spencerwp/mainline,spencerwp/mainline,Gitorious-backup/mainline,tigefa4u/gitorious-mainline,tigefa4u/gitorious-mainline,gitorious/mai... |
6c60014d160ec1efd91ac1bb82bc4bf1fcb99549 | app/views/suggestions/index.html.erb | app/views/suggestions/index.html.erb | <div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-3"> <%= titleize params[:category] %> Ideas</h1>
</div>
</div>
<div class="container">
<div class="row">
<ul>
<% @suggestions.each do |suggestion| %>
<li>
<%= suggestion.content %> <%= "- #{suggesti... | <div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-3"> <%= titleize params[:category] %> Ideas <%= link_to "Have an Idea?", new_suggestion_path(category: params[:category]), class: "btn btn-primary-outline" %></h1>
</div>
</div>
<div class="container">
<div class="row">
... | Add blockquote styles to suggestion views | Add blockquote styles to suggestion views
| HTML+ERB | mit | ZempTime/archrails.com,ZempTime/archrails.com,ZempTime/archrails.com |
57a429c6962cae28168297fe25c414789b10db77 | app/views/surveyforms/index.html.erb | app/views/surveyforms/index.html.erb | <div class="column2">
<div class="shadebox round">
<div id="survey">
<h1 class="round-top"><%= @title %></h1>
<%= form_tag surveyforms_path, :method => 'get' do %>
<p>
<%= text_field_tag :search, params[:search] %>
<%= submit_tag "Search", :name => nil %>
</p>
<% end %>... | <div class="column2">
<div class="shadebox round">
<div id="survey">
<h1 class="round-top"><%= @title %></h1>
<%= form_tag surveyforms_path, :method => 'get' do %>
<p>
<%= text_field_tag :search, params[:search] %>
<%= submit_tag "Search", :name => nil %>
</p>
<% end %>... | Add a link to take surveys from the Surveyforms index. | Add a link to take surveys from the Surveyforms index.
modified: app/views/surveyforms/index.html.erb
| HTML+ERB | mit | weedySeaDragon/surveyor_gui,weedySeaDragon/surveyor_gui,GirishBhagavath/survey_gui,kjayma/surveyor_gui,kjayma/surveyor_gui,GirishBhagavath/survey_gui,bricesanchez/surveyor_gui,bricesanchez/surveyor_gui,kjayma/surveyor_gui,weedySeaDragon/surveyor_gui,bricesanchez/surveyor_gui,wested/surveyor_gui,wested/surveyor_gui,west... |
490cd8009127bb1cca359ee98f181ee7c5634933 | app/views/devise/two_factor_authentication/show.html.erb | app/views/devise/two_factor_authentication/show.html.erb | <% content_for :title, "2-step verification" %>
<% content_for :thin_form, true %>
<% content_for :suppress_navbar_items, true %>
<div class="page-title">
<h1>2-step verification</h1>
</div>
<%= form_tag([resource_name, :two_factor_authentication], :method => :put) do %>
<div class="panel panel-default">
<div... | <% content_for :title, "2-step verification" %>
<% content_for :thin_form, true %>
<% content_for :suppress_navbar_items, true %>
<div class="page-title">
<h1>2-step verification</h1>
</div>
<%= form_tag([resource_name, :two_factor_authentication], :method => :put) do %>
<div class="panel panel-default">
<div... | Disable autocomplete for 2SV code | Disable autocomplete for 2SV code
| HTML+ERB | mit | alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2,alphagov/signonotron2 |
538974c9be9411af419c2141ca493bd7857a8624 | pages/categories/index.erb | pages/categories/index.erb | ---
layout: default
title: Categories
---
<h2>Not just Macs</h2>
<p>There are currently <strong><%= @site.categories.count %></strong> categories on the site.</p>
<% @site.categories.keys.map { |key| key[0] }.uniq.sort.each do |letter| %>
<h3><%= letter.upcase %></h3>
<ul class="categories">
<% @site.categori... | ---
layout: default
title: Categories
---
<h2>Not just Macs</h2>
<p>There are currently <strong><%= @site.categories.count %></strong> categories on the site.</p>
<% ('a'..'z').each do |letter| %>
<% unless (slugs = @site.categories.keys.select { |key| key[0] == letter }.sort).empty? %>
<h3 id="<%= letter %>"><... | Simplify the letter category walking, add letter anchors to the headers | Simplify the letter category walking, add letter anchors to the headers
| HTML+ERB | mit | ivuk/usesthis,waferbaby/usesthis,waferbaby/usesthis,ivuk/usesthis |
30639162971e76c34cb317960a67932e29a93ed7 | app/views/shared/_analytics_tags.html.erb | app/views/shared/_analytics_tags.html.erb |
<script type="text/javascript">
// Declare 3rd party Analytics modules
YUI.add('google-analytics', function(Y) {
// Google Analytics basic
var pageTracker = _gat._getTracker("UA-8152756-4");
Y.log("pageTracker:"+ pageTracker, 'info', 'Google Analytics');
pageTracker._trackPageview(<%= @ga_pagename ... | <!-- Google Analytics tracking -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/j... | Remove universal tagging, revert to basic analytics tags | Remove universal tagging, revert to basic analytics tags | HTML+ERB | bsd-3-clause | fiann/jshub-demo-store,fiann/jshub-demo-store |
fbc33538e05d33ebdc4d5d16b061cb9566cd1ed0 | app/views/shared/_error_messages.html.erb | app/views/shared/_error_messages.html.erb | <% if object.errors.any? %>
<div id="error_explanation" class="alert alert-box">
<div>
The form contains <%= pluralize(object.errors.count, "error") %>.
</div>
<ul>
<% object.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
| Add partial for displaying all error messages for a form object | Add partial for displaying all error messages for a form object
| HTML+ERB | mit | cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails,cthit/chalmersit-rails | |
801c6545a7d25fd9726d39c085849de42abd1889 | app/views/widgets/_valence_issue.html.erb | app/views/widgets/_valence_issue.html.erb | <div class="valence">
<% issue.valence_issue_explanations.order(:priority).each do |valence| %>
<div class="constellation">
<div class="icon-list">
<% valence.parties.each do |party| %>
<%= link_to issue_url(issue, anchor: party.slug) do %>
<%= image_tag party.logo.versions[:... | <div class="valence">
<% issue.valence_issue_explanations.order(:priority).each do |valence| %>
<div class="constellation">
<div class="icon-list">
<% valence.parties.each do |party| %>
<%= link_to issue_url(issue, anchor: party.slug) do %>
<%= image_tag party.logo.versions[:... | Add some space if explanation is blank. | Add some space if explanation is blank.
| HTML+ERB | bsd-3-clause | holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site,holderdeord/hdo-site |
fa4726fe7b8c651544b41112c9dc045a51a86cae | cookbooks/tile/templates/default/replicate.logrotate.erb | cookbooks/tile/templates/default/replicate.logrotate.erb | # DO NOT EDIT - This file is being maintained by Chef
/var/log/tile/replicate.log {
compress
delaycompress
notifempty
postrotate
/usr/bin/service replicate restart
endscript
}
| # DO NOT EDIT - This file is being maintained by Chef
/var/log/tile/replicate.log {
compress
delaycompress
notifempty
postrotate
/bin/systemctl try-restart replicate
endscript
}
| Use systemctl to restart replication | Use systemctl to restart replication
| HTML+ERB | apache-2.0 | zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,gravitystorm/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,gravitystorm/chef,gravitystorm/chef,openstreetmap/chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,tomhughes/openstreetmap-chef,Firefishy/chef,tomhughes/ope... |
fd4e581b8e8bb2ec95375d92b4c3e3c212c33fc2 | app/views/user/dashboard.erb | app/views/user/dashboard.erb | <div id="dashboard">
<h1><%= @user.name %>'s Movies: </h1>
<table>
<tr>
<th>Title</th>
<th>Rating</th>
<th>Genre</th>
<th>Edit<th>
</tr>
<% @user.movies.each do |movie| %>
<tr>
<td><%= movie.name %></td>
<td><%= movie.rating %></td>
<td><%= movie.genr... | <div id="dashboard">
<h1><%= @user.name %>'s Movies: </h1>
<table>
<tr>
<th>Title</th>
<th>Rating</th>
<th>Genre</th>
<th>Edit<th>
</tr>
<% @user.movies.each do |movie| %>
<tr>
<td><a href="/movie/<%= movie.id %>"><%= movie.name %></a></td>
<td><%= movie.rati... | Add links to individual movie show page | Add links to individual movie show page
| HTML+ERB | mit | SputterPuttRedux/phase_3_audition,SputterPuttRedux/phase_3_audition |
b212cefebfdba366ea75fcda2585c1edd304ea68 | app/views/articles/edit.html.erb | app/views/articles/edit.html.erb | <div class="col-xs-12">
<h2>Edit article</h2>
<%= form_for :article, url: article_path(@article), method: :put do |f| %>
<% if @article && @article.errors.any? %>
<p>
<ul>
<% @article.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</p>
<% end... | <div class="col-xs-12">
<% if @article.author_id == current_user.id %>
<h2>Edit article</h2>
<%= form_for :article, url: article_path(@article), method: :put do |f| %>
<% if @article && @article.errors.any? %>
<p>
<ul>
<% @article.errors.full_messages.each do |msg| %>
<li><... | Add verification of authorship before editing articles | Add verification of authorship before editing articles
| HTML+ERB | mit | Kraykin/Blog-sample,Kraykin/Blog-sample,Kraykin/Blog-sample |
ffed1a029e72ace2ff09aaacac3e5b5ba9846302 | app/views/discourse/template.erb | app/views/discourse/template.erb | Informatii generale
---------------------------
- Categorie: <%= @category %>
- Judetul: <%= @county %>
<% if not @source_url.blank? %>- Surse: <%= @source_url %><% end %>
<% if not @homepage.blank? %>- Homepage: <%= @homepage %><% end %>
Descriere
--------------
<%= @description %>
Tehnologii
---------------
<%= ... | Informatii generale
---------------------------
- Categorie: <%= @category %>
- Judetul: <%= @county %>
<% unless @source_url.blank? %>- Surse: <%= @source_url %><% end %>
<% unless @homepage.blank? %>- Homepage: <%= @homepage %><% end %>
Descriere
--------------
<%= @description %>
Tehnologii
---------------
<%= ... | Replace if not with unless | Replace if not with unless | HTML+ERB | mit | BoldijarPaul/infoeducatie-api,infoeducatie/infoeducatie-api,infoeducatie/infoeducatie-api,infoeducatie/infoeducatie-api,palcu/infoeducatie-api,BoldijarPaul/infoeducatie-api,palcu/infoeducatie-api,palcu/infoeducatie-api,BoldijarPaul/infoeducatie-api |
74c58054044e31b8f341f16161be282304ba321d | app/views/users/_form.html.erb | app/views/users/_form.html.erb | <%= form_for(@user) do |f| %>
<div>
<%= f.label :username %>:
<%= f.text_field :username %>
</div>
<div>
<%= f.label :email %>:
<%= f.text_field :email %>
</div>
<div>
<%= f.label :password %>:
<%= f.text_field :password %>
</div>
<div>
<%= f.submit %>
</div>
<% end %> | <%= form_for(@user) do |f| %>
<div>
<%= f.label :username %>:
<%= f.text_field :username %>
</div>
<div>
<%= f.label :email %>:
<%= f.text_field :email %>
</div>
<div>
<%= f.label :password %>:
<%= f.password_field :password %>
</div>
<div>
<%= f.submit %>
</div>
<% end %> | Update new user password text_field to password_field so text isn't visible as typing out password | Update new user password text_field to password_field so text isn't visible as typing out password
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
2940b53a82808c891a34a52a2f52475c0b2187c8 | source/partials/_footer.erb | source/partials/_footer.erb | <div id="footer">
<div id="facebook-logo">
<a href="https://www.facebook.com/ERIVEchicago/" target="_blank">
<i class="fa fa-facebook-official"></i>
</a>
</div>
<p>E-RIVE LLC | 1538 N Western Ave Chicago IL 60622 USA<p>
<p>Copyright © 2015 E-RIVE LLC, All rights reserved.</p>
</div>
| <div id="footer">
<div id="facebook-logo">
<a href="https://www.facebook.com/ERIVEchicago/" target="_blank">
<i class="fa fa-facebook-official"></i>
</a>
</div>
<p>E-RIVE LLC | 1538 N Western Ave Chicago IL 60622 USA<p>
<p>Copyright © 2016 E-RIVE LLC, All rights reserved.</p>
</div>
| Update copyright year to 2016 | Update copyright year to 2016
| HTML+ERB | mit | tejas-rawal/e_rive_website,tejas-rawal/e_rive_website,tejas-rawal/e_rive_website |
068e559791ce43ee843a69096cf9c45f823d7cd0 | app/views/projects/index.html.erb | app/views/projects/index.html.erb | <p id="notice"><%= notice %></p>
<div class="projects">
<p>
This page lists all projects for you and any of your employees. To change the priority, simply drag
items up and down in the list.
</p>
<%
# List projects for this user
@user = User.find_by_id(session[:user_id])
%>
<%= render 'use... | <p id="notice"><%= notice %></p>
<div class="projects">
<%
# List projects for this user
@user = User.find_by_id(session[:user_id])
%>
<%= render 'user_projects' %>
<%
# List projects for each employee
Boss.employees_for(session[:user_id]).each do |employee|
@user = employee
... | Remove the note at the top of the project list | Remove the note at the top of the project list
| HTML+ERB | mit | rnelson/bossfight,rnelson/bossfight,rnelson/bossfight |
6e34f5d8c1071ad2256e414652f072fa7251fab0 | app/views/projects/index.html.erb | app/views/projects/index.html.erb | <div class="page-header">
<%= page_title "Projects" %>
</div>
<div class="btn-toolbar" role="toolbar">
<div class="btn-group btn-group-sm">
<button id="all" class="btn btn-primary">All</button>
<button id="current-projects" class="btn btn-default js-filter">Current</button>
<button id="pa... | <div class="page-header">
<%= page_title "Projects" %>
</div>
<div class="btn-toolbar" role="toolbar">
<div class="btn-group btn-group-sm">
<button id="all" class="btn btn-primary">All</button>
<button id="current-projects" class="btn btn-default js-filter">Current</button>
<button id="past-projects" c... | Move add project button to project button toolbar. add link to add project category. | Move add project button to project button toolbar. add link to add project category.
Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
| HTML+ERB | apache-2.0 | maxfierke/resumis,maxfierke/resumis,maxfierke/resumis,maxfierke/resumis |
719098bc50bb261b81483b41e7f959d19c221468 | app/views/proposals/show.html.erb | app/views/proposals/show.html.erb | <div class='row'>
<div class="one-half column">
<h4><%= @proposal.title %>,
by <%= link_to @proposal.speaker.name, speaker_path(@proposal.speaker) %>
<div class="tags">
<% @proposal.tag_list.each do |tag| %>
<span class="tag">#<%= tag %></span>
<% end %>
</div>
</h4>
... | <div class='row'>
<div class="one-half column">
<h4><%= @proposal.title %>,
by <%= link_to @proposal.speaker.name, speaker_path(@proposal.speaker) %>
<div class="tags">
<% @proposal.tag_list.each do |tag| %>
<span class="tag">#<%= tag.gsub(" ", "") %></span>
<% end %>
</di... | Remove all whitespace from tags with multiple words | Remove all whitespace from tags with multiple words
| HTML+ERB | mit | nodunayo/speakerline,nodunayo/speakerline,nodunayo/speakerline |
5a09edf0afe4cf5576be6af3081fcc428c4a4288 | app/views/shared/_footer.html.erb | app/views/shared/_footer.html.erb | <!-- Footer -->
<nav id="footer">
<div class="container">
<div class="pull-left fnav">
<p>ALL RIGHTS RESERVED. VidEdu © SFSU, CSC 667 Internet Application Design and Development</p>
</div>
<div class="pull-right fnav">
<ul class="footer-social">
<li><a href="https://www... | <!-- Footer -->
<nav id="footer">
<div class="container">
<div class="pull-left fnav">
<p>COPYRIGHT © <span class="emphasize">VIDEDU</span>, ALL RIGHTS RESERVED</p>
</div>
<div class="pull-right fnav">
<ul class="footer-social">
<li><a href="https://www.facebook.com/Vid... | Update copyright text from footer | Update copyright text from footer
| HTML+ERB | mit | Twinpair/VidEdu,Twinpair/VidEdu,Twinpair/VidEdu |
86d9e786daed18a6002645b77718a25fa71d42c8 | app/views/exercises/show.html.erb | app/views/exercises/show.html.erb | <%= provide(:header, "Exercício") %>
<%= provide(:description, "Vizualize, edite e adicione novas questões") %>
<%= link_to "Deletar", @exercise, method: :delete,
class: "btn btn-primary pull-right",
style: "margin-left: 10px",
data: { confirm: "Tem ... | <%= provide(:header, "Exercício") %>
<%= provide(:description, "Vizualize, edite e adicione novas questões") %>
<%= link_to "Deletar", @exercise, method: :delete,
class: "btn btn-primary pull-right",
style: "margin-left: 10px",
data: { confirm: "Tem ... | Add href to 'add question' button | Add href to 'add question' button
| HTML+ERB | mit | rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn,rwehresmann/farma_alg_reborn |
5445bc6abcd9a265fb6807ce3bd3ab10af10b37d | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <%= render @question %>
<%= render "votes/vote_count", :object => @question%>
<%= render "votes/questions_vote_form", :object => @question, :vote => @vote %>
<%= link_to "comment", new_question_response_path(@question) %>
<% if @question.responses %>
<%= render :partial => "responses/response", :collection => @questi... | <%= render @question %>
<%= render "votes/vote_count", :object => @question%>
<%= render "votes/vote_form", :object => @question, :vote => @vote %>
<%= link_to "comment", new_question_response_path(@question) %>
<% if @question.responses %>
<%= render :partial => "responses/response", :collection => @question.respons... | Update questions/show view with updated name of partial vote form | Update questions/show view with updated name of partial vote form
| HTML+ERB | mit | jeder28/stack_overphil,jeder28/stack_overphil,jeder28/stack_overphil |
29047d13a5655e597218296eda5dcb363180bb41 | app/views/versions/index.html.erb | app/views/versions/index.html.erb | <% @show_tabs = (promoter? || administrator? || official?) -%>
<h2><%= @person.name %></h2>
<p>
<% if @person.versions.empty? %>
<strong>No other versions</strong>
<% end -%>
</p>
<%= render :partial => "version", :collection => @person.versions.sort_by(&:updated_at).reverse %>
<div class="span12">
<div c... | <% @show_tabs = (promoter? || administrator? || official?) -%>
<h2><%= @person.name %></h2>
<p>
<% if @person.versions.empty? %>
<strong>No other versions</strong>
<% end -%>
</p>
<%= render :partial => "version", :collection => @person.versions.sort_by(&:updated_at).reverse %>
<div class="row-fluid control... | Fix bad HTML on versions footer | Fix bad HTML on versions footer
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
5dd774311095392b54568fcc3b6e99754c4d7976 | app/views/layouts/_footer.html.erb | app/views/layouts/_footer.html.erb | <footer>
<div class="navbar navbar-fixed-bottom">
<nav>
<div id="icons">
<ul>
<li><%= link_to image_tag('facebook.png', alt: 'Facebook logo'), '#' %></li>
<li class="divider"><%= link_to image_tag('divider.png', alt: 'Logo divider'), '#' %></li>
<li><%= link_to ... | <footer>
<div class="navbar navbar-fixed-bottom">
<nav>
<div id="icons">
<ul>
<li><%= link_to image_tag('facebook.png', alt: 'Facebook logo'),
'https://www.facebook.com/VanderbiltPerformingArtsCouncil', target: '_blank' %></li>
<li class="divider... | Add Facebook and Anchor Link links to footer. | Add Facebook and Anchor Link links to footer.
| HTML+ERB | mit | sethfri/VPAC,sethfri/VPAC |
b614e306f3a796e7dccf21865140207d124761ff | app/views/spree/admin/volume_prices/_edit_fields.html.erb | app/views/spree/admin/volume_prices/_edit_fields.html.erb | <% content_for :page_actions do %>
<span id="new_add_volume_price" data-hook>
<%= link_to I18n.t('spree.add_volume_price'), 'javascript:;', {
:'data-target' => 'tbody#volume_prices',
class: 'btn btn-primary spree_add_fields',
id: 'add_volume_price'
} %>
</span>
<% end %>
<h3><%= I... | <h3><%= I18n.t('spree.volume_prices') %></h3>
<table class="table">
<thead>
<tr>
<th><%= I18n.t('spree.name') %></th>
<th><%= I18n.t('spree.discount_type') %></th>
<th><%= I18n.t('spree.range') %></th>
<th><%= I18n.t('spree.amount') %></th>
<th><%= I18n.t('spree.position') %></th>
... | Move the "Add volume price button" below the table | Move the "Add volume price button" below the table
| HTML+ERB | bsd-3-clause | solidusio-contrib/solidus_volume_pricing,solidusio-contrib/solidus_volume_pricing,solidusio-contrib/solidus_volume_pricing,solidusio-contrib/solidus_volume_pricing |
63dec2af8e93981e7cebe490585ccde5239a2577 | app/views/layouts/hyper_admin/application.html.erb | app/views/layouts/hyper_admin/application.html.erb | <!DOCTYPE html>
<html ng-app="hyperadmin">
<head>
<title>HyperAdmin</title>
<%= stylesheet_link_tag "//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" %>
<%= stylesheet_link_tag "hyper_admin/application", media: :all %>
<%= javascript_include_tag "hyper_admin/application" %>
<%... | <!DOCTYPE html>
<html ng-app="hyperadmin">
<head>
<title>HyperAdmin</title>
<%= stylesheet_link_tag "//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" %>
<%= stylesheet_link_tag "hyper_admin/application", media: :all %>
<%= javascript_include_tag "hyper_admin/application" %>
<%... | Use "controller as" syntax for MainCtrl in layout | Use "controller as" syntax for MainCtrl in layout
| HTML+ERB | mit | hyperoslo/hyper_admin,hyperoslo/hyper_admin,hyperoslo/hyper_admin |
e7dd2ff2f0f9be6729eb9b6208f15ec960468fdb | src/js/config/config.js.erb | src/js/config/config.js.erb | // This file only makes sense in the context of the main platform.
<% asset_root = DC.cdn_root(:agnostic => true) %>
(function(){
var ENV = window.ENV = window.ENV || {};
ENV.config = ENV.config || {};
ENV.config.embed = ENV.config.embed || {};
ENV.config.embed.assetPaths =... | <% asset_root = DC.cdn_root(:agnostic => true) %>
(function(){
var ENV = window.ENV = window.ENV || {};
ENV.config = ENV.config || {};
ENV.config.embed = ENV.config.embed || {};
ENV.config.embed.assetPaths = ENV.config.embed.assetPaths || {};
ENV.config.e... | Remove some whitespace/commenting from config file | Remove some whitespace/commenting from config file
| HTML+ERB | mit | documentcloud/documentcloud-pages,documentcloud/documentcloud-pages,documentcloud/documentcloud-pages |
1e46012f631a6317372d222f3e277a2b206fd996 | app/views/_header.erb | app/views/_header.erb | <div class="navbars">
<ul >
<li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li><a href="/tickets"><i class="fa fa-ticket"></i> Tickets</a></li>
<% current_user %>
<% if @user.nil? %>
<li> <a class="btn btn-block btn-social btn-github">
<a href="/sign_in" <i class="fa fa-github fa-5"></i>... | <div class="navbars">
<ul >
<li><a href="/"><i class="fa fa-home"></i> Home</a></li>
<li><a href="/tickets"><i class="fa fa-ticket"></i> Tickets</a></li>
<% current_user %>
<% if @user.nil? %>
<li> <a class="btn btn-block btn-social btn-github">
<a href="/sign_in" <i class="fa fa-twitter fa-5"></i... | Change Github Header to Twitter | Change Github Header to Twitter
| HTML+ERB | mit | krauzer/fist_of_five_group_project,krauzer/fist_of_five_group_project,krauzer/fist_of_five_group_project |
1fe4d389acc4a5b97eebee52cd10386dcba3780f | lib/modules/ogr/command_templates/postgres_gdb_export.erb | lib/modules/ogr/command_templates/postgres_gdb_export.erb | ogr2ogr -skipfailures
-f "FileGDB"
<%= file_name %>
PG:"host=<%= db_config[:host] %>
user=<%= db_config[:username] %>
<% unless db_config[:password].nil? %>
password=<%= db_config[:password] %>
<% end %>
dbname=<%= db_config[:database] %>"
-sql "<%= query %>"
-nlt "<%= geom_type.upcase %>"
| ogr2ogr -skipfailures
-f "FileGDB"
<%= file_name %>
PG:"host=<%= db_config[:host] %>
user=<%= db_config[:username] %>
<% unless db_config[:password].nil? %>
password=<%= db_config[:password] %>
<% end %>
dbname=<%= db_config[:database] %>"
-sql "<%= query %>"
-nlt "<%= geom_type.upcase %>"
-nln "<%= file_n... | Use custom layer name for gdb exports | Use custom layer name for gdb exports
| HTML+ERB | bsd-3-clause | unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet |
f9e0a373a49d1fa65fc609dcf0c64db1ff260a93 | modules/datainsight/templates/collector_logstash.conf.erb | modules/datainsight/templates/collector_logstash.conf.erb | input {
file {
type => "datainsight-<%= @title %>-collector-app"
path => "/data/vhost/${vhost_full}/shared/log/*.log"
}
} | input {
file {
type => "datainsight-<%= @title %>-collector-app"
path => "/data/vhost/<%= @vhost_full %>/shared/log/*.log"
}
} | Correct ERB in datainsight collector logstash. | Correct ERB in datainsight collector logstash.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
fe89042a002fc0f3a0981f81f0ffce6834fc2ca7 | app/views/notifications/new_user_confirmed.cs-CZ.text.erb | app/views/notifications/new_user_confirmed.cs-CZ.text.erb | Vítejte v Cyclescape!
Děkujeme vám za potvrzení vašich e-mailovou adresu - váš účet je nyní aktivován.
1) Nastavte na mapě umístění relevantních pro vás, takže jste přihlásili k odběru místních záležitostí:
<%= current_user_locations_url %>
2) E-mail: Chtěli byste dostávat diskusi e-mailem?
<%= current_user_pr... | Add (probably badly-translated) Czech new user confirmed e-mail | Add (probably badly-translated) Czech new user confirmed e-mail
| HTML+ERB | mit | cyclestreets/cyclescape,cyclestreets/cyclescape,cyclestreets/cyclescape | |
3600b22c6fc9c046a2b03f43128a191ca8fd4457 | app/views/questions/new.html.erb | app/views/questions/new.html.erb |
<div class="form_holder">
<%= form_for :question, url: {action: "create" } do |f| %>
<%= f.text_field :title, placeholder: 'Title' %><br>
<%= f.text_area :content, placeholder: 'Content' %><br>
<%= f.submit 'Save' %>
<% end %>
<div class="tag_holder"></div>
<div class="tag_maker"><input type="text"></div>
</di... |
<div class="form_holder">
<%= form_for :question, url: {action: "create" }, html: {class: "question_form"} do |f| %>
<p>
<%= f.label :title %><br>
<%= f.text_field :title, placeholder: 'Topic' %>
</p>
<p>
<%= f.label :content %><br>
<%= f.text_area :content, placeholder: 'Details', size: "60x10"%>
</p>... | Add Labels to Form For Testing and Input Areas | Add Labels to Form For Testing and Input Areas
| HTML+ERB | cc0-1.0 | red-spotted-newts-2014/food-overflow,red-spotted-newts-2014/food-overflow |
8bf1e520598dd38eb8800edc8644fbfbcaed7f60 | app/views/alchemy/user_sessions/new.html.erb | app/views/alchemy/user_sessions/new.html.erb | <div class="login_signup_box">
<%= image_tag 'alchemy/alchemy-logo.svg', id: 'logo' %>
<%= alchemy_form_for :user, url: {action: 'create'}, id: 'login' do |f| %>
<%= f.input Devise.authentication_keys.first, autofocus: true %>
<%= f.input :password %>
<p class="foot_note">
<%= link_to Alchemy.t('F... | <div class="login_signup_box">
<%= image_tag 'alchemy/alchemy-logo.svg', id: 'logo' %>
<%= alchemy_form_for :user, url: {action: 'create'}, id: 'login' do |f| %>
<%= f.input Devise.authentication_keys.first, autofocus: true %>
<%= f.input :password %>
<div class="input">
<small class="hint">
... | Update login screen password link | Update login screen password link
| HTML+ERB | bsd-3-clause | AlchemyCMS/alchemy-devise,AlchemyCMS/alchemy-devise,AlchemyCMS/alchemy-devise |
ad8fade4393c78dccd5f06b22ca7aa4780480ed6 | app/views/layouts/_navigation_links.html.erb | app/views/layouts/_navigation_links.html.erb | <%# add navigation links to this file %>
<% if user_signed_in? %>
<li><%= link_to 'Edit account', edit_user_registration_path %></li>
<li><%= link_to 'Logout', destroy_user_session_path, :method=>'delete' %></li>
<% else %>
<li><%= link_to 'Login', new_user_session_path %></li>
<li><%= link_to 'Sign up', new_us... | <%# add navigation links to this file %>
<li><%= link_to 'Scenarios', scenarios_path %></li>
<li><%= link_to 'Clouds', clouds_path %></li>
<li><%= link_to 'Subnets', subnets_path %></li>
<li><%= link_to 'Instances', instances_path %></li>
<li><%= link_to 'Groups', groups_path %></li>
<li><%= link_to 'Players', players_... | Set nav links to list everything | Set nav links to list everything
| HTML+ERB | mit | edurange/edurange,donkey-hotei/edurange,donkey-hotei/edurange,edurange/edurange,edurange/edurange-server,edurange/edurange,edurange/edurange,edurange/edurange-server,donkey-hotei/edurange,edurange/edurange-server,donkey-hotei/edurange,edurange/edurange-server |
41ef674b940bfd9adf12b1b6f79ede754e415279 | app/views/products/_picture_display.html.erb | app/views/products/_picture_display.html.erb | <% if product_pictures.empty? %>
<div class="no_picture">
<%= t('stizun.product.no_picture') %>
</div>
<% else %>
<% if product_pictures.main.empty? %>
<%= image_tag product_pictures.first.file.url(:medium) %>
<% else %>
<%= image_tag product_pictures.main.first.file.url(:medium) %>
<% end %>
... | <% if product_pictures.empty? %>
<div class="no_picture">
<%= t('stizun.product.no_picture') %>
</div>
<% else %>
<% if product_pictures.main.empty? %>
<%= image_tag product_pictures.first.file.url(:medium) %>
<% else %>
<%= image_tag product_pictures.main.first.file.url(:medium) %>
<% end %>
... | Exclude the main picture from the thumbnail list. | Exclude the main picture from the thumbnail list.
| HTML+ERB | apache-2.0 | lincompch/stizun,sabcio/stizun,lincompch/stizun,lincompch/stizun,lincompch/stizun,sabcio/stizun,sabcio/stizun,sabcio/stizun,lincompch/stizun |
fa036824a37bf5828c2b764ae03a04eb675585ed | lib/stripmem/views/index.erb | lib/stripmem/views/index.erb | <!DOCTYPE html>
<html>
<head>
<title>Watch your memory grow!</title>
<link href="/app.css" type="text/css" rel="stylesheet" media="screen">
<script src="/app.js" type="text/javascript"></script>
<script src="/d3.js" type="text/javascript"></script>
</head>
<body>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<title>Watch your memory grow!</title>
<link href="/app.css" type="text/css" rel="stylesheet" media="screen">
<script src="/components/jquery/jquery.min.js" type="text/javascript"></script>
<script src="/components/d3/d3.min.js" type="text/javascript"></script>
<scrip... | Use d3 and jquery from bower. | Use d3 and jquery from bower.
| HTML+ERB | mit | spraints/stripchart,spraints/stripchart,spraints/stripmem,spraints/stripmem |
381c7748ec80341163a01cb92c57cd824a9ae39d | templates/CentOS/runner_gitlab-runner.erb | templates/CentOS/runner_gitlab-runner.erb | [runner_gitlab-runner]
name=runner_gitlab-runner
baseurl=https://packages.gitlab.com/runner/gitlab-runner/el/<%= @facts['os']['release']['major'] %>/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packages.gitlab.com/runner/gitlab-runner/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metada... | [runner_gitlab-runner]
name=runner_gitlab-runner
baseurl=https://packages.gitlab.com/runner/gitlab-runner/el/<%= @facts['os']['release']['major'] %>/$basearch
repo_gpgcheck=1
gpgcheck=1
enabled=1
gpgkey=https://packages.gitlab.com/runner/gitlab-runner/gpgkey
https://packages.gitlab.com/runner/gitlab-runner/gpgke... | Remove source from runner_gitlab_runner repo and enable gpgcheck check | Remove source from runner_gitlab_runner repo and enable gpgcheck check
| HTML+ERB | apache-2.0 | lutak-srce/yum,lutak-srce/yum |
397a157b532e4a6243a08910c89df03d2ac65b33 | modules/govuk_jenkins/templates/jobs/send_bulk_email.yaml.erb | modules/govuk_jenkins/templates/jobs/send_bulk_email.yaml.erb | ---
- job:
name: send-bulk-email
display-name: Send bulk email
project-type: freestyle
description: "Send a bulk email to a number of subscriber lists."
properties:
- build-discarder:
days-to-keep: 30
artifact-num-to-keep: 5
builders:
- shell: |
#!/usr/b... | ---
- job:
name: send-bulk-email
display-name: Send bulk email
project-type: freestyle
description: "Send a bulk email to a number of subscriber lists."
properties:
- build-discarder:
days-to-keep: 30
artifact-num-to-keep: 5
builders:
- shell: |
#!/usr/b... | Update task namespaces for Email Alert API | Update task namespaces for Email Alert API
Relates to: https://github.com/alphagov/email-alert-api/pull/1371
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
e90e2116586517d8bd2fd8e5136e41d554fa805c | pages/pipelines/wait_step.md.erb | pages/pipelines/wait_step.md.erb | # Wait Step
<%= toc %>
A *wait* step waits for all previous steps to have successfully completed before allowing following jobs to continue.
<%= image "wait-step.png", width: 1070/2, height: 508/2, alt: "Screenshot of a basic wait step" %>
A basic wait step can be defined in your pipeline settings, or in your [pipe... | # Wait Step
<%= toc %>
A *wait* step waits for all previous steps to have successfully completed before allowing following jobs to continue.
<%= image "wait-step.png", width: 1070/2, height: 508/2, alt: "Screenshot of a basic wait step" %>
A basic wait step can be defined in your pipeline settings, or in your [pipe... | Document the option to continue on fail | Document the option to continue on fail | HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs |
50a58835facf87c3be026c77196fb118d3c757de | modules/govuk/templates/static_extra_nginx_config.conf.erb | modules/govuk/templates/static_extra_nginx_config.conf.erb | location ~ ^/government/(assets|uploads|placeholder$)/ {
proxy_set_header Host <%= @whitehall_frontend_host %>;
proxy_set_header X-Real-IP \$remote_addr>;
proxy_set_header X-Forwarded-Server \$host;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host \$host;
proxy... | location ~ ^/government/(assets|uploads|placeholder$)/ {
proxy_set_header Host <%= @whitehall_frontend_host %>;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_pass... | Remove escape characters from template | Remove escape characters from template
These characters were only needed when interpolating strings within a
Puppet file. They're not necessary when using an ERB template.
| HTML+ERB | mit | alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet |
37310c5bd15fdc08e637dd3ab95b5bc9296b98ad | templates/network.conf.erb | templates/network.conf.erb | # Generated by Puppet
LoadPlugin network
<Plugin network>
<% if @server -%>
<Server "<%= @server %>" "<%= @serverport %>">
<% if @server_securitylevel -%>
SecurityLevel <%= @server_securitylevel %>
<% end -%>
<% if @server_username -%>
Username <%= @server_username %>
<% end -%>
<% if @server_password -%>
... | # Generated by Puppet
LoadPlugin network
<Plugin network>
<% if @server -%>
<Server "<%= @server %>" "<%= @serverport %>">
<% if @server_securitylevel -%>
SecurityLevel "<%= @server_securitylevel %>"
<% end -%>
<% if @server_username -%>
Username "<%= @server_username %>"
<% end -%>
<% if @server_password -%... | Add quotes for string values in network plugin | Add quotes for string values in network plugin
| HTML+ERB | apache-2.0 | voxpupuli/puppet-collectd,juniorsysadmin/puppet-collectd,juniorsysadmin/puppet-collectd,voxpupuli/puppet-collectd,voxpupuli/puppet-collectd,archii/puppet-collectd,archii/puppet-collectd,archii/puppet-collectd |
50c87964c9630b4acd43a24a8339375fdd0b993b | app/views/blocks/profile_info_actions/_join_leave_community.html.erb | app/views/blocks/profile_info_actions/_join_leave_community.html.erb | <div class='join-leave-button require-login-popup'>
<% if logged_in? %>
<% if profile.already_request_membership? user %>
<%= _('Your membership is waiting for approval') %>
<% else %>
<% if user.in? profile.members %>
<%= button :delete, content_tag('span', _('Leave community')), profile.... | <div class='join-leave-button require-login-popup'>
<% if logged_in? %>
<% if profile.already_request_membership? user %>
<%= _('Your membership is waiting for approval') %>
<% else %>
<% if user.in? profile.members %>
<%= button :delete, content_tag('span', _('Leave community')), profile.... | Add missing class in join community button | Add missing class in join community button
| HTML+ERB | agpl-3.0 | larissa/noosfero,arthurmde/noosfero,AlessandroCaetano/noosfero,tallysmartins/noosfero,abner/noosfero,LuisBelo/tccnoosfero,hebertdougl/noosfero,alexandreab/noosfero,larissa/noosfero,samasti/noosfero,coletivoEITA/noosfero-ecosol,samasti/noosfero,AlessandroCaetano/noosfero,blogoosfero/noosfero,EcoAlternative/noosfero-ecos... |
d5dc8dbb37ae238b42d10c47da810ca77b9826cf | app/views/reimagine2/devpost/global_nav/_world_menu_entries.html.erb | app/views/reimagine2/devpost/global_nav/_world_menu_entries.html.erb | <li>
<%= link_to reimagine_root_url(path: "/software"),
class: "main-link",
data: { role: "discover" } do %>
Projects
<% end %>
</li>
<li>
<%= link_to reimagine_root_url(path: "/hackathons"),
class: "main-link",
data: { role: "discover" } do %>
Hackathons
<% end %>
</li>... | <li>
<%= link_to reimagine_root_url(path: "/software"),
class: "main-link",
data: { role: "discover" } do %>
Projects
<% end %>
</li>
<li>
<%= link_to reimagine_root_url(path: "/hackathons"),
class: "main-link",
data: { role: "discover" } do %>
Hackathons
<% end %>
</li>... | Change teams to jobs in global nav. | Change teams to jobs in global nav.
| HTML+ERB | mit | challengepost/reimagine,challengepost/reimagine,challengepost/reimagine |
d78eb1b6d6e1d4df2f87d17f337d5dbeece8e2c4 | app/views/tips/show.html.erb | app/views/tips/show.html.erb | <div id='large-info-box'>
<h1 id='large-info-trip-name'><%= @trip.name %></h1>
<h2 id='large-info-tip-name'><%= @tip.name %></h2>
<%= form_tag("/users/#{@user.id}/trips/#{@trip.id}/tips/#{@tip.id}", method: "put", class: "large-modal") do %>
<div id='large-info-address'><%= @tip.address %></div>
<br>
... | <div id='large-info-box'>
<h1 id='large-info-trip-name'><%= @trip.name %></h1>
<h2 id='large-info-tip-name'><%= @tip.name %></h2>
<%= form_tag("/users/#{@user.id}/trips/#{@trip.id}/tips/#{@tip.id}", method: "put", class: "large-modal") do %>
<div id='large-info-address'><%= @tip.address %></div>
<br>
... | Make comment in <p> when viewing friends' tips | Make comment in <p> when viewing friends' tips
| HTML+ERB | mit | linamacromer/TripTip,linamacromer/TripTip,linamacromer/TripTip |
fc67cad9b8eaa66f6d4c9d81f7366f11a00c1cc9 | app/views/questions/edit.html.erb | app/views/questions/edit.html.erb | <%= form_for(@question) do |f| %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :content %>
<%= f.text_area :content %>
<%= f.submit "Edit Question" %>
<% end %> | <div class="row"><p></p></div>
<div class="row">
<div class="large-9 columns" role="content">
<h3>Edit your question:</h3>
<%= form_for(@question) do |f| %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.label :content %>
<%= f.text_area :content %>
<%= f.submit "Edit Que... | Add styling to question edit view | Add styling to question edit view
| HTML+ERB | mit | rock-doves-2014/DemBoyz-Overflow,rock-doves-2014/DemBoyz-Overflow |
b6a2137bb472b670b7027929b0a048213e2fb370 | app/views/requests/index.html.erb | app/views/requests/index.html.erb | <div class='row'>
<div class="small-12 columns">
<ul class="requests">
<%= render @requests %>
</ul>
</div>
</div>
| <div class="row">
<div class="small-12 small-centered text-center columns">
<ul class="requests">
<%= render @requests %>
</ul>
</div>
</div>
| Format page to have proper rows and columns | Format page to have proper rows and columns
| HTML+ERB | mit | nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly,kimchanyoung/nghborly,nyc-mud-turtles-2015/nghborly,nyc-mud-turtles-2015/nghborly,kimchanyoung/nghborly |
ed43ca98dcdd1d5ad0c7a8802894c40276b64e92 | app/views/users/activity.html.erb | app/views/users/activity.html.erb | <%= content_for :breadcrumbs do %>
<%= breadcrumbs_for_my_account %>
<% end %>
<%= render partial: 'layouts/user_menu' %>
<div class="row mu-tab-body">
<div class="col-md-6">
<%= render partial: 'activity_indicator',
locals: {
title: t(:exercises),
stats: exerc... | <%= content_for :breadcrumbs do %>
<%= breadcrumbs_for_my_account %>
<% end %>
<%= render partial: 'layouts/user_menu' %>
<div class="col-md-9 mu-tab-body">
<div class="mu-user-header">
<h1><%= t(:activity) %></h1>
</div>
<div class="col-md-8">
<%= render partial: 'activity_indicator',
... | Add title to Activity view and change layout size | Add title to Activity view and change layout size
| HTML+ERB | agpl-3.0 | mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory |
29ad93cf8665013beba120f2ab28d2977dfd792d | app/views/layouts/_flash_messages.html.erb | app/views/layouts/_flash_messages.html.erb | <% flash.each do |level, text| %>
<div class="<%= flash_class(level) %> fade in">
<a class="close" data-dismiss="alert" href="#">×</a>
<%= text %>
<% if [:alert, :error].include?(level) %>
<%= mail_to JUMU_ADMIN_EMAIL, "Warum?", subject: "Meldung \"#{text}\"" %>
<% end %>
</div>
<% end %>
| <% flash.each do |level, text| %>
<div class="<%= flash_class(level) %> fade in">
<a class="close" data-dismiss="alert" href="#">×</a>
<%= text %>
<% if [:alert, :error].include?(level) %>
<%= mail_to JUMU_ADMIN_EMAIL, "Was heißt das?", subject: "Meldung \"#{text}\"" %>
<% end %>
</div>
<% en... | Reword help link in warnings an errors | Reword help link in warnings an errors
| HTML+ERB | mit | richeterre/jumubase-rails,richeterre/jumubase-rails,richeterre/jumubase-rails |
fe1695e66da31222d2711a98a6da746c1cad76f4 | pages/integrations/sso/cloud_identity.md.erb | pages/integrations/sso/cloud_identity.md.erb | # SSO with Google Cloud Identity
Google Cloud Identity can be used as an SSO provider for your Buildkite organization. To complete this tutorial, you will need admin privileges for both Google Cloud Identity and Buildkite.
<div class="Docs__note">
<p>See the <a href="/docs/integrations/sso/sso-setup-with-graphql">S... | Add unfinished cloud identity draft | Add unfinished cloud identity draft
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs | |
6db57691738a052c141867a53001c96cfa45f4c1 | app/views/campaigns/_new_assignment.erb | app/views/campaigns/_new_assignment.erb | <%-if assignment.task_type_name == 'write-to-other' %>
<a href="#" class="thread-item">
<span class="num"><%= index %></span>
<span class="title"><%= raw t(:expert_advised_writing, :expert => h(assignment.creator.name), :user => h(assignment.user.first_name), :recipient => h(assignment.data[:name]), :advised => t(:adv... | <%-if assignment.task_type_name == 'write-to-other' %>
<a href="#" class="thread-item">
<span class="num"><%= index %></span>
<span class="title"><%= raw t(:expert_advised_writing, :expert => h(assignment.creator.name), :user => h(assignment.user.first_name), :recipient => h(assignment.data[:name]), :advised => t(:adv... | Add message from expert in details. | Add message from expert in details.
| HTML+ERB | agpl-3.0 | mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport |
aa596102128cd2a2bb1f9ced10f70eccd97b6f79 | app/views/home/_recent_results.html.erb | app/views/home/_recent_results.html.erb | <h3><%= link_to 'Results', results_path %></h3>
<%= table :id => "home_page_results", :columns => 2 do %>
<%- events_with_recent_results[0, mobile_request? ? 6 : 1000].each do |event| -%>
<tr>
<td class="date"><%= link_to event.date.to_s(:md), event_results_path(event) %></td>
<td class="event"><%= link_to ... | <h3><%= link_to 'Results', results_path %></h3>
<%= table :id => "home_page_results", :columns => 2 do %>
<%- events_with_recent_results.sort_by(&:date).reverse[0, mobile_request? ? 6 : 1000].each do |event| -%>
<tr>
<td class="date"><%= link_to event.date.to_s(:md), event_results_path(event) %></td>
<td cl... | Sort recent results on homepage | Sort recent results on homepage
| HTML+ERB | mit | scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails,scottwillson/racing_on_rails |
92d4683977bab7b4d9e45b220cb935b6de164b0d | app/views/layouts/_navbar.html.erb | app/views/layouts/_navbar.html.erb | <nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
... | <nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
... | Add link buttons for user sign in/ sign out | Add link buttons for user sign in/ sign out
| HTML+ERB | mit | EGiataganas/just-drop-it,EGiataganas/just-drop-it,EGiataganas/just-drop-it |
751fd5792dbd796bae58179d9b3d75f0e19c8dd8 | app/views/manuals/updates.html.erb | app/views/manuals/updates.html.erb | <%=
render(
'content_for_head_tag',
description: "List of updates to '#{presented_manual.full_title}'.",
title: 'Updates - ' + presented_manual.full_title
)
%>
<%= content_for :extra_head_content do %>
<%= ab_test.requested_variant.analytics_meta_tag.html_safe %>
<% end %>
<%= render 'header', present... | <%=
render(
'content_for_head_tag',
description: "List of updates to '#{presented_manual.full_title}'.",
title: 'Updates - ' + presented_manual.full_title
)
%>
<%= content_for :extra_head_content do %>
<%= ab_test.requested_variant.analytics_meta_tag.html_safe %>
<% end %>
<% if presented_manual.beta?... | Move beta label to above the header | Move beta label to above the header
The beta label must appear above the header and content. This was a mistake
introduced by a previous commit.
| HTML+ERB | mit | alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend,alphagov/manuals-frontend |
c12fb8606b71739a625ed6256a5f4a1ce7e50ceb | app/views/uploads/_subnav.html.erb | app/views/uploads/_subnav.html.erb | <%= sub_nav_tag({}) do %>
<li>
<%= link_to uploads_path do %>
<i class="fa fa-folder-open"></i> All Uploads
<% end %>
</li>
<% if current_user.has_role? :admin && @upload.can_resubmit? %>
<li>
<%= link_to resubmit_upload_path(@upload), :confirm => "Are you sure you want to resubmit this file for processing?... | <%= sub_nav_tag({}) do %>
<li>
<%= link_to uploads_path do %>
<i class="fa fa-folder-open"></i> All Uploads
<% end %>
</li>
<% if @upload.can_resubmit? %>
<li>
<%= link_to resubmit_upload_path(@upload), :confirm => "Are you sure you want to resubmit this file for processing?" do %>
<i class="fa fa-repeat"... | Fix issue with permissions on upload subnav | Fix issue with permissions on upload subnav
| HTML+ERB | mit | nycdot/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core |
05271ff9e5b67dbeba6012c233c494c102439416 | app/views/user_stories/js_templates/change_sprint.js.erb | app/views/user_stories/js_templates/change_sprint.js.erb | <%#=
* User: nmeylan
* Date: 09.11.14
* Time: 18:16
%>
var old_id = <%= old_sprint_id ? old_sprint_id : -1 %>;
var new_id = <%= sprint_id %>;
if(old_id !== new_id){
update_sprint_info(new_id, '+', <%= points ? points.value : 0 %>);
update_sprint_info(old_id, '-', <%= points ? points.value : 0 %>);
}
| <%#=
* User: nmeylan
* Date: 09.11.14
* Time: 18:16
%>
var old_id = <%= old_sprint_id ? old_sprint_id : -1 %>;
var new_id = <%= sprint_id %>;
if (old_id !== new_id) {
update_sprint_info(new_id, '+', <%= points ? points.value : 0 %>);
update_sprint_info(old_id, '-', <%= points ? points.value : 0 %>);
}
$('... | Fix user stories border on drag and drop last element. | Fix user stories border on drag and drop last element.
| HTML+ERB | mit | nmeylan/RORganize-Plugin-Agile-Board,nmeylan/RORganize-Plugin-Agile-Board,nmeylan/RORganize-Plugin-Agile-Board |
484cf183d970b33028cd0514af4cfd1dca54c599 | deployment/puppet/rsyslog/templates/60-puppet-apply.conf.erb | deployment/puppet/rsyslog/templates/60-puppet-apply.conf.erb | # file is managed by puppet
### collect puppet logs of all levels in /var/log/puppet/puppet.log
if ($programname == 'puppet-apply' \
or $programname == 'puppet-error') \
### use 6 for INFO+ msg levels, 5 for WARN+ etc.
### and $syslogseverity <= '6' \
then -/var/log/puppet/puppet.log
### stop further processing for ... | # file is managed by puppet
### collect puppet logs of all levels in /var/log/puppet/puppet.log
if ($programname == 'puppet-apply' \
or $programname == 'puppet-user' \
or $programname == 'puppet-error') \
### use 6 for INFO+ msg levels, 5 for WARN+ etc.
### and $syslogseverity <= '6' \
then -/var/log/puppet/puppet.... | Fix local logs for puppet 3.4 | Fix local logs for puppet 3.4
This is just a simmetric change to the
https://review.openstack.org/#/c/72390/9/deployment/puppet/rsyslog/templates/30-server-remote-log.conf.erb
but for the local logs as well.
Change-Id: Iba66115fa7971f2a62b0626b95e392be0a9c4619
Signed-off-by: Bogdan Dobrelya <0b23cd1e586d5f091fecb3391... | HTML+ERB | apache-2.0 | slystopad/fuel-lib,SmartInfrastructures/fuel-library-dev,eayunstack/fuel-library,stackforge/fuel-library,eayunstack/fuel-library,zhaochao/fuel-library,zhaochao/fuel-library,huntxu/fuel-library,slystopad/fuel-lib,eayunstack/fuel-library,SmartInfrastructures/fuel-library-dev,Metaswitch/fuel-library,slystopad/fuel-lib,xar... |
6ef64425e865e11298252bb14ebf0055a0ff4aa8 | lib/generators/graphiti/templates/create_request_spec.rb.erb | lib/generators/graphiti/templates/create_request_spec.rb.erb | require 'rails_helper'
RSpec.describe "<%= type %>#create", type: :request do
subject(:make_request) do
jsonapi_post "<%= api_namespace %>/<%= type %>", payload
end
describe 'basic create' do
let(:payload) do
{
data: {
type: '<%= type %>',
attributes: {
# ..... | require 'rails_helper'
RSpec.describe "<%= type %>#create", type: :request do
subject(:make_request) do
jsonapi_post "<%= api_namespace %>/<%= type %>", payload
end
describe 'basic create' do
let(:params) do
<%- if defined?(FactoryBot) %>
FactoryBot.build(:<%= type.to_s.singularize %>).attri... | Use FactoryBot to generate params in the create_spec | Use FactoryBot to generate params in the create_spec
If FactoryBot exists, use it to generate the params for the basic spec
| HTML+ERB | mit | jsonapi-suite/jsonapi_suite,jsonapi-suite/jsonapi_suite,jsonapi-suite/jsonapi_suite |
6e373affe296449717eb22bd13ac731d790def7c | templates/import_from_pem.ps1.erb | templates/import_from_pem.ps1.erb | $ErrorActionPreference = 'Continue'
$certfile = [System.IO.Path]::GetTempFileName()
$keyfile = [System.IO.Path]::GetTempFileName()
$pfxfile = [System.IO.Path]::GetTempFileName()
$pfxPassword = Get-Random
$password = ConvertTo-SecureString -String $pfxPassword -Force -AsPlainText
[IO.File]::WriteAllLines(
$certfile... | $ErrorActionPreference = 'Continue'
if($env:USERNAME -eq "$($env:COMPUTERNAME)`$") {
# Workaround issues when running puppet as LocalSystem
# (we can't to write to the default TEMP folder for LocalSystem... 😭)
$env:TEMP = $env:TMP = $env:SYSTEMROOT + '\Temp'
}
$certfile = [System.IO.Path]::GetTempFileNam... | Use %SYSTEMROOT%\Temp when running as LocalSystem - default temp folder isn't writable | Use %SYSTEMROOT%\Temp when running as LocalSystem - default temp folder isn't writable
| HTML+ERB | apache-2.0 | red-gate/puppet-sslcertificate,red-gate/puppet-sslcertificate |
9602701f25beca21c126fa160e6c1dfbb413acb4 | app/views/profiles/_form.html.erb | app/views/profiles/_form.html.erb | <% semantic_form_for(@profile) do |f| %>
<%= f.error_messages %>
<% f.inputs do %>
<%= f.input :name %>
<%= f.input :path %>
<%= f.input :servers, :as => :check_boxes, :label => 'Apply to', :hint => 'Quickly apply this profile to all these servers' %>
<% end %>
<%= f.buttons %>
<% end %> | <% semantic_form_for(@profile) do |f| %>
<%= f.error_messages %>
<% f.inputs do %>
<%= f.input :name %>
<%= f.input :path %>
<%= f.input :servers, :collection => Server.find(:all, :order => 'hostname DESC'), :as => :check_boxes, :label => 'Apply to', :hint => 'Quickly apply this profile to all these ser... | Order the list of servers | Order the list of servers
| HTML+ERB | isc | Wijnand/retcon-web,driehuis/retcon-web,driehuis/retcon-web,driehuis/retcon-web,driehuis/retcon-web,Wijnand/retcon-web |
3c4d7b3c651705e2364c8d94552ef333864b5828 | cookbooks/nagios/templates/default/hostgroups.cfg.erb | cookbooks/nagios/templates/default/hostgroups.cfg.erb | # Hostgroup definitions
#
# Autogenerated by Chef.
define hostgroup {
hostgroup_name all
alias all
members *
}
<% @roles.each do |r| -%>
define hostgroup {
hostgroup_name <%= r %>
alias <%= r %>
}
<% end -%>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% @environments.each do |e| -%>
define h... | # Hostgroup definitions
#
# Autogenerated by Chef.
define hostgroup {
hostgroup_name all
alias all
members *
}
<% @roles.each do |r| -%>
define hostgroup {
hostgroup_name <%= r %>
alias <%= r %>
}
<% end -%>
<% if node['nagios']['multi_environment_monitoring'] -%>
<% @environments.each do |e| -%>
define h... | Add spaces between host group defs | Add spaces between host group defs
Former-commit-id: 544601dc412ab92a8b3779ad242e6229465e9b66 [formerly 626b43416913d06177ae5aa80675cab6dcad4079] [formerly e3af201247b415b9d355842011c86b2d0f9e7987 [formerly 11d4986027226bacba32026e04a1da887f084591 [formerly 2da970f6e2eacdf97f2f68f2f24520a5fced18c7]]]
Former-commit-id... | HTML+ERB | apache-2.0 | scottymarshall/rundeck,nilroy/rundeck,nilroy/rundeck,Webtrends/rundeck,scottymarshall/rundeck,Webtrends/rundeck,Webtrends/rundeck,nilroy/rundeck,scottymarshall/rundeck |
9fd0408c9a6de91f14cdd882d30944f78bc6ff66 | app/views/articles/index.html.erb | app/views/articles/index.html.erb | <div class="container" id="index_page">
<div class="row">
<div class="col-xs-12">
<h3 class="text-xs-center page-title">List of Articles</h3>
</div>
</div>
<%= render "article", obj: @articles %>
</div>
| <div class="container" id="index_page">
<div class="row">
<div class="col-xs-12">
<h3 class="text-xs-center page-title">List of Articles</h3>
</div>
</div>
<div class="row">
<div class="col s12">
<%= will_paginate @articles, renderer: MaterializeRenderer %>
... | Add paginate to the articles index view | Add paginate to the articles index view
| HTML+ERB | mit | juanhenriquez/blog-app,juanhenriquez/blog-app,juanhenriquez/blog-app |
955888976116e6dc135d1f41a522eba0b62ec2aa | app/views/grants/_person.html.erb | app/views/grants/_person.html.erb | <tr>
<th colspan="6">
<%= person.full_name %>
</th>
</tr>
<tr>
<th class="active">First Name</th>
<td><%= person.first_name %></td>
<th class="active">Last Name</th>
<td><%= person.last_name %></td>
<th class="active">Date of Birth</th>
<td><%= person.birth_date %></td>
</tr>
<tr>
<th class... | <tr>
<th colspan="6">
<%= person.full_name %>
</th>
</tr>
<tr>
<th class="active">First Name</th>
<td><%= person.first_name %></td>
<th class="active">Last Name</th>
<td><%= person.last_name %></td>
<th class="active">Date of Birth</th>
<td><%= person.birth_date.try(:strftime, '%m/%d/%Y') %></... | Use MM-DD-YYYY for applicant's DOB | Use MM-DD-YYYY for applicant's DOB
| HTML+ERB | mit | samerbuna/Grantzilla,on-site/Grantzilla,on-site/Grantzilla,samerbuna/Grantzilla,samerbuna/Grantzilla,on-site/Grantzilla |
19bd10003f7fbdefd062d09ab02a6a932634c41d | app/views/questions/show.html.erb | app/views/questions/show.html.erb | <div class="question-list">
<%= render partial: "questions/info", locals: {question: @question} %>
<ul class="comments">
<% @question.comments.each do |comment| %>
<%= render partial: "comments/show", locals: {comment: comment} %>
<% end %>
<li><%= link_to 'Add a comment', {controller: 'comments', action: 'ne... | <div class="question-list">
<%= render partial: "questions/info", locals: {question: @question} %>
<li><%= link_to 'Add a comment', {controller: 'comments', action: 'new', type: 'Question', id: @question} %></li>
<ul class="comments">
<% @question.comments.each do |comment| %>
<%= render partial: "comments/show... | Move link to add comment to questions | Move link to add comment to questions
| HTML+ERB | mit | nyc-fireflies-2015/whopperflow,nyc-fireflies-2015/whopperflow,JamesAnthonyLow/whopperflow,nyc-fireflies-2015/whopperflow,JamesAnthonyLow/whopperflow,JamesAnthonyLow/whopperflow |
0a379e7fedf4ebcd0f4b88700107c536980c4558 | app/views/shared/_list_description_for_rummager_list.html.erb | app/views/shared/_list_description_for_rummager_list.html.erb | <ol class="document-list">
<% editions.each_with_index do |edition, edition_index| %>
<li class="document-row" id="<%= "#{type}_#{edition.content_id}" %>">
<h2>
<%=
link_to(
edition.title,
edition.link,
class: 'govuk-link',
data: {
... | <ol class="document-list">
<% editions.each_with_index do |edition, edition_index| %>
<li class="document-row" id="<%= "#{type}_#{edition.content_id}" %>">
<h2>
<%=
link_to(
edition.title,
edition.url,
class: 'govuk-link',
data: {
... | Fix links on world location news | Fix links on world location news
link returns an anchor tag, whereas url returns a path.
| HTML+ERB | mit | alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall |
7dc7dff1a80e04f8d7366e30dc25358505bab880 | lib/views/general/_topnav.html.erb | lib/views/general/_topnav.html.erb | <ul class="main-menu">
<li id="logo" >
<%= link_to "Quesabes.uy",
frontpage_url,
{ class: logo_class }
%>
</li>
<li class="<%= 'selected' if params[:controller] == 'help' and params[:action] == 'requesting'%>">
<%= link_to _("¿Como funciona?"), help_requesting_path %>
</li>
<li... | <ul class="main-menu">
<li id="logo" >
<%= link_to "Quesabes.uy",
frontpage_url,
{ class: logo_class }
%>
</li>
<li class="<%= 'active' if params[:controller] == 'help' %>">
<%= link_to _("¿Como funciona?"), help_requesting_path %>
</li>
<li class="<%= 'active' if params[:contr... | Fix top navigation active link | Fix top navigation active link
| HTML+ERB | mit | datauy/quesabes-theme,datauy/quesabes-theme,datauy/quesabes-theme |
1ab91c99a071b283d5ab3f8d21c20542c9570c3a | app/views/questions/index.erb | app/views/questions/index.erb | <a href = '/questions/new'>New Question</a>
<ul>
<%@questions.each do |question| %>
<li>
<span>
<%if question.vote_count == 1%>
<%=question.vote_count%> vote
<%else%>
<%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.co... | <a href = '/questions/new'>New Question</a>
<ul>
<%@questions.each do |question| %>
<li>
<span>
<%if question.vote_count == 1%>
<%=question.vote_count%> vote
<%else%>
<%=question.vote_count%> votes
<%end%>
</span>
<span>
<%if question.answers.co... | Add 'ask' to username timestamp | Add 'ask' to username timestamp
| HTML+ERB | mit | nyc-bumblebees-2017/therealbumblebees-stackoverflow,nyc-bumblebees-2017/therealbumblebees-stackoverflow,nyc-bumblebees-2017/therealbumblebees-stackoverflow |
30296de7f20ddf637f4bd2d6fef2f617a93e26b6 | app/views/tasks/_new.html.erb | app/views/tasks/_new.html.erb | <h3>Create a New Task:</h3>
<%= form_for @task do |f| %>
<div><%= f.hidden_field :group_id, value: @group.id %></div>
<div>Task: <%= f.text_field :task %></div>
<div>Date Due: <%= f.date_select :due_date %></div>
<div><%= f.select :priority, [["high", 3], ["medium", 2], ["low", 1]]%></div>
<%= f.submit "creat... | <h3>Create a New Task:</h3>
<%= form_for @task do |f| %>
<div><%= f.hidden_field :group_id, value: @group.id %></div>
<div>Task: <%= f.text_field :task %></div>
<div>Date Due: <%= f.date_field :due_date, class: "datepicker" %></div>
<div><%= f.select :priority, [["high", 3], ["medium", 2], ["low", 1]], {}, class:... | Add fixed form for new task | Add fixed form for new task
| HTML+ERB | mit | yisusans/taskmate,yisusans/taskmate,yisusans/taskmate,yisusans/taskmate |
6c06abbaefbacca74641232146fa13eb99a45421 | app/views/trips/book.html.erb | app/views/trips/book.html.erb |
<h2>Booked!</h2>
<h3>(Parcel ID#<%= @parcel.id %>) is booked to ship with <%= @trip.driver.username %> on Trip #ID<%= @trip.id %></h3>
<br><br>
<%= button_to "Ship Another Parcel", new_parcel_path %>
|
<h2>Booked!</h2>
<h3>(Parcel ID#<%= @parcel.id %>) is booked to ship with <%= @trip.driver.username %> on Trip #ID<%= @trip.id %></h3>
<br><br>
<%= button_to "Ship Another Parcel", new_parcel_path, method: :get %>
| Change method to GET for button | Change method to GET for button
| HTML+ERB | mit | bicyclethief/caravan,bicyclethief/caravan,grantziolkowski/caravan,grantziolkowski/caravan,nyc-rock-doves-2015/caravan,grantziolkowski/caravan,nyc-rock-doves-2015/caravan,nyc-rock-doves-2015/caravan,bicyclethief/caravan |
19179a2288de0fa906c241c685753292f4d56548 | app/views/packages/_dater.html.erb | app/views/packages/_dater.html.erb | <div class="row cs-dater-panels cs-no-margin">
<div class="col-sm-4">
<div class="panel panel-default cs-no-margin">
<div class="panel-heading">
<h4 class="cs-no-margin">
First Commit
</h4>
</div>
<div class="panel-body">
<p class="cs-no-margin cs-pull-rig... | <div class="row cs-dater-panels cs-no-margin">
<div class="col-sm-4">
<div class="panel panel-default cs-no-margin">
<div class="panel-heading">
<h4 class="cs-no-margin">
First Commit
</h4>
</div>
<div class="panel-body">
<p class="cs-no-margin cs-pull-rig... | Add commit count to package show page | Add commit count to package show page | HTML+ERB | mit | djsegal/julia_observer,djsegal/julia_observer,djsegal/julia_observer |
1c08e21dee807bddcbe38c3a4e7a575cb7f87ce8 | app/views/datagrid/_table.html.erb | app/views/datagrid/_table.html.erb | <%#
Local variables:
* grid - instance of Datagrid
* assets - Array of database Entities
* options - passed options Hash
%>
<%= content_tag :table, options[:html] do %>
<%= datagrid_header(grid, options) %>
<%= datagrid_rows(grid, assets, options) %>
<% end %>
| <%#
Local variables:
* grid - instance of Datagrid
* assets - Array of database Entities
* options - passed options Hash
%>
<%= content_tag :table, options[:html] do %>
<thead>
<%= datagrid_header(grid, options) %>
</thead>
<tbody>
<%= datagrid_rows(grid, assets, options) %>
</tbody>
<% end %>
| Apply thead/tbody to default datagrid table | Apply thead/tbody to default datagrid table
| HTML+ERB | mit | 11factory/datagrid,reenhanced/datagrid,bogdan/datagrid,bogdan/datagrid,jeanlinux/datagrid,artofhuman/datagrid,artofhuman/datagrid,sadaf2605/datagrid,reenhanced/datagrid,jeanlinux/datagrid,sadaf2605/datagrid |
ab72ad77af560fc637fdd6e144761a10135151fa | app/views/koi/settings/_field_tags.html.erb | app/views/koi/settings/_field_tags.html.erb | <%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<sc... | <%- id = "koi-#{ new_uuid }" -%>
<% if object.respond_to?("#{object.key.singularize}_list".to_sym) %>
<%= f.input "#{object.key.singularize}_list".to_sym, as: :string, input_html: { id: id, style: 'width:500px' }, label: label %>
<%= render "koi/admin_crud/form_field_collection_errors", f: f, attr: attr %>
<%
... | Append any data_source tags to the existing tag list for extensibility. | Append any data_source tags to the existing tag list for extensibility. | HTML+ERB | mit | katalyst/koi,katalyst/koi,katalyst/koi |
73ab783d31bf5c9cc062bc80a994aa03bce871de | puppet/modules/gerrit/templates/backup.sh.erb | puppet/modules/gerrit/templates/backup.sh.erb | #!/bin/sh
mysqldump -u root -p<%= @mysql_root_pwd %> \
--databases gerrit | \
gzip -9 | \
ssh root@managesf.<%= @fqdn %> tee /root/gerritdb.sql.gz > /dev/null
tar --absolute-names -cf - \
/home/gerrit/site_path/git \
/home/gerrit/site_path/etc/replication.config \
/home/gerrit/site_path/... | #!/bin/sh
mysqldump -u root -p<%= @mysql_root_pwd %> \
--databases gerrit | \
gzip -9 | \
ssh root@managesf.<%= @fqdn %> tee /root/gerritdb.sql.gz > /dev/null
tar --absolute-names -cf - \
/home/gerrit/site_path/git \
/home/gerrit/site_path/etc/replication.config \
/home/gerrit/site_path/... | Fix gerrit backup fetched keys for replication | Fix gerrit backup fetched keys for replication
In case the replication key has been created via the managesf
endpoint then the backup simply skip then as the naming scheme
is alias_gh_projectname.key and the backup was looking only for
id_rsa*.
This patch backup the whole .ssh instead.
Change-Id: Iaf729769353812d9ee... | HTML+ERB | apache-2.0 | enovance/software-factory,enovance/software-factory,enovance/software-factory,enovance/software-factory,enovance/software-factory |
0e84fc78e2e19e3a5cb44525407722dd6ca31731 | templates/print/partials/header.tex.erb | templates/print/partials/header.tex.erb | \lhead{
\begin{tabularx}{\textwidth} {lXr}
%<% if @location.get_logo.present? %>
\raisebox{1mm}{\includegraphics[align=t,height=18mm,width=80mm,keepaspectratio]{<%= @location.get_logo.file.path %>}}
%<% end %>
& \small <%= break_lines @location.address.to_s(include: [:email,:phone]) -%>
& \raisebox{-6.5mm}{{\be... | Add a unified header that's vertically aligned | Add a unified header that's vertically aligned
Fixes #7
| HTML+ERB | agpl-3.0 | argosity/stockor,argosity/stockor,argosity/stockor,argosity/stockor | |
fe75d47254dec2d0cf42ab88bf7ce7dbd6171063 | app/views/categories/index.html.erb | app/views/categories/index.html.erb | <div id="categories_list"><% @categories.each do |category| %>
<li><%= category.name %><li>
<%end%>
</div> | <h1>All Categories!</h1>
<% @categories.each do |category| %>
<strong><ol><%= category.name %></ol></strong>
<%end%>
| Fix listing of each category on index | Fix listing of each category on index
| HTML+ERB | mit | TylerSmall19/cotton-tales,TylerSmall19/cotton-tales,TylerSmall19/cotton-tales |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.