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 |
|---|---|---|---|---|---|---|---|---|---|
fb84f6984f9eedb1f29170940d1dd2d2e405e67c | app/views/asset_events/_index_table.html.erb | app/views/asset_events/_index_table.html.erb | <div class="row-fluid">
<div class="span12">
<table class="table table-condensed table-striped table-hover table-bordered">
<thead>
<tr>
<th>Event</th>
<th>Date</th>
<th>Update</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<% @events.each do |e| %>
<tr data-action-path = '<%... | <div class="row-fluid">
<div class="span12">
<table class="table table-condensed table-striped table-hover table-bordered">
<thead>
<tr>
<th>Event</th>
<th>Date</th>
<th>Update</th>
<th>Notes</th>
</tr>
</thead>
<tbody>
<% @events.each do |e| %>
<tr data-action-path = '<%... | Remove converter in case of null issues | Remove converter in case of null issues
| HTML+ERB | mit | camsys/transam_core,nycdot/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core,camsys/transam_core,nycdot/transam_core |
aef2c6f5b8682b8365b313d2409cb9d27e03faa5 | app/views/products/chips/_greenlit.html.erb | app/views/products/chips/_greenlit.html.erb | <div class="chip">
<div class="chip-icon">
<%= app_icon(product, size: 48*2) %>
</div>
<div class="row">
<div class="col-sm-6">
<h4 class="alpha omega"><%= product.name %></h4>
<p class="omega"><%= product.pitch %></p>
</div>
<div class="col-sm-6 text-right">
<ul class="list-inl... | <div class="chip">
<div class="chip-icon">
<%= app_icon(product, size: 48*2) %>
</div>
<div class="row">
<div class="col-sm-6">
<h4 class="alpha omega"><%= product.name %></h4>
<p class="omega"><%= product.pitch %></p>
</div>
<div class="col-sm-6 text-right">
<ul class="list-inl... | Revert "Link mini-avatars in feature-flagged interest view to users' profiles" | Revert "Link mini-avatars in feature-flagged interest view to users' profiles"
This reverts commit 4cb45f18509c0530688c5512f06464ee14de2e86.
The layout was breaking because the chips/greenlit partial is already
inside an anchor tag in the global (non-feature-flagged) view
| HTML+ERB | agpl-3.0 | assemblymade/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta |
53af41a82cb7dafc4506966679f45c0df4a45801 | app/views/month/test_month_content.html.erb | app/views/month/test_month_content.html.erb | <h1>Test results</h1>
<%- @test_results.each do |photographer, results| -%>
<div>
<h2><%= photographer.fullname %></h2>
<ol>
<%- results.each do |test_name, result| -%>
<li><%= test_name %>: <%= result %></li>
<%- end -%>
</ol>
</div>
<%- end -%>
| <h1>Test results</h1>
<%- @test_results.each do |photographer, results| -%>
<div class="<%= results.values.all? ? 'alert-success' : 'alert-danger' -%>">
<h2><%= photographer.fullname %></h2>
<ol>
<%- results.each do |test_name, result| -%>
<li class="<%= result ? 'alert-success' : 'alert-danger' -%>"><%= test_n... | Add some basic styling for test output | Add some basic styling for test output
| HTML+ERB | mit | tomnatt/year-in-pictures-rails-helper,tomnatt/year-in-pictures-rails-helper,tomnatt/year-in-pictures-rails-helper,tomnatt/year-in-pictures-rails-helper |
c2fb4156cf935a73158e3ed795c63d67737b5733 | app/views/layouts/_navigation.html.erb | app/views/layouts/_navigation.html.erb | <nav>
<ul>
<li><%= link_to "Home", root_path %></li>
<% if user_signed_in? %>
<li><%= link_to "Add Resource", new_resource_path %></li>
<li><%= link_to "Languages", languages_path %></li>
<li><%= link_to "Courses", courses_path %></li>
<li><%= link_to "Log out", destroy_user_session_pa... | <nav>
<ul>
<li><%= link_to "Home", root_path %></li>
<% if user_signed_in? %>
<li><%= link_to "Add Resource", new_resource_path %></li>
<li><%= link_to "Languages", languages_path %></li>
<li><%= link_to "Log out", destroy_user_session_path, method: 'delete' %></li>
<% else %>
<li>... | Remove course link from navigation partial. | Remove course link from navigation partial.
| HTML+ERB | mit | abonner1/code_learning_resources_manager,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/code_learning_resources_manager,abonner1/sorter,abonner1/sorter |
14c5555704cbbe6017ccaed2ee3f422c7a3ecead | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<title>Curate-Science</title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => ... | <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<meta name="google-site-verification" content="7CrO9Y_velY8TjF6s8CWKB1s2S8TGRdQ8NoZ-gHPDE0" />
<title>Curate-Science</title>
<%= stylesheet_link_tag "application", media: "all", "data-tur... | Add google site verification so that we can set up a google org | Add google site verification so that we can set up a google org
| HTML+ERB | mit | ScienceCommons/api,ScienceCommons/api,ScienceCommons/api,ScienceCommons/api |
1963003f47f4bc8224c82a87e07da039851af07e | app/views/twitterations/index.html.erb | app/views/twitterations/index.html.erb | <%= javascript_include_tag 'prototype' %>
<script type="text/javascript">
function queryTwitter() {
var req = new Ajax.Request("http://search.twitter.com/trends.json", {
method: 'GET',
onFailure: function(request) {
alert('AJAX doesnt work.');
},
onComplete: fun... | <%= javascript_include_tag 'prototype' %>
<script type="text/javascript">
function queryTwitter() {
var req = new Ajax.Request("http://search.twitter.com/trends.json", {
method: 'GET',
onFailure: function(request) {
alert('AJAX doesnt work.');
},
onComplete: fun... | Make sure the page doesn't crash when loading if we get a duff AJAX response. | Make sure the page doesn't crash when loading if we get a duff AJAX response.
| HTML+ERB | mit | leenookx/semantix,leenookx/semantix,leenookx/semantix |
03a32cf61984994d2a24a4a97f45f6c52450e1d6 | app/views/habits/list.html.erb | app/views/habits/list.html.erb | <p>
Drag your habits to change their order.
</p>
<ul id="sortable_habits" data-update-url="<%= sort_habits_url %>">
<% @habits.each do |habit| %>
<%= content_tag_for :li, habit do %>
<span class="handle">[drag]</span>
<%= link_to habit.title, habit %>
<% end %>
<% end %>
</ul>
<%= link_to "D... | <p>
Drag your habits to change their order.
</p>
<ul id="sortable_habits" data-update-url="<%= sort_habits_url %>">
<% @habits.each do |habit| %>
<%= content_tag_for :li, habit do %>
<span class="handle">[drag]</span>
<%= link_to habit.title, habit %>
<% end %>
<% end %>
</ul>
| Remove link that is now in the footer | Remove link that is now in the footer
| HTML+ERB | mit | rossfuhrman/habitabs,rossfuhrman/habitabs,rossfuhrman/habitabs |
b591628ca1c141ac09661effe2c5ea2e21f52f18 | app/views/kaminari/_gap.html.erb | app/views/kaminari/_gap.html.erb | <%# Non-link tag that stands for skipped pages...
- available local variables
current_page: a page object for the currently displayed page
total_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
-%>
<li><%= t('views.pagination.truncate').html_s... | <%# Non-link tag that stands for skipped pages...
- available local variables
current_page: a page object for the currently displayed page
total_pages: total number of pages
per_page: number of items to fetch per page
remote: data-remote
-%>
<li><span><%= t('views.pagination.truncate').... | Fix styling of "..." in pagination controls | Fix styling of "..." in pagination controls
| HTML+ERB | agpl-3.0 | mysociety/remit,mysociety/remit,mysociety/remit,mysociety/remit |
7ae21f289918b401a20088b20fc9a5c305a73da4 | auth/app/views/spree/admin/users/_roles.html.erb | auth/app/views/spree/admin/users/_roles.html.erb | <div data-hook="admin_user_form_roles">
<p>
<%= label_tag nil, t(:roles) %><br />
<% @roles.each do |role| %>
<label class="sub">
<%= check_box_tag 'user[role_ids][]', role.id, @user.roles.include?(role) %>
<%= role.name %>
</label>
<% end %>
<%= hidden_field_tag 'us... | <div data-hook="admin_user_form_roles">
<p>
<%= label_tag nil, t(:roles) %><br />
<% @roles.each do |role| %>
<label class="sub">
<%= check_box_tag 'user[role_ids][]', role.id, @user.roles.include?(role), :id => "user_role_#{role.name}" %>
<%= role.name %>
</label>
<% en... | Add :id to make the test passed | [auth] Add :id to make the test passed
| HTML+ERB | bsd-3-clause | karlitxo/spree,wolfieorama/spree,shioyama/spree,radarseesradar/spree,jordan-brough/solidus,vinayvinsol/spree,jasonfb/spree,Migweld/spree,sideci-sample/sideci-sample-spree,DynamoMTL/spree,TimurTarasenko/spree,kewaunited/spree,odk211/spree,delphsoft/spree-store-ballchair,surfdome/spree,bonobos/solidus,DarkoP/spree,woboin... |
4f447c8a362f5794bd7ebf9b07b3ba084df46bb7 | _assets/javascripts/app.js.coffee.erb | _assets/javascripts/app.js.coffee.erb | # Add JavaScript required for your deck.
# Add deck extensions from deck.js/extensions.
#= require highlightjs
#= require deck.js/core/deck.core
$(document).bind 'deck.init', ->
# Show social buttons after deck is loaded.
<% if site.config['social'] %>
$('aside.social-buttons').hide().css('visibility', 'visible'... | # Add JavaScript required for your deck.
# Add deck extensions from deck.js/extensions.
#= require highlightjs
#= require deck.js/core/deck.core
$(document).bind 'deck.init', ->
# Show social buttons after deck is loaded.
<% if site.config['social'] %>
$('aside.social-buttons').hide().css('visibility', 'visible'... | Fix bug where Google +1 button may fail to appear. | Fix bug where Google +1 button may fail to appear.
| HTML+ERB | mit | razor-x/jekyll-and-deck.js,razor-x/jekyll-and-deck.js,razor-x/jekyll-and-deck.js |
70c406f01a61ed7383bfecff192b2588c4bfcdd1 | lib/views/general/_before_head_end.html.erb | lib/views/general/_before_head_end.html.erb | <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,400italic' rel='stylesheet' type='text/css'>
<meta name="google-site-verification" content="DbAHEzh0igI0rZziSexQh5fTrbRfNPSw8BdmrmNY_70" />
| <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,400italic' rel='stylesheet' type='text/css'>
<meta name="google-site-verification" content="DbAHEzh0igI0rZziSexQh5fTrbRfNPSw8BdmrmNY_70" />
| Use protocol-less google font url | Use protocol-less google font url
| HTML+ERB | mit | schlos/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,mysociety/whatdotheyknow-theme,schlos/whatdotheyknow-theme |
6b966369dbbd5ebfa57da1eb8fc2ee792a86f5d0 | app/views/alchemy/admin/resources/_filter_bar.html.erb | app/views/alchemy/admin/resources/_filter_bar.html.erb | <div id="filter_bar">
<h3><%= Alchemy.t('Filter') %></h3>
<%= select_tag(
'resource_filter',
options_for_select(
resource_filter_select, search_filter_params[:filter]
),
include_blank: Alchemy.t(:all, scope: ['resources', resource_name, 'filters']),
data: { remote: !!request.xhr? },
cl... | <div id="filter_bar">
<h3><%= Alchemy.t('Filter') %></h3>
<%= select_tag(
'resource_filter',
options_for_select(
resource_filter_select, search_filter_params[:filter]
),
include_blank: Alchemy.t(:all, scope: ['resources', resource_name, 'filters']),
data: { remote: !!request.xhr? },
cl... | Allow to pass url into filter_bar | Allow to pass url into filter_bar
| HTML+ERB | bsd-3-clause | AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,robinboening/alchemy_cms,robinboening/alchemy_cms |
5ab840c838425e1e8c14d7e8704254f332315a75 | app/views/settings/_intouch.html.erb | app/views/settings/_intouch.html.erb | <% intouch_tabs = [
{name: 'common', partial: 'settings/common', label: 'intouch.label.common'},
{name: 'telegram', partial: 'settings/telegram', label: 'intouch.label.telegram'},
{name: 'settings_templates', partial: 'settings/settings_templates', label: 'intouch.label.settings_templates'},
{name: 'sid... | <% intouch_tabs = [
{name: 'common', partial: 'settings/common', label: 'intouch.label.common'},
{name: 'telegram', partial: 'settings/telegram', label: 'intouch.label.telegram'},
{name: 'settings_templates', partial: 'settings/settings_templates', label: 'intouch.label.settings_templates'},
{name: 'sid... | Remove telegram_common warning from settings page | Remove telegram_common warning from settings page
| HTML+ERB | mit | centosadmin/redmine_intouch,olemskoi/redmine_intouch,centosadmin/redmine_intouch,centosadmin/redmine_intouch,olemskoi/redmine_intouch,centosadmin/redmine_intouch,olemskoi/redmine_intouch,olemskoi/redmine_intouch |
506f115c809f5eaeef90c1a8dffa514ea03c3c44 | pages/tutorials/graphql-sso.md.erb | pages/tutorials/graphql-sso.md.erb | # Manual SSO Setup with GraphQL
- can self-serve your SSO setup with Buildkite using GraphQL
- follow the steps below to enable sso for your org
- set up Buildkite in your identity provider, guides available for x x and x
| Add guide page with notes | Add guide page with notes
| HTML+ERB | mit | buildkite/docs,buildkite/docs,buildkite/docs,buildkite/docs | |
46c34f3f7bf2e9474bf6c424f6032ee51ede0ce2 | app/views/admin/beer_taps/show.html.erb | app/views/admin/beer_taps/show.html.erb | <div class="page-header">
<div class="pull-right">
<%= link_to 'Edit', [:edit, :admin, @beer_tap], :class => 'btn btn-default' %>
</div>
<h1>Admin Tap: <%= @beer_tap.name %></h1>
</div>
Put more info here! | <div class="page-header">
<div class="pull-right">
<%= link_to 'Edit', [:edit, :admin, @beer_tap], :class => 'btn btn-default' %>
</div>
<h1><%= link_to "Admin Taps", [:admin, :beer_taps] %> > <%= @beer_tap.name %></h1>
</div>
<table class="table-striped" id="stats">
<tr>
<td>GPIO Pin</td>
<td><%= ... | Put info on tap show page | Put info on tap show page
| HTML+ERB | mit | collectiveidea/bender,collectiveidea/bender,collectiveidea/bender,collectiveidea/bender |
b1fc1ae6e04f519ba43a251606eaa3abbfa80be0 | app/views/partials/_header_new.html.erb | app/views/partials/_header_new.html.erb | <header class="customer head span_12_of_12">
<div class="logo">
<a class="rooster" href="/"><img class="header-logo" src="<%=image_path('white.png')%>" alt="Dinner Winner"/></a>
</div>
</header>
| Add header for devise views | Add header for devise views
| HTML+ERB | mit | codemecurtis/dinnerwinner,codemecurtis/dinnerwinner,codemecurtis/dinnerwinner | |
5cf91faa5398295959c6e9e16126426b3f2d7803 | views/deploy/list.erb | views/deploy/list.erb | <h1 class="page-header">Deploy</h1>
<div class="table-responsive">
<% if site.config['utterson_deploy'].nil? %>
<div class="alert alert-danger" role="alert">
<strong>Error!</strong> No environments exists to deploy to!<br />
Read more in <a href="http://gabriel-john.github.io/docs/">the documenta... | <h1 class="page-header">Deploy</h1>
<div class="table-responsive">
<% if site.config['utterson_deploy'].nil? %>
<div class="alert alert-danger" role="alert">
<strong>Error!</strong> No environments exists to deploy to!<br />
Read more in <a href="https://github.com/gabriel-john/utterson#how-to-se... | Fix link to deploy documentation | Fix link to deploy documentation
( The website isn't up yet )
| HTML+ERB | bsd-3-clause | gabriel-john/utterson,gabriel-john/utterson |
df351952fbe67eb80d9de43d18165d31d14b5ca6 | app/views/activities/index.html.erb | app/views/activities/index.html.erb | <h1 class="text-center">FlatironExchange</h1>
<h2>Community Activity</h2>
<% @activities.each do |activity| %>
<img src="<%= activity.user.image_url%>" class="img-circle" height="20" align="left">
<%= ActivityPresenter.new(activity, self).render_activity %>
<% end %>
| <h1 class="text-center">FlatironExchange</h1>
<h2>Community Activity</h2>
<table class="table table-responsive table-hover">
<tbody>
<% @activities.each do |activity| %>
<tr>
<td><img src="<%= activity.user.image_url%>" class="img-circle" height="20" align="left">
<%= ActivityPresenter.new... | Edit activity page into grid | Edit activity page into grid
| HTML+ERB | mit | DanFerrer/FlatironExchange,DanFerrer/FlatironExchange,DanFerrer/FlatironExchange |
dd36c1843657a639fec16e4ff94d42293977910b | app/views/layouts/_flash.html.erb | app/views/layouts/_flash.html.erb | <flash id="flash-messages">
<% flash.each do |key, value| %>
<% key = (key == 'alert') ? 'danger' : key %>
<% key = (key == 'notice') ? 'success' : key %>
<div class="animated bounceInUp alert alert-<%= key %>"><%= value %></div>
<% end %>
</flash>
| <flash id="flash-messages">
<% flash.each do |key, value| %>
<% key = (key == 'alert') ? 'danger' : key %>
<% key = (key == 'notice') ? 'success' : key %>
<div class="panel panel-<%= key %> animated bounceInUp">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-warning"></i> Noti... | Change alert notifications for panel tags | [Template] Change alert notifications for panel tags
| HTML+ERB | mit | marceloboeira/spread_blood,SpreadBlood/core,marceloboeira/spread_blood,SpreadBlood/core,marceloboeira/spread_blood,SpreadBlood/core |
f3dc40fceb5e1871de4daac11a09b7c80a3614d5 | app/views/layouts/engine.html.erb | app/views/layouts/engine.html.erb | <% set_meta_tags(alternate: alternate_options) %>
<% content_for(:alternate_link) do %>
<%= link_to(alternate_url, lang: alternate_locale, class: "t-#{alternate_locale}-link") do %>
<span class="icon icon--globe"></span>
<%= t("locales.#{alternate_locale}") %>
<% end %>
<% end %>
<%= render layout: 'layou... | <% set_meta_tags(alternate: alternate_options) %>
<% content_for(:alternate_link) do %>
<%= link_to(alternate_url, lang: alternate_locale, class: "t-#{alternate_locale}-link") do %>
<span class="icon icon--globe"></span>
<%= t("locales.#{alternate_locale}") %>
<% end %>
<% end %>
<% content_for :context_b... | Make 'skip to main content' skip breadcrumbs by moving them to a content_for. | Make 'skip to main content' skip breadcrumbs by moving them to a content_for.
| HTML+ERB | mit | moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend |
7579387300f03d7f7e965a640b6220779284cd8e | app/views/shared/_header.html.erb | app/views/shared/_header.html.erb | <nav>
<div class="logo">
<%= image_tag "logo.png" %>
</div>
<ul class="headerNav">
<li><a href="/" class='active'>Home</a></li>
<li><a href="#featured">Featured</a></li>
<li><a href="#howitworks">How It Works</a></li>
<li><a href="#partners">Partners</a></li>
<li>
<% if user_signed_i... | <nav>
<div class="logo">
<%= image_tag "logo.png" %>
</div>
<ul class="headerNav">
<li><a href="/" class='active'>Home</a></li>
<li><a href="/#featured">Featured</a></li>
<li><a href="/#howitworks">How It Works</a></li>
<li><a href="/#partners">Partners</a></li>
<li>
<% if user_signe... | Fix nav links so that they work from any page | Fix nav links so that they work from any page
| HTML+ERB | mit | womenrising/womenrising,womenrising/womenrising,womenrising/womenrising |
cff6281155104eb548924f05f3da2316e95fddf2 | app/views/time_slots/new.html.erb | app/views/time_slots/new.html.erb | <% title "New Time Slot" %>
<h2>Add New Time Slot</h2>
<% if current_user.is_admin_of?(@department) %>
<p>
<%= check_box_tag :repeating_event, false, false, onclick: "$('.toggle_me').toggle()" %> Repeating event?
</p>
<% end %>
<div class="toggle_me">
<%= form_for @time_slot do |f| %>
... | <% title "New Time Slot" %>
<% if current_user.is_admin_of?(@department) %>
<p>
<%= check_box_tag :repeating_event, false, false, onclick: "$('.toggle_me').toggle()" %> Repeating event?
</p>
<% end %>
<div class="toggle_me">
<%= form_for @time_slot do |f| %>
<%= f.error_messages %>
... | Remove redundant title in new form | Remove redundant title in new form
| HTML+ERB | mit | YaleSTC/shifts,YaleSTC/shifts,YaleSTC/shifts |
d0be7e711e53e345247f0e4b2e3f272db2686cf8 | app/views/admin/stats/_stats_by_date.html.erb | app/views/admin/stats/_stats_by_date.html.erb | <h2>Statistics By Date</h2>
<h3>Statistics in this section are filtered by the dates entered in the form below.
The data is unfiltered unless the date form has been filled in. Start date is required and the deafult end is now.
</h3>
<%= render "admin/stats/date_form" %>
<%= render "admin/stats/files" %>
<%= render "a... | <h2>Statistics By Date</h2>
<p>Statistics in this section are filtered by the dates entered in the form below.
The data is unfiltered unless the date form has been filled in. Start date is required and the default end is now.
</p>
<%= render "admin/stats/date_form" %>
<%= render "admin/stats/files" %>
<%= render "adm... | Fix typo and change markup for directions | Fix typo and change markup for directions
| HTML+ERB | apache-2.0 | samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax |
0d9e3e960321b1868a0d046b10b638884b021d70 | app/views/channels/get_email_address.html.erb | app/views/channels/get_email_address.html.erb | <h1>Channels: Email address</h1>
<p>The following is your email address to use with Channels. Copy and paste it into the box at
<a href="https://stackoverflow.com/c/charcoal/join">stackoverflow.com/c/charcoal/join</a>.</p>
<input type="text" class="form-control" value="<%= @secret %>@channel-verify.erwaysoftware.com"... | <h1>Channels: Email address</h1>
<p>The following is your email address to use with Channels. Copy and paste it into the box at
<a href="https://stackoverflow.com/c/charcoal/join">stackoverflow.com/c/charcoal/join</a>.</p>
<input type="text" class="form-control" value="<%= @secret %>@channel-verify.charcoal-se.org" /... | Use a new domain for channel-verify | Use a new domain for channel-verify
| HTML+ERB | cc0-1.0 | Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke,Charcoal-SE/metasmoke |
0f598dd3d90ddcf6a565234fb65b9f06d4503149 | templates/default/client-logrotate.erb | templates/default/client-logrotate.erb | /var/log/chef/client.log {
rotate 7
daily
compress
missingok
notifempty
sharedscripts
create 644 root root
}
| /var/log/chef/client.log {
rotate 7
daily
compress
missingok
notifempty
sharedscripts
copytruncate
create 644 root root
}
| Switch to copytruncate for the chef-client log since it might end up rotating during a Chef run. | Switch to copytruncate for the chef-client log since it might end up rotating during a Chef run.
| HTML+ERB | apache-2.0 | bluestatedigital/chef-client,bluestatedigital/chef-client,bluestatedigital/chef-client |
bcec917272264fde1875bd2f46a705325be985aa | kiwi/app/views/answers/_form.html.erb | kiwi/app/views/answers/_form.html.erb | <%= form_for [@question, @question.answers.build] do |f| %>
<fieldset id="form" class="container">
<div id="input-options">
<%= f.text_area :content %>
<%= f.hidden_field :question_id %>
<% if logged_in? %>
<%= f.hidden_field :user_id, :value => current_user.id %>
<% end %>
</div... | <%= form_for [@question, @question.answers.build] do |f| %>
<fieldset id="form" class="container">
<div id="input-options">
<%= f.text_area :content %>
<%= f.hidden_field :question_id %>
<% if logged_in? %>
<%= f.hidden_field :user_id, :value => current_user.id %>
<% end %>
</div... | Add error handling for non-ajax requests to post answer | Add error handling for non-ajax requests to post answer | HTML+ERB | mit | nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow,nyc-island-foxes-2016/kiwi-overflow |
6e7d221c4dcafcf375a979f7a0f866698f44c300 | lib/app/views/dashboard/commented.erb | lib/app/views/dashboard/commented.erb | <% if dashboard.has_activity? %>
<div class="span4">
<h2>Activity</h2>
<ul style="list-style-type: none; margin: 0;">
<% dashboard.notifications.each do |notification| %>
<% if notification.item %>
<li style="padding: 5px 0;">
<span style="padding-right: 5px;" class="icon-c... | <% if dashboard.has_activity? %>
<div class="span4">
<h2>Activity</h2>
<ul style="list-style-type: none; margin: 0;">
<% dashboard.notifications.each do |notification| %>
<% if notification.item %>
<li style="padding: 5px 0;">
<span style="padding-right: 5px;" class="icon-c... | Add note about dashboard improvements | Add note about dashboard improvements
| HTML+ERB | agpl-3.0 | nathanbwright/exercism.io,emilyforst/exercism.io,treiff/exercism.io,kangkyu/exercism.io,chinaowl/exercism.io,bmulvihill/exercism.io,hanumakanthvvn/exercism.io,MBGeoff/Exercism.io-mbgeoff,kizerxl/exercism.io,bmulvihill/exercism.io,exercistas/exercism.io,treiff/exercism.io,IanDCarroll/exercism.io,mhelmetag/exercism.io,mh... |
6edde4bbb92dc901e978b385be71d3539360def4 | app/views/products/_navbar.html.erb | app/views/products/_navbar.html.erb | <ul class="nav nav-tabs no-border">
<% unless @product.meta? %>
<li class="<%= nav_active_class(:idea) %>">
<a href="<%= product_path(product) %>">
<span class="icon icon-compass icon-left"></span>
Idea
</a>
</li>
<% end %>
<li class="<%= nav_active_class(:posts) %>">
<a href="<%= pr... | <ul class="nav nav-tabs no-border">
<% unless @product.meta? %>
<li class="<%= nav_active_class(:idea) %>">
<a href="<%= product_path(product) %>">
<span class="icon icon-compass icon-left"></span>
Idea
</a>
</li>
<% end %>
<li class="<%= nav_active_class(:posts) %>">
<a href="<%= pr... | Add chat button back to product nav | Add chat button back to product nav
| HTML+ERB | agpl-3.0 | assemblymade/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta,assemblymade/meta,lachlanjc/meta |
0823ba7d758d1f133b2275974fad51a17f362861 | app/views/completed_routines/_index.html.erb | app/views/completed_routines/_index.html.erb | <div class="completed_routines mt-2">
<h4>Recently Completed Routines</h4>
<% if 0 < @completed_routines.count %>
<table data-role="table" data-mode="reflow" class="ui-responsive">
<thead>
<th data-priority="1">Routine</th><th>Clean?</th><th data-priority="2">Date</th>
</thead>
<tbody>... | <div class="completed_routines mt-2">
<h4>Recently Completed Routines</h4>
<% if 0 < @completed_routines.count %>
<table class="table">
<thead>
<th class="text-left">Routine</th>
<th class="text-center">Clean?</th>
<th class="text-right">Date</th>
</thead>
<tbody>
... | Make the completed routines table look nicer. | Make the completed routines table look nicer.
| HTML+ERB | mpl-2.0 | lcreid/positive-behaviour-support,lcreid/positive-behaviour-support,lcreid/positive-behaviour-support |
da4344a02920b225bf797f209e106f3ccaa1d21f | app/views/noodall/admin/nodes/_home.html.erb | app/views/noodall/admin/nodes/_home.html.erb | <%= render :partial => 'body', :locals => { :f => f } %>
<% content_for :component_table do %>
<table class="component-table">
<tr>
<td colspan="3"><a href="#main_component_form_0" class="slot_link">1</a></td>
<td/>
</tr>
<tr>
<td class="content" colspan="2"></td>
<td><a href="#small_component_f... | <%= render :partial => 'body', :locals => { :f => f } %>
| Remove incorrect table from default admin/home view | Remove incorrect table from default admin/home view
| HTML+ERB | mit | noodall/noodall-ui,noodall/noodall-ui |
46ee3345eaa8bf3f28fa2b69b8a1c4d641f1b01f | app/views/content/_form_for_topics.html.erb | app/views/content/_form_for_topics.html.erb | <h3>Topics</h3>
<%= f.select :topics,
linkables.topics,
{},
{ multiple: true, class: "select2", data: { placeholder: "Choose Topics..." } } %>
<p class='explain'>
Topic pages live under <a href="https://www.gov.uk/topic">/topic</a>.
They contain collections of pages on GOV.UK. Example:
<a href="http... | <h3>Topics</h3>
<%= f.select :topics,
linkables.topics,
{},
{ multiple: true, class: "select2", data: { placeholder: "Choose Topics..." } } %>
<p class='explain'>
Topic pages live under <a href="https://www.gov.uk/topic">/topic</a>.
They contain collections of pages on GOV.UK. Example:
<a href="http... | Fix copy for tagging page | Fix copy for tagging page
This copy was misleading: an email can be sent when the page is
published, not when the page is tagged.
| HTML+ERB | mit | alphagov/content-tagger,alphagov/content-tagger,alphagov/content-tagger |
ca03816f1184b126381f926a71a35272597cc7ea | core/app/views/spree/admin/orders/_add_product.html.erb | core/app/views/spree/admin/orders/_add_product.html.erb | <%= render :partial => "spree/admin/variants/autocomplete", :formats => :js %>
<div id="add-line-item" data-hook>
<fieldset>
<legend><%= t(:add_product) %></legend>
<div data-hook="add_product_name" class="field eight columns alpha">
<%= label_tag :add_product_name, t(:name_or_sku) %>
<%= hi... | <%= render :partial => "spree/admin/variants/autocomplete", :formats => :js %>
<div id="add-line-item" data-hook>
<fieldset>
<legend><%= t(:add_product) %></legend>
<div data-hook="add_product_name" class="field eight columns alpha">
<%= label_tag :add_product_name, t(:name_or_sku) %>
<%= hi... | Fix wrong use of alpha class inside _add_product partial in admin | Fix wrong use of alpha class inside _add_product partial in admin
| HTML+ERB | bsd-3-clause | Antdesk/karpal-spree,athal7/solidus,ckk-scratch/solidus,azclick/spree,volpejoaquin/spree,woboinc/spree,caiqinghua/spree,APohio/spree,keatonrow/spree,shekibobo/spree,ckk-scratch/solidus,watg/spree,SadTreeFriends/spree,biagidp/spree,TrialGuides/spree,jaspreet21anand/spree,trigrass2/spree,jasonfb/spree,siddharth28/spree,p... |
0527b275a5bf4edfca9e6ccbdefacfe4fb501fd4 | templates/hiera.yaml.erb | templates/hiera.yaml.erb | ---
:backends: - yaml
:logger: console
:hierarchy:
<%= hierarchy.to_yaml.split("\n")[1..-1] -%>
:yaml:
:datadir: <%= datadir %>
| ---
:backends: - yaml
:logger: console
:hierarchy:
<%= hierarchy.to_yaml.split("\n")[1..-1].join("\n") %>
:yaml:
:datadir: <%= datadir %>
| Fix hierarchy output in template | Bugfix: Fix hierarchy output in template
| HTML+ERB | apache-2.0 | hunner/puppet-hiera,reidmv/puppet-hiera,vchepkov/puppet-hiera,reidmv/puppet-hiera,GeoffWilliams/puppet-hiera,logicminds/puppet-hiera,logicminds/puppet-hiera,GeoffWilliams/puppet-hiera,redhat-cip/puppet-hiera,stwomack/puppet-hiera,arineng/puppet-hiera,oasys/puppet-hiera,vchepkov/puppet-hiera,stwomack/puppet-hiera,oasys/... |
87c886338224c732989ef1fd374bb50b82d7559b | app/views/schools/temperature_observations/_temperature_recording_fields.html.erb | app/views/schools/temperature_observations/_temperature_recording_fields.html.erb | <fieldset>
<div class="form-row">
<div class="col-lg-6 form-group">
<%= temperature_form.label :centigrade, temperature_form.object.location.name, required: false, class: 'h2 mt-4'%>
<%= temperature_form.hidden_field :location_id, value: temperature_form.object.location.id %>
</div>
<div clas... | <fieldset>
<div class="form-row justify-content-center">
<div class="col-lg-4 form-group">
<%= temperature_form.label :centigrade, temperature_form.object.location.name, required: false, class: 'h4 mt-4'%>
<%= temperature_form.hidden_field :location_id, value: temperature_form.object.location.id %>
... | Make room to temp relationship more obvious, reduce font size | Make room to temp relationship more obvious, reduce font size
| HTML+ERB | mit | BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks |
29f1a115f470f4f0b315291f7c3faf4253bd7ccf | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>SeattleCrimeVisualization</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>
</html>
| <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= content_for?(:title) ? yield(:title) : "foundation-rails" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor... | Change head per foundation install, add nav buttons | Change head per foundation install, add nav buttons
| HTML+ERB | mit | fma2/seattle-crime-visualization,fma2/seattle-crime-visualization |
fba299f14347863b5f372c3a398e5bd019264c36 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>ContactsFrontend</title>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title><%= yield :title %> - GOV.UK</title>
<%= yield :head %>
</head>
<body class="<%= yield :body_classes %>">
<div id="wrapper" class="<%= yield :wrapper_classes %>">
<%= yield %>
</div>
</body>
</html>
| Update application layout for slimmer. | Update application layout for slimmer.
Mostly adding the wrapper div, but also adding some yields etc that are
commonly used.
| HTML+ERB | mit | alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend,alphagov/contacts-frontend |
f653328416caa3fc4314da3d56624acdcdb6517e | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Satq</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Store ALL the quotes</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
</body>
</html>
| Use full app name in page title | Use full app name in page title
| HTML+ERB | mit | skyshaper/satq,skyshaper/satq,skyshaper/satq,skyshaper/satq |
c489af5a96ecd36ef67eccc887ba7a31d9b5f64d | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= content_for?(:title) ? yield(:title) : "OK Councillr" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor/mod... | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= content_for?(:title) ? yield(:title) : "OK Councillr" %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor/mod... | Add Classes To Main Header & Footer | Add Classes To Main Header & Footer
| HTML+ERB | mit | CivicHaxx/ok_councillr,CivicHaxx/ok_councillr,CivicHaxx/ok_councillr |
f9b32fd81b775bd8ff36564a819482b19da6f34c | app/views/local_government_areas/_subnav.html.erb | app/views/local_government_areas/_subnav.html.erb | <ul class="link-list">
<li><%= link_to 'All local government areas', local_government_areas_path %></li>
<li>
<%= link_to 'Create new local government area',
new_local_government_area_path %>
</li>
</ul>
| <ul class="link-list">
<li><%= link_to 'All local government areas', local_government_areas_path %></li>
<% if current_user.admin? %>
<li>
<%= link_to 'Create new local government area',
new_local_government_area_path %>
</li>
<% end %>
</ul>
| Hide 'Create new LGA' link from non-admin users | Hide 'Create new LGA' link from non-admin users
| HTML+ERB | apache-2.0 | NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool,NSWPlanning/data-verification-tool |
a56f94b9b994baa0d381b1908594cf9eca8066ef | cookbooks/apt/templates/default/hp.list.erb | cookbooks/apt/templates/default/hp.list.erb | # DO NOT EDIT - This file is being maintained by Chef
deb <%= @url %> trusty/current non-free
| # DO NOT EDIT - This file is being maintained by Chef
<% if node[:lsb][:release].to_f >= 16.04 -%>
deb <%= @url %> xenial/current non-free
<% else -%>
deb <%= @url %> trusty/current non-free
<% end -%>
| Use the xenial repository for HP tools on 16.04 and later | Use the xenial repository for HP tools on 16.04 and later
| HTML+ERB | apache-2.0 | tomhughes/openstreetmap-chef,openstreetmap/chef,zerebubuth/openstreetmap-chef,tomhughes/openstreetmap-chef,openstreetmap/chef,tomhughes/openstreetmap-chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,Firefishy/chef,openstreetmap/chef,tomhughes/openstreetmap-chef,openstreetmap/chef,Firefishy/chef,Firefishy/chef,openstre... |
af7fe45f8c21a9d624626f5934820dfec4a42af1 | core/app/views/spree/admin/shared/_alert.html.erb | core/app/views/spree/admin/shared/_alert.html.erb | <div class="alert <%= alert.severity.downcase %>">
<%= alert.message %> <%= link_to alert.url_name, alert.url if alert.url %>
<%= link_to 'X', dismiss_alert_admin_general_settings_path(:alert_id => alert.id),
:remote => true, :method => :post, :class => 'dismiss' %>
</div>
| <div class="alert <%= alert.severity.downcase %>">
<%= alert.message %> <%= link_to alert.url_name, alert.url if alert.url %>
<%= link_to 'X', spree.dismiss_alert_admin_general_settings_path(:alert_id => alert.id),
:remote => true, :method => :post, :class => 'dismiss' %>
</div>
| Fix route reference in shared/_alert so that it can be shared | Fix route reference in shared/_alert so that it can be shared
Causes errors in custom admin sections otherwise.
Fixes #2564
| HTML+ERB | bsd-3-clause | lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable,lzcabrera/spree-1-3-stable |
e7dadf97352ecc0c4a51138ecd4a8f718403082f | webapp/app/views/shared/_missing_event.erb | webapp/app/views/shared/_missing_event.erb | It seems you've tried to access an event with the wrong URL.
<% if event_link %>
Please try <%= event_link %>
<% else %>
Could not generate a valid link for you. Please notify your system administrator.
<% end %> | It seems you've tried to access an event with the wrong URL.
<% if defined?(event_link) %>
Please try <%= event_link %>
<% else %>
Could not generate a valid link for you. Please notify your system administrator.
<% end %>
| Handle undefined local for missing event | Handle undefined local for missing event
| HTML+ERB | agpl-3.0 | csinitiative/trisano,csinitiative/trisano,csinitiative/trisano,csinitiative/trisano,csinitiative/trisano |
58267a7de7b20dedb08253f7f07544ac1d72490d | app/views/questions/_vote_down.html.erb | app/views/questions/_vote_down.html.erb | <%= link_to image_tag('thumbs-down.png', class: "up-vote-question thumbs", data: { direction: "down", url: "/questions/#{@question.id}/votes", question_id: @question.id, votable_type: "Question"}), "/" %> | <%= link_to image_tag('thumbs-down.png', class: "up-vote-question thumbs", data: { direction: "down", url: "/questions/#{@question.id}/votes", question_id: @question.id, votable_type: "Question"}), "#" %> | Add thumb image for ajax call | Add thumb image for ajax call
| HTML+ERB | mit | daviddeneroff/shaq-overflow,daviddeneroff/shaq-overflow,daviddeneroff/shaq-overflow |
6846085cf9c53e260fc32f923736e71ea987ed04 | app/views/pages/tos.html.erb | app/views/pages/tos.html.erb | <% title 'Terms and Conditions' %>
<%= render 'shared/navbar' %>
<div class="page page-flat">
<div class="container">
<div class="row">
<div class="col-md-8 col-xs-8 col-md-offset-2 col-xs-offset-2">
<div class="page-header">
<h2 class="page-header-title">Terms and Conditions</h2>
... | <% title 'Terms and Conditions' %>
<%= render 'shared/navbar' %>
<div class="page page-flat">
<div class="container">
<div class="row">
<div class="col-md-8 col-xs-8 col-md-offset-2 col-xs-offset-2">
<div class="page-header">
<h2 class="page-header-title">Terms and Conditions</h2>
... | Update terms to make the selling of products more clear | Update terms to make the selling of products more clear
| HTML+ERB | agpl-3.0 | lachlanjc/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta,lachlanjc/meta,assemblymade/meta,assemblymade/meta,lachlanjc/meta |
5cb1c0622bb065aae8ab5467623d1931ac2966d9 | app/views/licences/_edit.html.erb | app/views/licences/_edit.html.erb | <%= semantic_form_for @resource, :url => edition_path(@resource), :as => :edition, :html => { :id => 'edition-form' } do |f| %>
<%= f.inputs do %>
<%= render :partial => 'shared/title_etc', :locals => {:f => f} %>
<%= f.input :licence_identifier %>
<%= f.input :will_continue_on,
:hint => '... | <%= semantic_form_for @resource, :url => edition_path(@resource), :as => :edition, :html => { :id => 'edition-form' } do |f| %>
<%= f.inputs do %>
<%= render :partial => 'shared/title_etc', :locals => {:f => f} %>
<div class="row">
<div class="col-md-3">
<%= f.input :licence_identifier %>
... | Change bootstrap grid classes for licence form | Change bootstrap grid classes for licence form
| HTML+ERB | mit | telekomatrix/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,leftees/publisher,alphagov/publisher,leftees/publisher,alphagov/publisher,leftees/publisher,alphagov/publisher |
719fb61e95b9cf0a21b6aedde8a46b4a041d5aff | app/views/shares/results.html.erb | app/views/shares/results.html.erb | <div id='share_search-results_container'>
<% @shares.each do |share| %>
<li><%= share.url %></li>
<li><%= share.title %></li>
<li><%= share.description %></li>
<li><%= share.category %></li>
<li><%= share.user.name %></li>
<% end %>
</div>
| <!-- Page container -->
<div class="page-container">
<!-- Page content -->
<div class="page-content">
<!-- Main content -->
<div class="content-wrapper">
<!-- Page header -->
<div class="page-header">
<div class="page-header-content">
<div class="page-title">
<h4... | Create styling for results page | Create styling for results page
| HTML+ERB | mit | theresaboard/theres-a-board,theresaboard/theres-a-board,theresaboard/theres-a-board |
bde253475a97f2335ad21b4f1dcba6b84dd9c811 | src/app/views/faculty/index.html.erb | src/app/views/faculty/index.html.erb | <!DOCTYPE html>
<p><%= link_to "Home", root_url %> // Courses</p>
<h1>Courses</h1>
<strong>Note</strong>: The course below are color-coded based on your role in the course.</br>
<strong>Blue</strong> courses are ones in which you have some sort of authoritative control (as a faculty or teaching assistant).</br>
<str... | <!DOCTYPE html>
<p><%= link_to "Home", root_url %> // Courses</p>
<h1>Courses</h1>
<strong>Note</strong>: The course below are color-coded based on your role in the course.</br>
<strong>Blue</strong> courses are ones in which you have some sort of authoritative control (as a faculty or teaching assistant).</br>
<%=... | Change course index page text | Change course index page text
| HTML+ERB | mit | alexlo03/CodeSwap,alexlo03/CodeSwap,alexlo03/CodeSwap |
7b7b92aa1ffc08118a487c0f54ec19bc07307c33 | app/views/apitome/docs/_params.html.erb | app/views/apitome/docs/_params.html.erb | <section class="params">
<h3>Parameters</h3>
<div class="table-responsive">
<table class="table table-bordered">
<tr>
<% param_headers(params).each do |title| %>
<th><%= title %></th>
<% end %>
</tr>
<% params.each do |param| %>
<tr>
<td class="name ... | <section class="params">
<h3>Parameters</h3>
<div class="table-responsive">
<table class="table table-bordered">
<tr>
<% param_headers(params).each do |title| %>
<th><%= title %></th>
<% end %>
</tr>
<% params.each do |param| %>
<tr>
<td class="name"... | Add 'required' label to required params | Add 'required' label to required params
| HTML+ERB | mit | shayne-move/apitome,namack/apitome,fruwe/apitome,modeset/apitome,cover/apitome,shayne-move/apitome,jramos/apitome,namack/apitome,jejacks0n/apitome,namack/apitome,modeset/apitome,jejacks0n/apitome,fruwe/apitome,jejacks0n/apitome,shayne-move/apitome,cover/apitome,jramos/apitome,modeset/apitome,fruwe/apitome,cover/apitome... |
51c8e3b9a5f1f9f7305f58855794a51ca60aa7c5 | app/views/backend/application/_navigation.html.erb | app/views/backend/application/_navigation.html.erb | <%= nav_bar brand: "BACKEND", responsive: true do %>
<%= menu_group do %>
<%= menu_item "notas", backend_notas_path %>
<% end %>
<%= menu_group :pull => :right do %>
<%- if backend_admin_user_signed_in? %>
<%= menu_item 'Salir', destroy_backend_admin_user_session_path %>
<% end %>
... | <%= nav_bar brand: "BACKEND", responsive: true do %>
<%= menu_group do %>
<%= menu_item "Notas", backend_notas_path %>
<%= menu_item "Usuarios", backend_admin_users_path %>
<% end %>
<%= menu_group :pull => :right do %>
<%- if backend_admin_user_signed_in? %>
<%= menu_item 'Salir',... | Add admin user to navigation. | Add admin user to navigation. | HTML+ERB | agpl-3.0 | bluelemons/diputados,bluelemons/diputados |
100fe2a573a9a49f8ec871b9dde8a72ff62a1f72 | app/views/issues/show.html.erb | app/views/issues/show.html.erb | <div id="issue-<%= @current_issue.id %>" class="issue view-mode-full">
<div class="issue-body">
<h1><%= @current_issue.title %></h1>
<p><%= @current_issue.description %></p>
<a href="/issues/<%= @current_issue.id %>/live" id="vote_now" class="btn btn-primary btn-large">Vote now!</a>
</div>
<input type='... | <div id="issue-<%= @current_issue.id %>" class="issue view-mode-full">
<div class="issue-body">
<h1><%= @current_issue.title %></h1>
<p><%= @current_issue.description %></p>
<a href="/issues/<%= @current_issue.id %>/live" id="vote_now" class="btn btn-primary btn-large">Vote now!</a>
</div>
</div>
| Remove script in show view | Remove script in show view
| HTML+ERB | mit | sebsonic2o/syndicate,sebsonic2o/syndicate,sebsonic2o/syndicate |
a8b1d4f4339de2ed7eef309ee7f0a0d7906314fa | app/views/shared/_google_analytics.html.erb | app/views/shared/_google_analytics.html.erb | <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=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,document,'script','//www.google-analytics.com/analytics.j... | <% if Rails.env.production? %>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=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,document,'script','//www.g... | Include Google Analytics only in production | Include Google Analytics only in production
| HTML+ERB | agpl-3.0 | AsunaYuukio/quienmanda.es,civio/quienmanda.es,AsunaYuukio/quienmanda.es,civio/quienmanda.es,civio/quienmanda.es,AsunaYuukio/quienmanda.es,AsunaYuukio/quienmanda.es,civio/quienmanda.es |
ae1a9a6268f7858a3fb52136400a444eae8063c7 | lib/templates/script.vim.erb | lib/templates/script.vim.erb | noremap <PageUp> :bp<CR>
noremap <Left> :bp<CR>
noremap <PageDown> :bn<CR>
noremap <Right> :bn<CR>
<% @buffers.each do |buffer| %>
b <%= buffer[:num] %>
<% if buffer[:code] %>
<%= buffer[:code][:start] %>,<%= buffer[:code][:end] %>SyntaxInclude <%= buffer[:code][:language] %>
<% end %>
<% buffer[:comments].each do |co... | set nonumber
noremap <PageUp> :bp<CR>
noremap <Left> :bp<CR>
noremap <PageDown> :bn<CR>
noremap <Right> :bn<CR>
<% @buffers.each do |buffer| %>
b <%= buffer[:num] %>
<% if buffer[:code] %>
<%= buffer[:code][:start] %>,<%= buffer[:code][:end] %>SyntaxInclude <%= buffer[:code][:language] %>
<% end %>
<% buffer[:comments... | Disable Vim's line numbering when showing slides | Disable Vim's line numbering when showing slides
| HTML+ERB | mit | tybenz/vimdeck,tybenz/vimdeck |
8b88ddf8c647836b1186dd1d4ba95b153e1b64ac | lib/app/views/submissions/submit_comment.erb | lib/app/views/submissions/submit_comment.erb | <% if submission.user.completed?(submission.exercise) %>
<form accept-charset="UTF-8" action="/submissions/<%= submission.key %>/respond" method="POST">
<%= erb :"submissions/small_comment" %>
<button type="submit" name="nitpick" class="btn btn-primary">Comment</button>
</form>
<% else %>
<form accept-... | <% if submission.user.completed?(submission.exercise) %>
<form accept-charset="UTF-8" action="/submissions/<%= submission.key %>/respond" method="POST">
<%= erb :"submissions/small_comment" %>
<button type="submit" name="nitpick" class="btn btn-primary">Comment</button>
</form>
<% else %>
<form accept-... | Change source order so you can tab + enter to submit comment | Change source order so you can tab + enter to submit comment
| HTML+ERB | agpl-3.0 | amar47shah/exercism.io,IanDCarroll/exercism.io,RaptorRCX/exercism.io,bmulvihill/exercism.io,emilyforst/exercism.io,k4rtik/exercism.io,treiff/exercism.io,nathanbwright/exercism.io,exercistas/exercism.io,copiousfreetime/exercism.io,jtigger/exercism.io,chinaowl/exercism.io,alexclarkofficial/exercism.io,emilyforst/exercism... |
5a022cfed6ba71a59fc09cadae6162be7bea202d | lib/omnibus/generator_files/.kitchen.yml.erb | lib/omnibus/generator_files/.kitchen.yml.erb | driver:
name: vagrant
forward_agent: yes
customize:
cpus: 2
memory: 2048
synced_folders:
- ['.', '/home/vagrant/<%= config[:name] %>']
provisioner:
name: chef_zero
require_chef_omnibus: 12.4.1
platforms:
- name: centos-7.1
run_list: yum-epel::default
- name: centos-6.6
run_list: yu... | driver:
name: vagrant
forward_agent: yes
customize:
cpus: 2
memory: 2048
synced_folders:
- ['.', '/home/vagrant/<%= config[:name] %>']
provisioner:
name: chef_zero
platforms:
- name: centos-6
run_list: yum-epel::default
- name: centos-7
run_list: yum-epel::default
- name: debian-8
... | Update the generator kitchen file with modern platforms | Update the generator kitchen file with modern platforms
Use the bento slugs and update to non-EOL platforms
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
| HTML+ERB | apache-2.0 | chef/omnibus,chef/omnibus,rapid7/omnibus,rapid7/omnibus,chef/omnibus,rapid7/omnibus |
f561f619976bee22d896355b40f93e49b24b4172 | core/app/assets/javascripts/browser_extensions.js.erb | core/app/assets/javascripts/browser_extensions.js.erb | <% if FactlinkUI::Application.config.chrome_extension_id %>
function detectChromeExtension(if_installed) {
var s = document.createElement('script');
s.onload = if_installed;
document.body.appendChild(s);
s.src = 'chrome-extension://<%=FactlinkUI::Application.config.chrome_extension_id%>/manifest.json'... | <% if FactlinkUI::Application.config.chrome_extension_id %>
function detectChromeExtension(if_installed, if_not_installed) {
var s = document.createElement('script');
s.onerror = if_not_installed;
s.onload = if_installed;
document.body.appendChild(s);
s.src = 'chrome-extension://<%=FactlinkUI::App... | Revert small part of a commit, we DO need a chrome_without_extension, sorry! | Revert small part of a commit, we DO need a chrome_without_extension, sorry!
| HTML+ERB | mit | daukantas/factlink-core,daukantas/factlink-core,daukantas/factlink-core,Factlink/factlink-core,Factlink/factlink-core,Factlink/factlink-core,daukantas/factlink-core,Factlink/factlink-core |
e2e83cbbe8e23e1fdde860c9a8ff3a220603d12d | app/views/characters/_character_list.html.erb | app/views/characters/_character_list.html.erb | <ul id="character-list" class="fd-list fd-browse-list">
<div class="fd-list-header"><%= t(".characters") %></div>
<% characters.each do |character| %>
<li class="fd-list-item">
<p class="fd-list-item-title character-list-item-title"><%= link_to character.name, franchise_character_path(character.franchise... | <ul id="character-list" class="fd-list fd-browse-list">
<div class="fd-list-header"><%= t(".characters") %></div>
<% characters.each do |character| %>
<li class="fd-list-item">
<p class="fd-list-item-title character-list-item-title"><%= link_to character.name, franchise_character_path(character.franchise... | Truncate description if it's especially long. | Truncate description if it's especially long.
| HTML+ERB | agpl-3.0 | noidedmedia/Fiction-Dock,noidedmedia/Fiction-Dock,noidedmedia/Fiction-Dock |
e863c2d65bb20c84cf299ffa2c74dabea2d44d42 | gitconfig.erb | gitconfig.erb | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[alias]
co = checkout
[color]
diff = auto
status = auto
branch = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = mate -w
autocrlf = input
[apply]
whi... | [user]
name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %>
email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %>
[alias]
co = checkout
[color]
diff = auto
status = auto
branch = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore
editor = vim
autocrlf = input
[apply]
whitesp... | Use vim for git editor | Use vim for git editor
| HTML+ERB | mit | jcoene/dotfiles,jcoene/dotfiles |
2781c18866f4b508c797e287ad1cc0025115e640 | app/views/devices/index.csv.erb | app/views/devices/index.csv.erb | <%
param_names = {
'summary.serialNumber' => 'Serial number',
'summary.mac' => 'MAC',
'summary.ip' => 'IP',
'summary.softwareVersion' => 'Software version',
'summary.productClass' => 'Product class',
}
%>
"<%= param_names.values.join('","').html_safe %>","Last inform"
<% @devices.each do |device... | <%
param_names = Rails.configuration.index_parameters
%>
"<%= param_names.keys.join('","').html_safe %>","Last inform"
<% @devices.each do |device| %>
"<%= param_names.collect{|k,v| (p = get_param(v, device)).is_a?(String) ? p : p['_value'] rescue ''}.join('","').html_safe %>","<%= device['summary.lastInform'] %>"
... | Use the configurable index parameters when downloading devices in CSV format | Use the configurable index parameters when downloading devices in CSV format
| HTML+ERB | mit | zaidka/genieacs-gui,sonaht/genieacs-gui,akcoder/genieacs-gui,zaidka/genieacs-gui,akcoder/genieacs-gui,akcoder/genieacs-gui,sonaht/genieacs-gui,zaidka/genieacs-gui,sonaht/genieacs-gui |
b356ceef8dc11cf2965cf72f1ba9a887faf348de | app/views/reviews/create.js.erb | app/views/reviews/create.js.erb | var reviews = $('#reviews');
reviews.append('<%= escape_javascript(render partial: @review) %>');
| var reviews = $('#reviews');
reviews.append('<%= escape_javascript(render partial: @review) %>');
$('#review_comment').val('')
| Comment box removes text after leaving comment | Comment box removes text after leaving comment
| HTML+ERB | mit | hdwatts/liquor_cabinet,hdwatts/liquor_cabinet,hdwatts/liquor_cabinet |
9ab0eb2a661bb6540ba95ed6fe8ed8fc4082db81 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <div>
<h3>Returning Users:</h3>
<%= form_tag sessions_path do |f| %>
<div>
Username: <%= text_field_tag :name %>
</div>
<div>
Email: <%= email_field_tag :email %>
</div>
<div>
Password: <%= password_field_tag :password %>
</div>
<div>
<%= submit_tag 'Log In'%>
</div>
<% end %>
</div>
<div>... | <div>
<h3>Returning Users:</h3>
<%= form_tag sessions_path do |f| %>
<div>
Username: <%= text_field_tag :name %>
</div>
<div>
Email: <%= email_field_tag :email %>
</div>
<div>
Password: <%= password_field_tag :password %>
</div>
<div>
<%= submit_tag 'Log In'%>
</div>
<% end %>
</div>
<div>... | Revert signup form to previous format | Revert signup form to previous format
| HTML+ERB | mit | zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App,zlschatz/Mountain-Chat-Rails-App |
1212d9cff11d2b90850fc5738ea62b27f911d234 | app/views/sessions/new.html.erb | app/views/sessions/new.html.erb | <h1>Login</h1>
<%= form_for(:session, url: login_path) do |f| %>
<div>
<%= f.label :username %>:
<%= f.text_field :username %>
</div>
<div>
<%= f.label :password %>:
<%= f.password_field :password %>
</div>
<div>
<%= f.submit %>
</div>
<% end %>
| <h1>Login</h1>
<%= form_for(:session, url: login_path) do |f| %>
<div>
<%= f.label :username %>:
<%= f.text_field :username %>
</div>
<div>
<%= f.label :password %>:
<%= f.password_field :password %>
</div>
<div>
<%= f.submit %>
</div>
<% end %>
<p>New user? <%= link_to "Sign up now!"... | Add a clickable link found on login form that redirects users to the new user form | Add a clickable link found on login form that redirects users to the new user form
| HTML+ERB | mit | benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop,benjaminhyw/rails-online-shop |
3a44a057a7afdb0aa7d5d96849cfaecaa44eb500 | source/layouts/application_layout.html.erb | source/layouts/application_layout.html.erb | <% content_for :sidebar do %>
<ul>
<li><%= link_to 'By Team', '/apps/by-team.html' %></li>
<li>
<ul class='subnav'>
<% renderer = TechDocsHTMLRenderer.new %>
<% teams.each do |team_name| %>
<li><%= link_to team_name, "/apps/by-team.html#" + renderer.githubify_fragment_id(team_name) %></li>
... | <% content_for :sidebar do %>
<ul>
<li><%= link_to 'By Team', '/apps/by-team.html' %></li>
<li>
<ul class='subnav'>
<% renderer = DeveloperDocsRenderer.new %>
<% teams.each do |team_name| %>
<li><%= link_to team_name, "/apps/by-team.html#" + renderer.githubify_fragment_id(team_name) %></li>
... | Fix bug in apps page | Fix bug in apps page
The `githubify_fragment_id` functionality moved to the
`DeveloperDocsRenderer` class in
https://github.com/alphagov/govuk-developer-docs/pull/101.
| HTML+ERB | mit | alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs |
4ff6e87fed5e06820a700a8d3044688d81f57962 | app/views/user_projects/_index_edit_footer.html.erb | app/views/user_projects/_index_edit_footer.html.erb | <!-- Modal footer for Manage users modal -->
<span class="pull-left">
<% if is_admin_of_team(@project.team) %>
<%= link_to t('projects.index.modal_manage_users.invite_users_link'), team_path(@project.team.id) %>
<span><%=t 'projects.index.modal_manage_users.invite_users_details', team: @project.team.name %></... | <!-- Modal footer for Manage users modal -->
<span class="pull-left">
<% if is_admin_of_team(@project.team) %>
<%= link_to t('projects.index.modal_manage_users.invite_users_link'),
"/settings/teams/#{@project.team.id}",
data: { turbolinks: false } %>
<span><%=t 'projects.index.... | Change invite users to project link to new settings page | Change invite users to project link to new settings page [SCI-1838]
| HTML+ERB | mpl-2.0 | mlorb/scinote-web,Ducz0r/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web,Ducz0r/scinote-web,mlorb/scinote-web |
fa3cec5449bc9bf502bded947a06c691bc39339e | app/views/shared/_flash_message.html.erb | app/views/shared/_flash_message.html.erb | <%
error_message = local_assigns[:error_message]
if cookies[:flash] || flash[:success] || error_message || flash[:error] %>
<div class="CDB-Text FlashMessage <%= 'FlashMessage--success' if flash[:success] %><%= 'FlashMessage--error' if error_message || flash[:error] %>">
<div class="u-inner">
<p class="... | <% error_message = local_assigns[:error_message] %>
<% if cookies[:flash] || flash[:success] || error_message || flash[:error] %>
<div class="CDB-Text FlashMessage <%= 'FlashMessage--success' if flash[:success] %><%= 'FlashMessage--error' if error_message || flash[:error] %>">
<div class="u-inner">
<p class... | Split code markeup in two lines | Split code markeup in two lines
| HTML+ERB | bsd-3-clause | splashblot/dronedb,splashblot/dronedb,splashblot/dronedb,CartoDB/cartodb,CartoDB/cartodb,CartoDB/cartodb,splashblot/dronedb,CartoDB/cartodb,splashblot/dronedb,CartoDB/cartodb |
89432c6d8f971f4c8b6ab2800c72fd47a0c6ea9a | app/views/refinery/news/admin/items/_item.html.erb | app/views/refinery/news/admin/items/_item.html.erb | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= item.title %>
<span class="preview">
<%= t('.published') %> <%= l(item.publish_date, :format => :short) %>
</span>
<% if defined?(::Refinery::I18n) and ::Refinery::I18n.frontend_locales.many? and
(loca... | <li class='clearfix record <%= cycle("on", "on-hover") %>'>
<span class='title'>
<%= item.title %>
<span class="preview">
<%= t('.published') %> <%= l(item.publish_date, :format => :short) %>
</span>
<% if defined?(::Refinery::I18n) and ::Refinery::I18n.frontend_locales.many? and
(loca... | Make flag icons smaller so that they look nicer in backend news index page. | Make flag icons smaller so that they look nicer in backend news index page.
| HTML+ERB | mit | refinery/refinerycms-news,wuboy0307/refinerycms-news,refinery/refinerycms-news,wuboy0307/refinerycms-news,ipmobiletech/refinerycms-news,krisquigley/refinerycms-news,ipmobiletech/refinerycms-news,krisquigley/refinerycms-news |
a91fa7bc8b8a8a02f0264a9661951b426e79b81b | app/views/tags/kaminari/_next_page.html.erb | app/views/tags/kaminari/_next_page.html.erb | <% unless current_page.last? %>
<div class="l-tile l-tile--archive">
<a href="<%= url %>" class="l-index-archive__link">Older articles <svg class="l-index-archive__link-arrow">
<use xlink:href="#svg-arrow-right"></use>
</svg>
</a>
</div>
<% end %>
| <% unless current_page.last? %>
<div class="l-tile l-tile--archive">
<a href="<%= url %>" class="l-index-archive__link">All Articles <svg class="l-index-archive__link-arrow">
<use xlink:href="#svg-arrow-right"></use>
</svg>
</a>
</div>
<% end %>
| Change anchor text on article archive link. | Change anchor text on article archive link. | HTML+ERB | mit | moneyadviceservice/publify,moneyadviceservice/publify,moneyadviceservice/publify,moneyadviceservice/publify |
57f82b679035a10e2092d7e429f002c715cd6ee4 | app/views/analog_inputs/show.html.erb | app/views/analog_inputs/show.html.erb | <ul>
<li>Name: <%=h(@analog_input.name)%></li>
<li>Address: <%=h(@analog_input.address)%></li>
<li>Size: <%=h(@analog_input.size)%></li>
<li>Reference: <%=h(@analog_input.reference)%></li>
<li>Type: <%=h(@analog_input.type.title)%> (<%=h(@analog_input.type.code)%>)</li>
</ul>
<h3>Recent values</h3>
<table>
... | <ul>
<li>Name: <%=h(@analog_input.name)%></li>
<li>Address: <%=h(@analog_input.address)%></li>
<li>Size: <%=h(@analog_input.size)%></li>
<li>Reference: <%=h(@analog_input.reference)%></li>
<li>Type: <%=h(@analog_input.type.title)%> (<%=h(@analog_input.type.code)%>)</li>
</ul>
<h3>Recent values</h3>
<table>
... | Remove UTC string from local times | Remove UTC string from local times
| HTML+ERB | artistic-2.0 | johnmckerrell/yahms-rails,johnmckerrell/yahms-rails |
1a9b44f4be1a3e48021a9bc7b7a0929654f000e7 | app/views/institutions/_form.html.erb | app/views/institutions/_form.html.erb | <%= form_for(@institution) do |f| %>
<% if @institution.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@institution.errors.count, "error") %> prohibited this institution from being saved:</h2>
<ul>
<% @institution.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
... | <%= simple_form_for(@institution) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :name %>
</div>
<div class="form-actions">
<%= f.button :submit, "Submit", {class: "btn btn-success"} %>
<%= show_link @user, "Cancel" %>
</div>
<% end %>
| Convert Insitution form to simple_form | Convert Insitution form to simple_form
| HTML+ERB | apache-2.0 | APTrust/fluctus,APTrust/fluctus,APTrust/fluctus |
421c92bd0b2b1809c2442af82bf9323fad22fae5 | app/views/brexit_campaign/_all_taxons.html.erb | app/views/brexit_campaign/_all_taxons.html.erb | <section>
<% if @other_taxons.any? %>
<div class="grid-row">
<div class="column-two-thirds">
<%= render partial: 'featured_taxons', locals: { display_full_width: false } %>
</div>
<div class="column-one-third">
<h3 class="campaign__other-topics-title"><%= t("campaign.other_topics... | <section>
<% if @other_taxons.any? %>
<div class="grid-row">
<div class="column-two-thirds">
<%= render partial: 'featured_taxons', locals: { display_full_width: false } %>
</div>
<div class="column-one-third">
<h3 class="campaign__other-topics-title"><%= t("campaign.other_topics... | Fix spacing on campaign page | Fix spacing on campaign page
| HTML+ERB | mit | alphagov/collections,alphagov/collections,alphagov/collections,alphagov/collections |
21f50259e54bbf0f0369f2d3cd37626387e03f97 | app/views/conversations/_conversation.html.erb | app/views/conversations/_conversation.html.erb | <li class="conversation">
<h3><%= render :partial => 'conversations/star', :locals => { :conversation => conversation } %> <% if conversation.private? %><%= image_tag("/images/icons/icono_candado.gif") %> <% end %><%= link_to h(conversation.name), conversation_path(conversation) %></h3>
<div class="description"><%= ... | <li class="conversation">
<h3><%= render :partial => 'conversations/star', :locals => { :conversation => conversation } %> <% if conversation.private? %><%= image_tag("/images/icons/icono_candado.gif") %> <% end %><%= link_to h(conversation.name), conversation_path(conversation) %></h3>
<div class="description"><%= ... | Improve rendering time of /conversations, 250ms -> 50ms average | Improve rendering time of /conversations, 250ms -> 50ms average
| HTML+ERB | mit | dmitryame/echowaves,dmitryame/echowaves |
f3534e0d18b8e45753f0313ab5d83a21909ac559 | app/views/shared/_candidates_to_watch.html.erb | app/views/shared/_candidates_to_watch.html.erb | <% @candidates.each_with_index do |candidate, index| %>
<div class='rcorners bg-w row'>
<img src=<%= candidate.image %> alt="" class='mg p-s col-md-2 img-responsive'>
<div class='col-md-9 mg p-s debug'>
<table class='debug w txt-c'>
<thead>
<tr class='debug'>
<th class='txt-c fs-m th-w'>... | <% @candidates.each_with_index do |candidate, index| %>
<div class='rcorners bg-w row'>
<img src=<%= candidate.image %> alt="" class='mg p-s col-md-2 img-responsive'>
<div class='col-md-9 mg p-s debug'>
<table class='debug w txt-c'>
<thead>
<tr class='debug'>
<th class='txt-c fs-m th-w'>... | Fix display of candidates to endorse | Fix display of candidates to endorse
| HTML+ERB | mit | user512/write-in-mvp,robertbaker13/write-in-mvp,user512/write-in-mvp,robertbaker13/write-in-mvp,robertbaker13/write-in-mvp,user512/write-in-mvp |
11d53fcb6a3dc3087723e6a3137951298b0ccae2 | LunchOverflow/app/views/posts/index.html.erb | LunchOverflow/app/views/posts/index.html.erb | <% @posts.each do |post| %>
<h2><%= post.title %></h2>
<% end %> | <% @posts.each do |post| %>
<h2><%= post.title %></h2>
<% end %>
<% if current_user %>
<%= link_to 'Add Post', new_post_path %>
<% end %> | Add link to new post in index | Add link to new post in index
| HTML+ERB | mit | rock-doves-2014/LunchOverflow,rock-doves-2014/LunchOverflow |
5bb6344b7e1ff4bee1e48231c62c864b67fa2067 | app/views/board_members/index.html.erb | app/views/board_members/index.html.erb | <% provide(:title, 'Current Board') %>
<div class="jumbotron jumbotron-about">
<div class="container">
<h1><%= yield(:title) %></h1>
</div>
</div>
<div class="container-content">
<div class="container">
<div class="row">
<div class="col-xs-12">
<ul class="list-unstyled list-inline">
... | <% provide(:title, 'Current Board') %>
<div class="jumbotron jumbotron-about">
<div class="container">
<h1><%= yield(:title) %></h1>
</div>
</div>
<div class="container-content">
<div class="container">
<div class="row">
<div class="col-xs-12">
<ul class="list-unstyled list-inline">
... | Make name and position text smaller on Current Board page | Make name and position text smaller on Current Board page
| HTML+ERB | mit | sethfri/VPAC,sethfri/VPAC |
5aaff17f4a5daa682f678c145c0b773e408b9ccd | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>SarahRails</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<meta name="google-signin-clientid" content="778035674156-f74ml2... | <!DOCTYPE html>
<html>
<head>
<title>SarahRails</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>
</html>
| Remove Google Auth related configuration. | Remove Google Auth related configuration.
| HTML+ERB | mit | francisbrito/sarah_rails,francisbrito/sarah_rails |
f04a34b67ec1b726489f493b9fefafeaca35135b | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title>Clahub</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="container">
<%= render partial: 'shared/flashes' %>
<%= yield %>
<footer class="row">
<hr>
... | <!DOCTYPE html>
<html>
<head>
<title>Clahub</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="container">
<%= render partial: 'shared/flashes' %>
<%= yield %>
<footer class="row">
<hr>
<p>© Jason Morrison 2012</p>
<% if si... | Move JS to bottom of the page | Move JS to bottom of the page | HTML+ERB | mit | clahub/clahub,strongloop-forks/clahub,freddyrangel/clahub,step21/clahub-1,strongloop-forks/clahub,hybridgroup/clahub,step21/clahub-1,phenomax/clahub,step21/clahub-1,phenomax/clahub,phenomax/clahub,strongloop-forks/clahub,clahub/clahub,step21/clahub-1,hybridgroup/clahub,hybridgroup/clahub,freddyrangel/clahub,phenomax/cl... |
0b9d04ef47417914a7985ee68776d7fd984d0cbb | app/assets/stylesheets/sessions.css.scss.erb | app/assets/stylesheets/sessions.css.scss.erb | @import 'mixins';
#login { color:#555; font-size:120%; padding-bottom:5em; }
#cas-login {
margin:4em auto 3em; font-weight:bold; text-align:center;
a, a:hover {
display:inline-block; padding:0.4em 1em; max-width:800px; text-align:center;
color:#fff; background-color:#78cc01; text-decoration:none !important;... | @import 'mixins';
#login { color:#555; font-size:120%; padding-bottom:5em; }
#cas-login {
margin:4em auto 3em; font-weight:bold; text-align:center;
a, a:hover {
display:inline-block; padding:0.4em 1em; max-width:800px; text-align:center;
color:#fff; background-color:#78cc01; text-decoration:none !important;... | Adjust styles for internal login form | Adjust styles for internal login form
| HTML+ERB | mit | jbbarth/cartoque,cartoque/cartoque,jbbarth/cartoque,skylost/cartoque,jbbarth/cartoque,cartoque/cartoque,skylost/cartoque,cartoque/cartoque |
f6cb2b41d0e88bba7cca7115b61ef18a08535ea0 | lib/views/general/_responsive_topnav.html.erb | lib/views/general/_responsive_topnav.html.erb | <div id="topnav" class="topnav">
<ul id="navigation" class="navigation" role="navigation">
<%= render :partial => 'general/nav_items' %>
</ul>
</div>
| <div id="topnav" class="topnav <%= @in_pro_area ? 'topnav--pro' : '' %>">
<ul id="navigation" class="navigation" role="navigation">
<%= render :partial => 'general/nav_items' %>
</ul>
</div>
| Add small bit of support for pro merged in from main app | Add small bit of support for pro merged in from main app
| HTML+ERB | mit | openaustralia/righttoknow,openaustralia/righttoknow,openaustralia/righttoknow |
35b8fa6d769adbbf3251d335859373c04bc44bbb | template/provision/playbook.yml.erb | template/provision/playbook.yml.erb | ---
- hosts: <%= @env %>
become: yes
vars_files:
- ./vars/<%= @env %>.yml
roles:
- common
- yarn
- nodejs
- ruby-common
- rails
- puma
- nginx
- letsencrypt
- nginx # This is included twice intentionally. I think there is a bug that is fixed by... | ---
- hosts: <%= @env %>
become: yes
vars_files:
- ./vars/<%= @env %>.yml
roles:
- common
- yarn
- nodejs
- ruby-common
- rails
- puma
- letsencrypt
- nginx
- postgresql
- monit
- logrotate
- collectd
- delayed_job
| Remove duplicate nginx role from playbook template | Remove duplicate nginx role from playbook template
| HTML+ERB | mit | tenforwardconsulting/subspace,tenforwardconsulting/subspace,tenforwardconsulting/subspace |
baa5619b3ff40b6bce3a52710e1884e48a14f312 | app/views/templates/charity/financials.html.erb | app/views/templates/charity/financials.html.erb | <div ng-controller="CharityCtrl">
<%= render :partial => "templates/charitynav", :locals => {:tab => "financials"} %>
<div class="content">
<div class="content-padded" ng-if="charityData">
<p>Total assets: {{ charityData.financial.total_assets }}</p>
<p>Total expenditures: {{ charityData.financial.... | <div ng-controller="CharityCtrl">
<%= render :partial => "templates/charitynav", :locals => {:tab => "financials"} %>
<!-- TODO: put this elsewhere; totally dirty -->
<style>
.table-view-cell {
padding-right: 15px;
}
</style>
<div class="content">
<ul class="table-view">
<li class="ta... | Make financials page look sexy. | Make financials page look sexy.
| HTML+ERB | apache-2.0 | DouglasSherk/Clapp,DouglasSherk/Clapp,DouglasSherk/Clapp,DouglasSherk/Clapp,DouglasSherk/Clapp |
1759b5b11f34fb0e38077d7b73230905aebb016d | app/views/layouts/rails_email_preview/application.html.erb | app/views/layouts/rails_email_preview/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= t('.head_title') %></title>
<%= stylesheet_link_tag 'rails_email_preview/application', 'data-turbolinks-track': 'reload' %>
<%= csrf_meta_tag %>
<%= csp_meta_tag if RailsEmailPreview.rails_supports_csp_nonce? %>
<%= javascript_include_tag 'rails_email_preview/applicati... | <!DOCTYPE html>
<html>
<head>
<title><%= t('.head_title') %></title>
<%= stylesheet_link_tag 'rails_email_preview/application', 'data-turbolinks-track' => 'reload' %>
<%= csrf_meta_tag %>
<%= csp_meta_tag if RailsEmailPreview.rails_supports_csp_nonce? %>
<%= javascript_include_tag 'rails_email_preview/applica... | Fix compatibility with ruby < 2.2 and ruby > 1.9.3 | Fix compatibility with ruby < 2.2 and ruby > 1.9.3
| HTML+ERB | mit | glebm/rails_email_preview,glebm/rails_email_preview,glebm/rails_email_preview |
037e215ad18004477a927579e40c1a7a43f4ea6c | templates/etc/diamond/collectors/collector.conf.erb | templates/etc/diamond/collectors/collector.conf.erb | enabled=True
<% if defined?(@options) -%>
<% @options.each do |k,v| -%>
<%= "#{k}=#{v}" %>
<% end -%>
<% end -%>
| enabled=True
<% if defined?(@options) -%>
<% @options.keys.sort.each do |k| -%>
<%= "#{k}=#{@options[k]}" %>
<% end -%>
<% end -%>
| Sort collector parameters by name. | Sort collector parameters by name.
Otherwise you can end up in a situation where you continually re-write the collector config
as hash ordering is random. This makes the generated files predictable and idempotent
| HTML+ERB | apache-2.0 | xaque208/garethr-diamond,jaxxstorm/garethr-diamond,adrienthebo/garethr-diamond,puppetlabs-operations/garethr-diamond,xaque208/garethr-diamond,puppetlabs-operations/garethr-diamond,adrienthebo/garethr-diamond,fasrc/garethr-diamond,puppetlabs-operations/garethr-diamond,nexjhealth/garethr-diamond,jaxxstorm/garethr-diamond... |
1091b8451028883694bd45d773bb13932bfc869a | app/views/admin/templates/_datetime.html.erb | app/views/admin/templates/_datetime.html.erb | <div class="control-group" id="<%= attribute_id %>">
<%= form.label attribute, label_text, { :class => "control-label" } %>
<div class="controls">
<%#= form.datetime_select attribute, options, html_options %>
<%= form.text_field attribute, options %>
</div>
</div>
| <div class="control-group" id="<%= attribute_id %>">
<%= form.label attribute, label_text, { :class => "control-label" } %>
<div class="controls">
<%= form.datetime_select attribute, options, html_options %>
<%#= form.text_field attribute, options %>
</div>
</div>
| Use datetime_select for datetime view template | Use datetime_select for datetime view template
| HTML+ERB | mit | thirdthing/typus,thirdthing/typus,thirdthing/typus,thirdthing/typus |
4b05a11fa9c78e8801a239aadf61ddd8ab3b4f21 | app/views/application/_header.html.erb | app/views/application/_header.html.erb | <div class="ui large hidden container">
<div class="ui menu">
<div class="header item">Mailpenny</div>
<div class="item">
<div class="ui action left icon input">
<i class="search icon"></i>
<input type="text" placeholder="Search">
<button c... | <div class="ui large hidden container">
<div class="ui menu">
<div class="header item">Mailpenny</div>
<div class="item">
<div class="ui action left icon input">
<i class="search icon"></i>
<input type="text" placeholder="Search">
<button c... | Fix the links in the dropdown | Fix the links in the dropdown
| HTML+ERB | agpl-3.0 | payloadtech/mailpenny,payloadtech/mailpenny,payloadtech/mailpenny |
203d560d6663fc7d5693d09b9b005308d0824f6d | app/views/conversations/index.html.erb | app/views/conversations/index.html.erb | <div class="item">
<%= link_to 'Start New conversation', new_conversation_path %> |
look for conversations:
<%= text_field_with_auto_complete :conversation, :name, { :size => 35 }, :skip_style => true,
:after_update_element =>
"function(element,value) " +
"{ window.location=('/complete_conversation_name?id='+... | <h2>recently started conversations</h2>
<div class="item">
<%= link_to 'Start New conversation', new_conversation_path %> |
look for conversations:
<%= text_field_with_auto_complete :conversation, :name, { :size => 35 }, :skip_style => true,
:after_update_element =>
"function(element,value) " +
"{ window.loc... | Change a bit the conversations layout | Change a bit the conversations layout
| HTML+ERB | mit | dmitryame/echowaves,dmitryame/echowaves |
d34c84fabe903ead1740b1ace9cba37c43a3767f | app/views/cookie_policy/_show.html.erb | app/views/cookie_policy/_show.html.erb | <div id="cookie_policy">
<%= form_for :cookie_policy, url: initforthe_cookies.accept_cookie_policy_path, remote: true do |f| -%>
<%= f.submit 'Accept cookie policy', class: Initforthe::Cookies.button_classes || '' -%>
<%- end -%>
<p>
<%= Initforthe::Cookies.site_name %> uses cookies. Some may have been se... | <div id="cookie_policy">
<%= form_for :cookie_policy, url: initforthe_cookies.accept_cookie_policy_path, remote: true do |f| -%>
<%= f.submit 'Hide this notice', class: Initforthe::Cookies.button_classes || '' -%>
<%- end -%>
<p>
<%= Initforthe::Cookies.site_name %> uses cookies. Some may have been set al... | Copy change to make it more sensical and in line with ICO | Copy change to make it more sensical and in line with ICO
| HTML+ERB | mit | initforthe/initforthe-cookies |
706a193d3bbb40e12586032c3a8c5e4d0ac05398 | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<title><%= content_for?(:title) ? yield(:title) : "ShareBox" %></title>
<%= stylesheet_link_tag :application %>
<%= javascript_include_tag :application %>
<%= csrf_meta_tag %>
<%= yield(:head) %>
</head>
<body>
<div id="container">
<% flash.each do |nam... | <!DOCTYPE html>
<html>
<head>
<title><%= content_for?(:title) ? yield(:title) : "ShareBox" %></title>
<%= stylesheet_link_tag :application, media: all, 'data-turbolinks-track' => true %>
<%= javascript_include_tag :application, 'data-turbolinks-track' => true %>
<%= csrf_meta_tag %>
<%= yield(:he... | Fix turbolinks with nifty generator | Fix turbolinks with nifty generator
| HTML+ERB | mit | lalithr95/Sharebox,lalithr95/Sharebox,lalithr95/Sharebox |
8455b0699d84d60a5609bb3a6c5cd15aa501bc5f | app/views/layouts/application.html.erb | app/views/layouts/application.html.erb | <!DOCTYPE html>
<html>
<head>
<%= render 'meta' %>
<%= yield :head %>
<title><%= yield :title %></title>
<link href='http://fonts.googleapis.com/css?family=Alegreya:400italic,700italic,400,700' rel='stylesheet' type='text/css'>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= csrf_meta_tags %>
... | <!DOCTYPE html>
<html>
<head>
<%= render 'meta' %>
<%= yield :head %>
<title><%= yield :title %></title>
<link href='//fonts.googleapis.com/css?family=Alegreya:400italic,700italic,400,700' rel='stylesheet' type='text/css'>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= csrf_meta_tags %>
</hea... | Use agnostic scheme for assets | Use agnostic scheme for assets
| HTML+ERB | mit | fudanchii/shreds,fudanchii/shreds,fudanchii/shreds |
ea19d60c067280afbb9331dce32de842c8305b1e | app/views/riews/columns/index.html.erb | app/views/riews/columns/index.html.erb | <p id="notice"><%= notice %></p>
<h1>Columns</h1>
<table>
<thead>
<tr>
<th>Index</th>
<th>Method</th>
<th colspan="3">Actions</th>
</tr>
</thead>
<tbody>
<% @columns.each do |column| %>
<tr>
<td><%= column.id %></td>
<td><%= column.method %></td>
<td>... | <p id="notice"><%= notice %></p>
<h1>Columns</h1>
<%= bootstrap_table do |table|
table.headers << 'Method'
table.headers << 'Show'
table.headers << 'Edit'
table.headers << 'Destroy'
@columns.each do |column|
table.rows << [
column.method,
link_to('Show column', view_column_path(column.v... | Use btgen in columns table | Use btgen in columns table
| HTML+ERB | mit | bustikiller/riews,bustikiller/riews,bustikiller/riews |
0a7b4cf1b15d57464868fa6994f9cc8ecea598d4 | app/views/hovercard/submissions/_team.html.erb | app/views/hovercard/submissions/_team.html.erb | <p>Team members</p>
<ul class="team">
<% ([@submission.user] + @submission.team_members).each do |member| %>
<li>
<%= link_to user_photo_image_tag(member, :small, :class => "user_photo", :title => member.full_name),
"http://#{home_url}/users/#{member.full_name}", :title => member.full_name %>
</... | <p>by</p>
<ul class="team">
<% ([@submission.user] + @submission.team_members).each do |member| %>
<li>
<%= link_to user_photo_image_tag(member, :small, :class => "user_photo", :title => member.full_name),
"http://#{home_url}/users/#{member.full_name}", :title => member.full_name %>
</li>
<% e... | Replace "Team members" with "by" | Replace "Team members" with "by"
| HTML+ERB | mit | challengepost/hovercard,challengepost/hovercard |
75f65487101ae5766b0507117161cdfb40bddc98 | app/assets/javascripts/locales/ar.js.erb | app/assets/javascripts/locales/ar.js.erb | //= depend_on 'client.ar.yml'
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:ar) %>
| //= depend_on 'client.ar.yml'
//= require locales/i18n
<%= JsLocaleHelper.output_locale(:ar) %>
I18n.pluralizationRules['ar'] = function (n) {
if (n == 0) return "zero";
if (n == 1) return "one";
if (n == 2) return "two";
if (n%100 >= 3 && n%100 <= 10) return "few";
if (n%100 >= 11) return "many";
return "... | Add Arabic Pluralization Rules for Client | Add Arabic Pluralization Rules for Client
| HTML+ERB | mit | natefinch/discourse,natefinch/discourse |
bdc64af975267b9319c617d1d3c648863ed7c879 | app/views/notifications/changed.text.erb | app/views/notifications/changed.text.erb | <%= render(:partial => "task_header") %>
<%= "\n#{@comment}\n".html_safe if @comment.length > 0 -%>
<%= "#{t("notifications.wrote", name: @comment_from)}\n#{@comment}\n".html_safe if @comment.length > 0 -%>
<%= "#{t("notifications.description")}\n#{@task.description}\n".html_safe if @task.description.length > 0 -%>
... | <%= render(:partial => "task_header") %>
<%= "#{t("notifications.wrote", name: @comment_from)}\n#{@comment}\n".html_safe if @comment.length > 0 -%>
<%= "#{t("notifications.description")}\n#{@task.description}\n".html_safe if @task.description.length > 0 -%>
<%= render(:partial => "task_footer") %> | Remove duplicated email message section | Remove duplicated email message section
| HTML+ERB | agpl-3.0 | ari/jobsworth,ari/jobsworth,ari/jobsworth,ari/jobsworth |
0492b139eb3fd1444441feefc44ea06b5aba87af | app/views/rails_admin/main/show.html.erb | app/views/rails_admin/main/show.html.erb | <% head_style "rails_admin/form.css" %>
<% head_javascript "rails_admin/application.js" %>
<% head_javascript "rails_admin/ra.remote-form.js" %>
<div class="ra-block">
<div class="ui-widget-header">
<%= @page_name %>
</div>
<div class="ra-block-content">
... | <% head_style "rails_admin/form.css" %>
<% head_javascript "rails_admin/application.js" %>
<% head_javascript "rails_admin/ra.remote-form.js" %>
<div class="ra-block">
<div class="ui-widget-header">
<%= @page_name %>
</div>
<div class="ra-block-content">
... | Remove history button because CMOSD-824 invalidates this issue | CMOSD-823: Remove history button because CMOSD-824 invalidates this issue
| HTML+ERB | mit | gdslink/rails_admin,gdslink/rails_admin,gdslink/rails_admin,gdslink/rails_admin |
0f565e9887e46b3668982ef0affc0bb60b97d1c3 | app/views/games/table/_hand.html.erb | app/views/games/table/_hand.html.erb | <div class="hand">
<% hidden = defined?(hidden) ? hidden : false %>
<% read_only = defined?(read_only) ? read_only : hidden %>
<div class="player_space_header">
<div class="player_points"><%= points_string(player.total_score) %></div>
</div>
<% player.hand.each do |card| %>
<% dynamic = !hidden && !... | <div class="hand">
<% hidden = defined?(hidden) ? hidden : false %>
<% read_only = defined?(read_only) ? read_only : hidden %>
<% interactive = defined?(interactive) ? interactive : false %>
<div class="player_space_header">
<div class="player_points"><%= points_string(player.total_score) %></div>
</div>... | Add animations to all discard cards | Add animations to all discard cards
| HTML+ERB | mit | dylanmckay/rails-euchre,dylanmckay/rails-euchre,dylanmckay/rails-euchre |
356e092b8702e444770959ecc375083a5b9a39a5 | core/app/views/spree/shared/_search.html.erb | core/app/views/spree/shared/_search.html.erb | <% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
<%= form_tag products_url, :method => :get do %>
<%= select_tag :taxon,
options_for_select([[t(:all_departments), '']] +
@taxons.map {|t| [t.name, t.id]},
@taxon ? @t... | <% @taxons = @taxon && @taxon.parent ? @taxon.parent.children : Spree::Taxon.roots %>
<%= form_tag products_path, :method => :get do %>
<%= select_tag :taxon,
options_for_select([[t(:all_departments), '']] +
@taxons.map {|t| [t.name, t.id]},
@taxon ? @... | Use _path instead of _url for search form | Use _path instead of _url for search form
| HTML+ERB | bsd-3-clause | siddharth28/spree,grzlus/spree,lsirivong/spree,jordan-brough/spree,project-eutopia/spree,omarsar/spree,Machpowersystems/spree_mach,athal7/solidus,volpejoaquin/spree,sfcgeorge/spree,surfdome/spree,priyank-gupta/spree,tancnle/spree,jeffboulet/spree,vulk/spree,omarsar/spree,rbngzlv/spree,jhawthorn/spree,thogg4/spree,lsiri... |
e3d7dba203ec560af12df94c123e34275ecda508 | app/views/events/_primary_suggestion_fields.html.erb | app/views/events/_primary_suggestion_fields.html.erb | <div class="nested-fields primary">
<div class="date">
<%= f.input :primary, as: :string, label: false, placeholder: "Date",
input_html: { 'data-role' => 'primary-suggestion' } %>
</div>
<div class="times">
<%= f.input :secondary, as: :string, label: false, placeholder: "Time",
input_h... | <div class="nested-fields primary">
<div class="date">
<%= f.input :primary, as: :string, label: false, placeholder: "Date",
input_html: { 'data-role' => 'primary-suggestion' } %>
</div>
<div class="times">
<%= f.input :secondary, as: :string, label: false, placeholder: "Time, e.g. 11:00am",
... | Correct placeholder text on nested time fields | Correct placeholder text on nested time fields
| HTML+ERB | mit | yammer/sched.do,YOTOV-LIMITED/sched.do,mauricionr/sched.do,YOTOV-LIMITED/sched.do,mauricionr/sched.do,YOTOV-LIMITED/sched.do,yammer/sched.do,yammer/sched.do,mauricionr/sched.do,yammer/sched.do,YOTOV-LIMITED/sched.do,mauricionr/sched.do |
9672ecd97679834fc85a10c175675409c37c448d | app/views/progress_updates/_progress_update.html.erb | app/views/progress_updates/_progress_update.html.erb | <div class="box">
<strong><%= progress_update.user.username %></strong> - <%= progress_update.date %><br><br>
<%= progress_update.content %>
</div> | <div class="box">
<strong><%= link_to progress_update.user.username, user_path(progress_update.user) %></strong> - <%= progress_update.date %><br>
<%= link_to progress_update.project.title, project_path(progress_update.project) %><br><br>
<%= progress_update.content %>
</div> | Add links and project information to progress update partial | Add links and project information to progress update partial
| HTML+ERB | mit | Cecily2/writing-project-tracker,Cecily2/writing-project-tracker,Cecily2/writing-project-tracker |
ab576d5ec969aa311aa39c5662afa998e299b020 | frontends/default/views/_show_columns.html.erb | frontends/default/views/_show_columns.html.erb | <dl>
<% columns.each :for => @record do |column| %>
<% if column.is_a? ActiveScaffold::DataStructures::ActionColumns -%>
<dt><%= column.label -%></dt>
<dd><%= render :partial => 'show_columns', :locals => {:columns => column} %></dd>
<% else -%>
<dt><%= column.label -%></dt>
<dd><%= show_column_valu... | <dl>
<% columns.each :for => @record do |column| %>
<dt><%= column.label -%></dt>
<dd class="<%=column.name%>-view <%= column.css_class %>">
<% if column.is_a? ActiveScaffold::DataStructures::ActionColumns -%>
<%= render :partial => 'show_columns', :locals => {:columns => column} %>
<% else -%>
<%= show_col... | Add class names to show views | Add class names to show views
| HTML+ERB | mit | activescaffold/active_scaffold,activescaffold/active_scaffold,AlbertoBarrago/active_scaffold,AlbertoBarrago/active_scaffold,mallikarjunayaddala/active_scaffold,AlbertoBarrago/active_scaffold,budree/active_scaffold,budree/active_scaffold,budree/active_scaffold,mallikarjunayaddala/active_scaffold,activescaffold/active_sc... |
8a0a744021ae3c4f6ef7d4360783ae619b735479 | app/views/orders/new.html.erb | app/views/orders/new.html.erb | <%= javascript_tag do %>
var data = data || {};
data.categories = <%= Category.to_json %>;
$(".show-here").text(window.data.categories);
<% end %>
<% content_for :title, "New Order" %>
<% content_for :content_size, "col-md-10" %>
<% content_for :content do %>
<table id="new-order-table" class="table table-hov... | <% content_for :title, "New Order" %>
<% content_for :content_size, "col-md-10" %>
<% content_for :content do %>
<%= javascript_tag do %>
var data = data || {};
data.categories = <%= Category.to_json %>;
$(".show-here").text(window.data.categories);
<% end %>
<table id="new-order-table" class="table... | Move javascript_tag into the content block so it is included in the resulting HTML | Move javascript_tag into the content block so it is included in the resulting HTML
| HTML+ERB | mit | on-site/StockAid,on-site/StockAid,on-site/StockAid,icodeclean/StockAid,icodeclean/StockAid,icodeclean/StockAid |
28c6a17710dcedd152c7e734ee0bee309d44f22e | app/views/users/edit.html.erb | app/views/users/edit.html.erb | <h1>Users#edit</h1>
<p>Find me in app/views/users/edit.html.erb</p>
| <h1>Edit account information</h1>
<p>Make the desired changes below, and click the button.</p>
<%= render "form" %>
| Modify wordage of edit page. Add form to edit page. | Modify wordage of edit page. Add form to edit page.
| HTML+ERB | mit | CharlesMilam/tatalog,CharlesMilam/tatalog,CharlesMilam/tatalog |
c877f773ab99488a00b755fd6400212d7743a205 | app/views/users/show.html.erb | app/views/users/show.html.erb | <h2><%= @user.username %>'s Characters:</h2>
<span class="email">Email: <%=@user.email %></span>
<ul class="character-list">
<% @user.characters.each do |character| %>
<li>
<a href="/characters/<%= character.id %>"><%= character.name %></a>
<% if character.user == current_user %>
<%= render p... | <h2><%= @user.username %>'s Characters:</h2>
<ul class="character-list">
<% @user.characters.each do |character| %>
<li>
<a href="/characters/<%= character.id %>"><%= character.name %></a>
<% if character.user == current_user %>
<%= render partial: '/characters/character_controls', locals: {c... | Remove email from user display | Remove email from user display
| HTML+ERB | mit | jindigiordano/star-wars-character-generator,jindigiordano/star-wars-character-generator,jindigiordano/star-wars-character-generator |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.