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
0098dd316bb26159b877c966a2714f301603017f
app/views/users/show.html.erb
app/views/users/show.html.erb
<h1 id="profile-name"><%= @user.nick_name %>'s Profile</h1> <button id="<%= @user.id %>"type="button" class="btn btn-primary black-background edit-nickname">Change nickname</button> <div id="form-for-nickname"> </div> <h2>Your SoundTreks:</h2> <div> <ul> <% @user.sound_treks.each do |sound_trek|%> <li><%= lin...
<h1 id="profile-name">Your Profile, <%= current_user.nick_name %></h1> <button id="<%= @user.id %>"type="button" class="btn btn-primary black-background edit-nickname">Change nickname</button> <div id="form-for-nickname"> </div> <h2>Your SoundTreks:</h2> <div> <ul> <% @user.sound_treks.each do |sound_trek|%> ...
Change header on profile page
Change header on profile page
HTML+ERB
mit
D-Maher/SoundTreks,D-Maher/SoundTreks,D-Maher/SoundTreks
13fd855591117ca9d9c86b628e053200075d60d3
templates/known_hosts.erb
templates/known_hosts.erb
### File managed with puppet ### ## Module: '<%= scope.to_hash['module_name'] %>' ## Template source: 'MODULES<%= template_source.gsub(Regexp.new("^#{Puppet::Node::Environment.current[:modulepath].gsub(':','|')}"),"") %>' <% if @trusted_cert_authorities.respond_to?(:sort_by) -%> <% @trusted_cert_authorities.sort_by {...
### File managed with puppet ### ## Module: '<%= scope.to_hash['module_name'] %>' <% if @trusted_cert_authorities.respond_to?(:sort_by) -%> <% @trusted_cert_authorities.sort_by { |name| name }.each do |name, key| -%> <% if key.is_a?(String) -%> # key for <%= name %> @cert-authority * ssh-rsa <%= key %> <% el...
Remove puppet-version specific stuff from template
Remove puppet-version specific stuff from template
HTML+ERB
mit
aptituz/puppet-openssh,aptituz/puppet-openssh
563a14f5f1a601d7932fbb8e83f99d89e6bf64e8
core/app/views/spree/admin/adjustments/_adjustments_table.html.erb
core/app/views/spree/admin/adjustments/_adjustments_table.html.erb
<table class="index" data-hook="adjustments"> <thead data-hook="adjustmment_head"> <tr> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> <th><%= t(:description) %></th> <th><%= t(:amount) %></th> <th class="actions"></th> </tr> </thead> <tbody> <% @order.adjustments.each...
<table class="index" data-hook="adjustments"> <thead data-hook="adjustmment_head"> <tr> <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th> <th><%= t(:description) %></th> <th><%= t(:amount) %></th> <th class="actions"></th> </tr> </thead> <tbody> <% @order.adjustments.each...
Format adjustment time better in adjustments_table
Format adjustment time better in adjustments_table
HTML+ERB
bsd-3-clause
CJMrozek/spree,omarsar/spree,camelmasa/spree,grzlus/solidus,firman/spree,gregoryrikson/spree-sample,reinaris/spree,azranel/spree,dandanwei/spree,PhoenixTeam/spree_phoenix,rbngzlv/spree,dafontaine/spree,vcavallo/spree,caiqinghua/spree,biagidp/spree,jhawthorn/spree,trigrass2/spree,watg/spree,xuewenfei/solidus,yiqing95/sp...
70fd5491ff9d3df4fa9ff6c21d4cc10155235e1f
templates/plugin/write_graphite/carbon.conf.erb
templates/plugin/write_graphite/carbon.conf.erb
<%- if scope.lookupvar('collectd::collectd_version_real') and (scope.function_versioncmp([scope.lookupvar('collectd::collectd_version_real'), '5.3']) >= 0) -%> <Node "<%= @title %>"> <%- else -%> <Carbon> <%- end -%> Host "<%= @graphitehost %>" Port "<%= @graphiteport %>" Prefix "<%= @graphiteprefix %>" <%- if @g...
<%- if scope.lookupvar('collectd::collectd_version_real') and (scope.function_versioncmp([scope.lookupvar('collectd::collectd_version_real'), '5.3']) >= 0) -%> <Node "<%= @title %>"> <%- else -%> <Carbon> <%- end -%> Host "<%= @graphitehost %>" Port "<%= @graphiteport %>" Prefix "<%= @graphiteprefix %>" <%- if @g...
Add ReconnectInterval parameter to write_graphite template (introduce in version 5.6, defaults to zero)
Add ReconnectInterval parameter to write_graphite template (introduce in version 5.6, defaults to zero)
HTML+ERB
apache-2.0
voxpupuli/puppet-collectd,archii/puppet-collectd,voxpupuli/puppet-collectd,archii/puppet-collectd,voxpupuli/puppet-collectd,archii/puppet-collectd
5e5e51e49e733c2208ca3221ee8737d200abf756
app/views/question_groups/_group_inline_field.html.erb
app/views/question_groups/_group_inline_field.html.erb
<%= simple_fields_for :question_group, @question_group do |qg| %> <%= qg.simple_fields_for :questions do |q| %> <div class="group_inline_question"> <%= q.hidden_field :survey_section_id, value: @survey_section_id %> <%= q.hidden_field :id %> <%= q.input :text, label: false, a...
<%= simple_fields_for :question_group, @question_group do |qg| %> <%= qg.simple_fields_for :questions do |q| %> <div class="group_inline_question"> <%= q.hidden_field :survey_section_id, value: @survey_section_id %> <%= q.hidden_field :id %> <%= q.input :text, label: false, a...
Add file upload as a question type in group questions.
Add file upload as a question type in group questions. modified: app/views/question_groups/_group_inline_field.html.erb
HTML+ERB
mit
bricesanchez/surveyor_gui,GirishBhagavath/survey_gui,bricesanchez/surveyor_gui,bricesanchez/surveyor_gui,weedySeaDragon/surveyor_gui,GirishBhagavath/survey_gui,weedySeaDragon/surveyor_gui,wested/surveyor_gui,wested/surveyor_gui,weedySeaDragon/surveyor_gui,wested/surveyor_gui,kjayma/surveyor_gui,kjayma/surveyor_gui,kjay...
c4df18df1b84a5c3d14e95278523ab6407b782e6
app/views/reports/cab.html.erb
app/views/reports/cab.html.erb
<div id="page-header"> <h1>Reports: Cab Log</h1> </div> <%= form_for @query, :url=>url_for(:action=>:cab), :html=>{:method=>:get} do |f| %> <fieldset> <p> <%= f.date_select :start_date, :discard_day=>true %> <%= f.submit "Report" %> </p> </fieldset> <% end %> <table> <tr> <th>Date</th> <th>...
<div id="page-header"> <h1>Reports: Cab Log</h1> </div> <%= form_for @query, :url=>url_for(:action=>:cab), :html=>{:method=>:get} do |f| %> <fieldset> <p> <%= f.date_select :start_date, :discard_day=>true %> <%= f.submit "Report" %> </p> </fieldset> <% end %> <table> <tr> <th>Date</th> <th>...
Make cab log report work with missing addresses
Make cab log report work with missing addresses
HTML+ERB
agpl-3.0
rideconnection/ridepilot,camsys/ridepilot,camsys/ridepilot,camsys/ridepilot,rideconnection/ridepilot,rideconnection/ridepilot
18e22f1842bdcc876c1664ec804f8b14851f219b
app/views/georgia/pages/_new.html.erb
app/views/georgia/pages/_new.html.erb
<div id='new_page' class="modal hide fade"> <%= simple_form_for @page, as: :page, remote: true, html: {class: 'form-vertical'} do |f| %> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h3>New <%= instance_name.titleize %></h3> </div...
<div id='new_page' class="modal hide fade"> <%= simple_form_for @page, as: :page, remote: true, html: {class: 'form-vertical'} do |f| %> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h3>New <%= instance_name.titleize %></h3> </div...
Add title label to pages/_new partial
Add title label to pages/_new partial
HTML+ERB
mit
georgia-cms/georgia,georgia-cms/georgia,georgia-cms/georgia
c1978b28890a179660519dd1652ae7950782406c
app/views/curation_concerns/file_sets/upload/_tos_checkbox.html.erb
app/views/curation_concerns/file_sets/upload/_tos_checkbox.html.erb
<label> <%= check_box_tag 'terms_of_service', 1, nil, { data: { activate: 'activate-submit' } } %><strong> I have read and do agree to <%= link_to t('sufia.deposit_agreement'), '/agreement/', target: "_blank" %>.</strong> </label>
<label> <%= check_box_tag 'terms_of_service', 1, nil, { data: { activate: 'activate-submit' } } %><strong> I have read and do agree to <%= link_to t('sufia.deposit_agreement'), sufia.static_path(:agreement), target: "_blank" %>.</strong> </label>
Use resourceful route helper for link to upload agreement
Use resourceful route helper for link to upload agreement Fixes #1575
HTML+ERB
apache-2.0
samvera/hyrax,samvera/hyrax,samvera/hyrax,samvera/hyrax
0755fa7337fc6801cd63df4a6d19911778645020
app/views/admin/policy_advisory_groups/index.html.erb
app/views/admin/policy_advisory_groups/index.html.erb
<% page_title "Policy advisory groups" %> <section> <nav class="actions"> <%= link_to "Create policy advisory group", new_admin_policy_advisory_group_path, class: "btn new_resource", title: "Create a policy team" %> </nav> <h1>Policy advisory groups</h1> <table class="policy_advisory_groups table table-st...
<% page_title "Policy advisory groups" %> <section> <nav class="actions"> <%= link_to "Create policy advisory group", new_admin_policy_advisory_group_path, class: "btn new_resource", title: "Create a policy team" %> </nav> <h1>Policy advisory groups</h1> <table class="policy_advisory_groups table table-st...
Add in view level persmission to hide the button
Add in view level persmission to hide the button
HTML+ERB
mit
hotvulcan/whitehall,askl56/whitehall,alphagov/whitehall,hotvulcan/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,alphagov/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,ggoral/whitehall,ggoral/whitehall,robinwh...
f33bcee07342b2bad821f0464a881f4bbc275962
app/views/loan_mailer/approved_notification.html.erb
app/views/loan_mailer/approved_notification.html.erb
<h1>Loan approved</h1> <p>Hi <%= @borrower %>,</p> <p><%= @owner %> is going to loan you <%= @item %>!</p> <p>If you need to contact <%= @owner %> then just reply to this email.</p> <p>You can review all your borrowed items, and items borrowed from you on your <%= link_to "loans page", loans_url %>.</p>
<h1>Loan approved</h1> <p>Hi <%= @borrower %>,</p> <p><%= @owner %> is going to loan you <%= @item %>!</p> <p>Now it's time to arrange how you're going to pick it up. You can contact <%= @owner %> by replying to this email.</p> <p>You can review all your borrowed items, and items borrowed from you on your <%= link_...
Add note to approved mail about picking up the item.
Add note to approved mail about picking up the item.
HTML+ERB
agpl-3.0
medwards/free-library-on-rails,medwards/free-library-on-rails,medwards/free-library-on-rails,medwards/free-library-on-rails
2ba45e5766f5c155be079e4bd83c9e9e9347c2b0
app/views/discussion_boards/_discussion_board.html.erb
app/views/discussion_boards/_discussion_board.html.erb
<div class="discussion-board-information"> <%= render :partial => 'shared/welcome_navigation', :locals => { :club => discussion_board.club } %> <h1 class="discussion-board-name"> <%= best_in_place_if can?(:update, discussion_board), discussion_board, :name, :type => :input, :html_attrs => { :rows => '1' } %> ...
<div class="discussion-board-information"> <%= render :partial => 'shared/welcome_navigation', :locals => { :club => discussion_board.club } %> <h1 class="discussion-board-name"> <%= best_in_place_if can?(:update, discussion_board), discussion_board, :name, :type => :input, :html_attrs => { :rows => '1' } %> ...
Update Discussion Board for Basic User Topic
Update Discussion Board for Basic User Topic Update the Discussion Board view to include the ability for a basic subscriber to click the "Add Topic" button and be directed to the upgrade page.
HTML+ERB
mit
jekhokie/IfSimply,jekhokie/IfSimply,jekhokie/IfSimply
8b1f0ffa4adc63034704a7a3121bf6b5bfd9b9fe
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...
Set fullwidth class on variant_autocomplete for orders/new
Set fullwidth class on variant_autocomplete for orders/new
HTML+ERB
bsd-3-clause
CJMrozek/spree,FadliKun/spree,surfdome/spree,Machpowersystems/spree_mach,RatioClothing/spree,project-eutopia/spree,gregoryrikson/spree-sample,vcavallo/spree,nooysters/spree,dafontaine/spree,zaeznet/spree,maybii/spree,builtbybuffalo/spree,useiichi/spree,jparr/spree,Kagetsuki/spree,locomotivapro/spree,cutefrank/spree,wel...
f2694deede094bec7e2b3904c95a783e44521a21
app/views/alchemy/admin/pictures/_filter_bar.html.erb
app/views/alchemy/admin/pictures/_filter_bar.html.erb
<div id="filter_bar" class="button_with_label"> <%= link_to( render_icon('filter'), alchemy.admin_pictures_path(merge_params(:filter => 'last_upload')), :remote => true, :title => t("last_upload_only"), :class => "icon_button please_wait" ) %> <%= link_to( ...
<div id="filter_bar" class="button_with_label"> <%= link_to( render_icon('filter'), alchemy.admin_pictures_path(merge_params(:filter => 'last_upload')), :remote => request.xhr?, :title => t("last_upload_only"), :class => "icon_button please_wait" ) %> <%= link_to( render_icon('filter'), ...
Make picture library filterbar ajax requests dependent of location.
Make picture library filterbar ajax requests dependent of location. If the filter bar is used inside the library it has to be standard GET requests. We only need ajax requests if in assignment overlay.
HTML+ERB
bsd-3-clause
jsqu99/alchemy_cms,heisam/alchemy_cms,mixandgo/alchemy_cms,akra/alchemy_cms,mtomov/alchemy_cms,cygnus6/alchemy_cms,mtomov/alchemy_cms,chalmagean/alchemy_cms,jsqu99/alchemy_cms,heisam/alchemy_cms,paperculture/alchemy_cms,watg/alchemy_cms,kinsomicrote/alchemy_cms,Domenoth/alchemy_cms,clst/alchemy_cms,watg/alchemy_cms,wat...
96d8c9cd9704436eecca84cc780edd36c27ca24a
app/views/organizations/_organization_subnav.html.erb
app/views/organizations/_organization_subnav.html.erb
<%= sub_nav_tag({}) do %> <li> <%= link_to organizations_path do %> <i class="fa fa-building-o"></i><%= "My Organizations (#{current_user.organizations.count})" %> <% end %> </li> <li> <%= link_to users_path do %> <i class="fa fa-group"></i> <%= "Users (#{@org.users.count})"%> <% end %> </li> <li> <%= ...
<%= sub_nav_tag({}) do %> <li> <%= link_to organizations_path do %> <i class="fa fa-building-o"></i> <%= "My Organizations (#{current_user.organizations.count})" %> <% end %> </li> <li> <%= link_to users_path do %> <i class="fa fa-group"></i> <%= "Users (#{@org.users.count})"%> <% end %> </li> <li> <%=...
Fix layout of org subnav
Fix layout of org subnav
HTML+ERB
mit
camsys/transam_core,camsys/transam_core,nycdot/transam_core,camsys/transam_core,nycdot/transam_core,nycdot/transam_core,camsys/transam_core
fe0fb647eab03f1b62471c2fbaec5769159a6a8c
files/gitlab-cookbooks/gitlab/templates/default/sv-gitlab-git-http-server-run.erb
files/gitlab-cookbooks/gitlab/templates/default/sv-gitlab-git-http-server-run.erb
#!/bin/sh set -e # fail on errors # Redirect stderr -> stdout exec 2>&1 cd <%= node['gitlab']['gitlab-git-http-server']['dir'] %> exec chpst -P \ -U <%= node['gitlab']['user']['username'] %> \ -u <%= node['gitlab']['user']['username'] %> \ /usr/bin/env \ PATH=/opt/gitlab/bin:/opt/gitlab/embedded/bin:/usr/l...
#!/bin/sh set -e # fail on errors # Redirect stderr -> stdout exec 2>&1 <%= render("mount_point_check.erb") %> cd <%= node['gitlab']['gitlab-git-http-server']['dir'] %> exec chpst -P \ -U <%= node['gitlab']['user']['username'] %> \ -u <%= node['gitlab']['user']['username'] %> \ /usr/bin/env \ PATH=/opt/gi...
Include the 'mount point check'
Include the 'mount point check'
HTML+ERB
apache-2.0
copystudy/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,felixbuenemann/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,gitlabhq/omnibus-gitlab,felixbuenemann/omnibus-gitlab,copystudy/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,aleksandrs-ledovskis/omnibus-gitlab,copystudy/omnibus-gitlab,gitla...
5f82efe50e15045aa4d54a06fd0bf0f4fc7c1234
app/views/email_alert_subscriptions/new.html.erb
app/views/email_alert_subscriptions/new.html.erb
<% content_for :title, @signup.page_title %> <header class="signups"> <% if @signup.beta? %> <%= render partial: 'govuk_component/beta_label' %> <% end %> <h1> <span class="aside">Email alert subscription</span> <%= @signup.name %> </h1> </header> <div class="outer-block"> <div class="inner-bloc...
<% content_for :title, @signup.page_title %> <header class="signups"> <% if @signup.beta? %> <%= render partial: 'govuk_component/beta_label' %> <% end %> <h1> <span class="aside">Email alert subscription</span> <%= @signup.name %> </h1> </header> <div class="outer-block"> <div class="inner-bloc...
Use default prechecked state on page load
Use default prechecked state on page load Rather than always prechecking select boxes, use the prechecked state from the metadata about an email signup currently pulled from finder-api.
HTML+ERB
mit
alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend,alphagov/finder-frontend
dd849879003e0dc9a364343c7aad7b7ff7b82cb9
app/views/admin/features/select_ancestor.html.erb
app/views/admin/features/select_ancestor.html.erb
<div> <h1>Please select the Subject in the hierarchy tree where you would like to add your new Subject</h1> </div> <div id="relation_tree_container"> </div> <%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %> <%= javascript_on_load do %> $("#relation_tree_container").kmapsTree({ termindex_r...
<div> <h1>Please select the Subject in the hierarchy tree where you would like to add your new Subject</h1> </div> <div id="relation_tree_container"> </div> <%= javascript_include_tag 'kmaps_engine/kmaps_fancytree' %> <%= javascript_on_load do %> $("#relation_tree_container").kmapsFancytree({ featureId: "", ...
Update view select_ancestor to use new kmapsFancyTree
Update view select_ancestor to use new kmapsFancyTree The modification in kmapsFancyTree allows to have multiple roots and when the featureId is not pressent it returns the tree with all the main root nodes depending on the current perspective.
HTML+ERB
mit
shanti-uva/subjects_engine,shanti-uva/subjects_engine,shanti-uva/subjects_engine
73a84f0048c5bcac139f8ceafa1f0bba80de6aeb
app/views/users/new.erb
app/views/users/new.erb
<div class = "container"> <h1> Please Sign Up </h1> <% if @errors %> <ul> <% @errors.each do |message| %> <li> <%= message %> </li> <% end %> </ul> <% end %> <form action = '/users' method= "POST"> <input type= "text" name= "user[username]" placeholder= "Username"> <input type= "pass...
Add sign up and login pages
Add sign up and login pages
HTML+ERB
mit
bpd4tw/Dream-Team,bpd4tw/Dream-Team,bpd4tw/Dream-Team
6b5400e65512d2ef438fe4f9e83997686b3043d0
templates/bacula-dir-client.erb
templates/bacula-dir-client.erb
Client { Name = <%= @name %>-fd Address = <%= @address %> FDPort = <%= @port %> Catalog = MyCatalog Password = "<%= @password %>" File Retention = <%= @file_retention %> Job Retention = <%= @job_retention %> AutoPrune = <%= @autoprune %> <%= sc...
Client { Name = <%= @name %>-fd Address = <%= @address %> FDPort = <%= @port %> Catalog = MyCatalog Password = "<%= @password %>" File Retention = <%= @file_retention %> Job Retention = <%= @job_retention %> AutoPrune = <%= @autoprune %> <%= sc...
Add missing TLS Certificate / Key
Add missing TLS Certificate / Key They are required for client certificates, adding this settings allow stop setting tls_verify_peer to 'no'.
HTML+ERB
apache-2.0
xaque208/puppet-bacula
1db8a093fa533a5131d8ca3c7fa06add8d1ecfc5
rails-lecture/ratings/app/views/layouts/application.html.erb
rails-lecture/ratings/app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Ratings</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <p class="notice"><%= notice %></p> <p class="alert">...
<!DOCTYPE html> <html> <head> <title>Ratings</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> </head> <body> <div id="user_nav"> <% if user_signed_in? %> Signed ...
Add sign in, sign out, etc in all views
Add sign in, sign out, etc in all views
HTML+ERB
mit
overdrivemachines/cins465,overdrivemachines/cins465,overdrivemachines/cins465
668845c60c46c05adb659a27eb16084c8da237a1
site-cookbooks/themis/templates/default/nginx.conf.erb
site-cookbooks/themis/templates/default/nginx.conf.erb
upstream app { server 127.0.0.1:3000; } server { listen 80 default; access_log <%= node.themis.basedir %>/logs/nginx_access.log; error_log <%= node.themis.basedir %>/logs/nginx_error.log; keepalive_timeout 100; charset utf-8; location / { root <%= node.themis.basedir %>/www/build...
upstream app { server 127.0.0.1:3000; } server { listen 80 default; access_log <%= node.themis.basedir %>/logs/nginx_access.log; error_log <%= node.themis.basedir %>/logs/nginx_error.log; keepalive_timeout 100; charset utf-8; location / { root <%= node.themis.basedir %>/www/build...
Remove unneeded headers and set client max upload size.
Remove unneeded headers and set client max upload size.
HTML+ERB
mit
aspyatkin/themis-finals-infrastructure,aspyatkin/themis-finals-infrastructure
f5023c84dff1a36f32a08aa945a88f186141a7fd
views/header.erb
views/header.erb
<head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="images/favicon.ico"> <title>AFTERBURNER | Training Tomorrow's Software Engineers</title> <script src="/js/jquery.min.js" type="text/javascript"></script> <link href="/css/bootstrap.min.css" rel="styles...
<head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="shortcut icon" href="images/favicon.ico"> <title><%= @title + " | " if @title %>AFTERBURNER<%= " | Training Tomorrow's Software Engineers" unless @title %></title> <script src="/js/jquery.min.js" type="text/javascript"></scr...
Add support for page titles
Add support for page titles
HTML+ERB
mit
afterburner/afterburner.me,afterburner/afterburner.me
59ec941a09555d7ad82b374eecd3974d2049095e
views/layout.erb
views/layout.erb
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="./css/layout.css"> <script src="./js/jquery/jquery.min.js"></script> <title><%= @title || "Sinatra App" %></title> <%= bootstrap_css true %> </head> <body> <%= yield %> </body> </html>
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <link rel="stylesheet" href="./css/layout.css"> <script src="./js/jquery/jquery.min.js"></script> <title><%= @title || "Sinatra App" %></title> <%= bootstrap_css true %> </head> <body> <% container :div do %> <%= yield %> <% end %> </body>...
Add an div tag container
Add an div tag container
HTML+ERB
mit
gouf/pplog-queue,gouf/pplog-queue,gouf/pplog-queue
8a56de53fd2ffca2808ea8d15ab331c5792964cd
app/views/layouts/modals/_kids_context.html.erb
app/views/layouts/modals/_kids_context.html.erb
<div class="modal fade mu-kids-context mu-kids-modal" id="mu-kids-context" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="text-center"> <strong><%= "#{exercise.number}. #{exercise.name}" %></stron...
<div class="modal fade mu-kids-context mu-kids-modal" id="mu-kids-context" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="text-center d-flex"> <strong><%= "#{exercise.number}. #{exercise.name}" %>...
Fix teacher info and edit buttons positioning on kids modals
Fix teacher info and edit buttons positioning on kids modals
HTML+ERB
agpl-3.0
mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory,mumuki/mumuki-laboratory
c8fe9bad345828df9cb2822bda0c774a6777b96a
source/partials/application/_imported_docs.html.erb
source/partials/application/_imported_docs.html.erb
<% list_items = capture do %> <% docs_grouped_by_parent = imported_docs.each_with_object({}) do |page, hash| path_to_dir = page[:path].split("/").take(page[:path].split("/").count - 1).join("/") hash[path_to_dir] = [] unless hash[path_to_dir] hash[path_to_dir] << page hash[path_to_dir].sor...
<% list_items = capture do %> <% docs_grouped_by_parent = imported_docs.each_with_object({}) do |page, hash| path_to_dir = page[:path].split("/").take(page[:path].split("/").count - 1).join("/") hash[path_to_dir] = [] unless hash[path_to_dir] hash[path_to_dir] << page end %> <% docs_grou...
Sort at the point of use
Sort at the point of use More efficient and conventional.
HTML+ERB
mit
alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs,alphagov/govuk-developer-docs
096c9ab46449f5d6618e5031100ada155fa04553
test/lib/generators/discerner/templates/application.html.erb
test/lib/generators/discerner/templates/application.html.erb
<!DOCTYPE html> <html> <head> <title>Dummy</title> <%= stylesheet_link_tag "discerner/application", :media => "all" %> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "discerner/application" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </hea...
<!DOCTYPE html> <html> <head> <title>Dummy</title> <%= stylesheet_link_tag "discerner/application", :media => "all" %> <%= javascript_include_tag "discerner/application" %> <%= csrf_meta_tags %> </head> <body class="discerner"> <% flash.each do |message_type, message| %> <div class="<%= message %>",...
Add flash display to the dummy application layout
Add flash display to the dummy application layout
HTML+ERB
mit
NUBIC/discerner,NUBIC/discerner,NUBIC/discerner
f9ee818e0041953d4ee4578c02f7ec50a5f2a031
app/views/alchemy/pages/_meta_data.html.erb
app/views/alchemy/pages/_meta_data.html.erb
<% if @page %> <meta charset="utf8"> <title><%= page_title prefix: local_assigns.fetch(:title_prefix, nil), separator: local_assigns.fetch(:title_separator, nil) %></title> <%= tag(:meta, name: 'created', content: @page.updated_at) %> <%= tag(:meta, name: 'robots', content: meta_robots) %> <%= tag(:meta, name...
<% if @page %> <meta charset="utf-8"> <title><%= page_title prefix: local_assigns.fetch(:title_prefix, nil), separator: local_assigns.fetch(:title_separator, nil) %></title> <%= tag(:meta, name: 'created', content: @page.updated_at) %> <%= tag(:meta, name: 'robots', content: meta_robots) %> <%= tag(:meta, nam...
Change meta charset from 'utf8' to 'utf-8'
Change meta charset from 'utf8' to 'utf-8'
HTML+ERB
bsd-3-clause
AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,chalmagean/alchemy_cms,mixandgo/alchemy_cms,mtomov/alchemy_cms,mamhoff/alchemy_cms,mtomov/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms,mixandgo/alchemy_cms,chalmagean/alchemy_cms,chalmagean/alchemy_cms,chalmagean/alchemy_cms,AlchemyCMS/alchemy_cms,mixandgo/...
c476c56488fd1814d7f2e9b47420d33c678d75f4
app/views/alchemy/admin/resources/_table_header.html.erb
app/views/alchemy/admin/resources/_table_header.html.erb
<div class="resources-header"> <h2> <%= pluralize resources_instance_variable.total_count, resource_model.model_name.human %> </h2> </div>
<div class="resources-header"> <h2> <%= resources_instance_variable.total_count %> <%= resource_model.model_name.human(count: resources_instance_variable.total_count) %> </h2> </div>
Fix pluralization of resource table header
Fix pluralization of resource table header Somehow Rails' `pluralize` helper does not pluralize the model name correctly. Using `model_name.human` with `count` option instead.
HTML+ERB
bsd-3-clause
robinboening/alchemy_cms,AlchemyCMS/alchemy_cms,mamhoff/alchemy_cms,mamhoff/alchemy_cms,robinboening/alchemy_cms,mamhoff/alchemy_cms,AlchemyCMS/alchemy_cms,AlchemyCMS/alchemy_cms,robinboening/alchemy_cms
db85683aeaf5ea8f2b33823b103f3de535bc87c4
app/views/devise/sessions/new.html.erb
app/views/devise/sessions/new.html.erb
<div class="row-fluid"> <div class="hero-unit span8"> <h1>Connect With Code Fellows!</h1> <p></p> <p>Tired of finding the right match for your company? The Partner Dashboard allows you to easily connect with graduates and current students of Code Fellows that meet the requirements for y...
<div class="row-fluid"> <div class="hero-unit span8"> <h1>Connect With Code Fellows!</h1> <p></p> <p>Tired of finding the right match for your company? The Partner Dashboard allows you to easily connect with graduates and current students of Code Fellows that meet the requirements for y...
Change class from 'row' to 'row-fluid' to allow links to lineup with the rest of the content
Change class from 'row' to 'row-fluid' to allow links to lineup with the rest of the content
HTML+ERB
mit
natsteinmetz/partner_dashboard,natsteinmetz/partner_dashboard
edc5a31dc9858a9eceb7283c7dd14e19b9a81ffb
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Onboarding</title> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all' %> </head> <body> <%= yield %> <div id="app"></div> <%= javascript_include_tag 'application' %> </div> </body> </html>
<!DOCTYPE html> <html> <head> <title>Onboarding</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all' %> </head> <body> <%= yield %> <div id="app"></div> <%= javascript_include_tag 'application' %> </div> </bo...
Set screen width to device-width
Set screen width to device-width
HTML+ERB
mit
loggingroads/onboarding,loggingroads/onboarding,loggingroads/onboarding,loggingroads/onboarding
72ad9fb9526fe26da6b28098ce5bfe47ee9d0e2a
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title><%= yield(:title) %></title> <%= stylesheet_link_tag :all %> <%= javascript_include_tag :defaults %> <%= stylesheet_link_tag 'scaffold' %> <%= stylesheet_link_tag 'application' %> <%= yield(:head) %> <%= csrf_meta_tag %> </head> <body> <% flash.each do |key, msg| %> ...
<!DOCTYPE html> <html> <head> <title><%= yield(:title) %></title> <%= stylesheet_link_tag 'scaffold' %> <%= stylesheet_link_tag 'application' %> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <%= yield(:head) %> <%= csrf_meta_tag %> </hea...
Clean up application layout template
Clean up application layout template - Don't include all the css files, resulting in duplicates - Don't include the default js files, which messes up jquery - Include jquery
HTML+ERB
agpl-3.0
adler187/tvdxserver,adler187/tvdxserver,adler187/tvdxserver
3e7a69399f89fcc0744206a73a8e3cf23d19a960
app/views/posts/_post_subject.html.erb
app/views/posts/_post_subject.html.erb
<% post = post_subject %> <% cache(post, namespace: 'post_subject', expires_in: 6.hours, race_condition_ttl: 30.seconds) do %> <span class="short-post-subject"><%= link_to raw(htmlic_title(post.subject)), post %></span> by <span class="short-post-author author-tag-for-<%= post.user_id %>"><%= post.author %></span> <spa...
<% post = post_subject %> <% cache(post, namespace: 'post_subject', expires_in: 6.hours, race_condition_ttl: 30.seconds) do %> <span class="short-post-subject"><%= link_to raw(htmlic_title(post.subject)), post %></span> by <span class="short-post-author author-tag-for-<%= post.user_id %>"><%= post.author %></span> <spa...
Make the new post market less obnoxious
Make the new post market less obnoxious
HTML+ERB
agpl-3.0
TechnoDann/PPC-board-2.0,TechnoDann/PPC-board-2.0,TechnoDann/PPC-board-2.0,TechnoDann/PPC-board-2.0
e4ba9654767e59f0b157aca3acfd731388b39f47
app/views/layouts/application/_navigation_links.html.erb
app/views/layouts/application/_navigation_links.html.erb
<% if user_signed_in? %> <li><%= link_to "Order History", orders_path %></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> Account <b class="caret"></b> </a> <ul class="dropdown-menu"> <li><%= link_to "Profile", current_user %></li> <li class="divid...
<% if user_signed_in? %> <li><%= link_to "Order History", orders_path %></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> Account <b class="caret"></b> </a> <ul class="dropdown-menu"> <li><%= link_to "Profile", profile_path(current_user) %></li> <l...
Add profile to navigation_links partial
Add profile to navigation_links partial
HTML+ERB
mit
Dom-Mc/fetch_it,Dom-Mc/fetch_it,Dom-Mc/fetch_it
c768ced20abb50784ca5f8525c56a047a8b5a896
app/views/layouts/_head.html.erb
app/views/layouts/_head.html.erb
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><%= content_for?(:title) ? yield(:title) : "REFUGE Restrooms" %></title> <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Refuge Restrooms" %>"> <meta name="keywords" content="gender neutral restrooms,...
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><%= content_for?(:title) ? yield(:title) : "REFUGE Restrooms" %></title> <meta name="description" content="<%= content_for?(:description) ? yield(:description) : "Refuge Restrooms" %>"> <meta name="keywords" content="gender neutral restrooms,...
Remove jquery <script> since its in asset pipeline
Remove jquery <script> since its in asset pipeline
HTML+ERB
agpl-3.0
RefugeRestrooms/refugerestrooms,azelma/refugerestrooms,valeriecodes/refugerestrooms,azelma/refugerestrooms,RefugeRestrooms/refugerestrooms,cllns/refugerestrooms,valeriecodes/refugerestrooms,RefugeRestrooms/refugerestrooms,cllns/refugerestrooms,mathonsunday/welcomehome,valeriecodes/refugerestrooms,cllns/refugerestrooms,...
db5efc34e9cf6eee17f6403e211c3729e4a5d54e
templates/default/login.conf.erb
templates/default/login.conf.erb
/* * Generated by Chef */ <% @realm_types.each_pair do |k,v| %> <%= k %> { <%= v %> required; }; <% end %>
/* * Generated by Chef */ <% @realm_types.each_pair do |k,v| %> <%= k %> { <%= v %> required; }; <% end %>
Change whitespace so it is similar to the source files
Change whitespace so it is similar to the source files
HTML+ERB
apache-2.0
hopshadoop/chef-glassfish,predictivelogic/chef-glassfish,realityforge/chef-glassfish,predictivelogic/chef-glassfish,hopshadoop/chef-glassfish,hopshadoop/chef-glassfish,realityforge/chef-glassfish,realityforge/chef-glassfish,predictivelogic/chef-glassfish
ed6ca466f453d5c46e2788e77c903b8e36c8cded
templates/agent.policy.erb
templates/agent.policy.erb
# /etc/mcollective/policies/<%= @agent -%>.policy <% if( @default ) then -%> policy default <%= @default %> <% end -%> <% @rules.each do |comment, rule| -%> # <%= comment %> <%= rule['policy'] %> <%= rule['caller'] %> <%= rule['actions'] %> <%= rule['facts'] %> <%= rule['classes'] %> <% end -%>
# /etc/mcollective/policies/<%= @agent -%>.policy <% if( @default ) then -%> policy default <%= @default %> <% end -%> <% @rules.sort.map do |comment, rule| -%> # <%= comment %> <%= rule['policy'] %> <%= rule['caller'] %> <%= rule['actions'] %> <%= rule['facts'] %> <%= rule['classes'] %> <% end -%>
Sort the rules on output to ensure proper ordering.
Sort the rules on output to ensure proper ordering.
HTML+ERB
bsd-3-clause
jorhett/puppet-mcollective,jorhett/puppet-mcollective
7f768e8e124228615089049afaa7c6fd9166f681
lib/domgen/jpa/templates/aggregate_entity_test.java.erb
lib/domgen/jpa/templates/aggregate_entity_test.java.erb
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.jpa.qualified_aggregate_entity_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public class <%= repository.jpa.aggregate_entity_test_name %> { @org.testng.annotations.Test publi...
/* DO NOT EDIT: File is auto-generated */ package <%= to_package(repository.jpa.qualified_aggregate_entity_test_name) %>; @java.lang.SuppressWarnings( { "UnusedDeclaration" } ) @javax.annotation.Generated( "Domgen" ) public class <%= repository.jpa.aggregate_entity_test_name %> { @org.testng.annotations.Test publi...
Support non-jpa queries that are omitted for finders
Support non-jpa queries that are omitted for finders
HTML+ERB
apache-2.0
realityforge/domgen,icaughley/domgen,realityforge/domgen,icaughley/domgen
15b40310e13cf9409f6beca04550cf16d4df7d5a
templates/route-RedHat.erb
templates/route-RedHat.erb
### ### File managed by Puppet ### <%- (0..(@ipaddress.length-1)).each do |id| -%> <%= @ipaddress[id] %>/<%= @netmask[id] %> via <%= @gateway[id] %> dev <%= @interface %><%- if @table -%> table <%= @table[id] %><%- end -%> <%- end %>
### ### File managed by Puppet ### <%- (0..(@ipaddress.length-1)).each do |id| -%> <%= @ipaddress[id] %>/<%= @netmask[id] %> via <%= @gateway[id] %> dev <%= @interface %><%- if @table -%> table <%= @table[id] %><% end %> <%- end %>
Fix looping error on Redhat Network Routes
Fix looping error on Redhat Network Routes Fixed the erb syntax to ensure a new line is added in to the relevant network scripts after each static route.
HTML+ERB
apache-2.0
waipeng/puppet-network,example42/puppet-network,waipeng/puppet-network,example42/puppet-network,example42/puppet-network,waipeng/puppet-network
0da1ce8deadb1176b4e9aded73b2061b8cf6f27c
app/views/company_mailer/submit_company_email.html.erb
app/views/company_mailer/submit_company_email.html.erb
<p><strong>Hi <%= @user.first_name %>,</strong></p> <p>Thank you for submitting your company to Open Door.</p> <br> <p>Our team will process and evaluate your submission to assess the validity of your place of work. Please expect to hear back within 1-2 business days.</p> <br> <p>If you do not hear back from us, plea...
<p><strong>Hi <%= @user.first_name %>,</strong></p> <p>Thank you for submitting your company to Open Door.</p> <br> <p>Our team will process and evaluate your submission to assess the validity of your place of work. Please expect to hear back within 1-2 business days.</p> <br> <p>If you do not hear back from us, plea...
Edit the company name and adress
Edit the company name and adress
HTML+ERB
mit
husseinmaad/open-div,husseinmaad/open-div,husseinmaad/open-div
e90bbbb28a8dd3ec07a94bc7692c5d3981ab2228
app/views/testing_grounds/calculate_concurrency.js.erb
app/views/testing_grounds/calculate_concurrency.js.erb
$("#profiles-table").html("<%= escape_javascript(render partial: 'testing_grounds/profile_table', locals: {topology: @topology, testing_ground_profile: @testing_ground_profile.as_json } ) %>") window.currentProfileTable.append(); window.currentProfileTable.updateProfiles();
$("#profiles-table").html("<%= escape_javascript(render partial: 'testing_grounds/profile_table', locals: {topology: @topology, testing_ground_profile: @testing_ground_profile } ) %>") window.currentProfileTable.append(); window.currentProfileTable.updateProfiles();
Fix calculate concurrency to pass the tech list
Fix calculate concurrency to pass the tech list Closes #472
HTML+ERB
mit
quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses,quintel/etmoses
016507c40f2329d4d6468bfacc4c4bed088d6f4b
lib/preseason/templates/playbook/app/views/layouts/application.html.erb
lib/preseason/templates/playbook/app/views/layouts/application.html.erb
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="ut...
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> <head> <meta charset="ut...
Update extra_js to body_close to be more abstract/semantic
Update extra_js to body_close to be more abstract/semantic
HTML+ERB
mit
centresource/preseason,centresource/preseason
5c2cb74c8d129ae1e0d34708a608ad1be25990fc
app/views/smart_answers/custom_result.html.erb
app/views/smart_answers/custom_result.html.erb
<% # this custom result template is currently tested on the next-steps-for-your-business flow %> <% outcome = @presenter.current_node %> <% content_for :outcome_title do %> <% if outcome.title.present? %><%= outcome.title %><% else %>Outcome<% end %> <% end %> <% content_for :head do %> <meta name="robots" content=...
<% # this custom result template is currently tested on the next-steps-for-your-business flow %> <% outcome = @presenter.current_node %> <% content_for :outcome_title do %> <% if outcome.title.present? %><%= outcome.title %><% else %>Outcome<% end %> <% end %> <% content_for :head do %> <meta name="robots" content=...
Update link copy for change answers
Update link copy for change answers
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
49cc8da0cf6318340472352fe7f0720f87e247b6
app/views/sir-trevor/blocks/_instagram_block.html.erb
app/views/sir-trevor/blocks/_instagram_block.html.erb
<div class="content-block instagram-block"> <%= instagram_block_patterns = [ /<blockquote (.*)<\/blockquote>(\s+)<script async defer src="\/\/platform\.instagram\.com\/en_US\/embeds\.js"><\/script>/, /<blockquote (.*)<\/blockquote>(\s+)<script async defer src="\/\/www\.instagram\.com\/embed\.js"><\/sc...
<div class="content-block instagram-block"> <%= instagram_block_patterns = [ /<blockquote (.*)<\/blockquote>(\s+)<script async defer src="\/\/platform\.instagram\.com\/en_US\/embeds\.js"><\/script>/, /<blockquote (.*)<\/blockquote>(\s+)<script async defer src="\/\/www\.instagram\.com\/embed\.js"><\/sc...
Use new pattern to match Instagram embed codes
Use new pattern to match Instagram embed codes
HTML+ERB
mit
represent/sir-trevor-rails,represent/sir-trevor-rails,represent/sir-trevor-rails
f571e298ebcdbe552901dd6945a6daf305536e3c
app/views/document_series/show.html.erb
app/views/document_series/show.html.erb
<% page_title @document_series.name, @organisation.name %> <% page_class "document-series" %> <div class="block-1"> <div class="inner-block"> <header class="page-header"> <h1><%= @document_series.name %></h1> <p>A document series from <%= link_to @organisation.name, organisation_path(@organisation) %...
<% page_title @document_series.name, @organisation.name %> <% page_class "document-series" %> <div class="block-1"> <div class="inner-block"> <header class="page-header"> <h1><%= @document_series.name %></h1> <p>A document series from <%= link_to @organisation.name, organisation_path(@organisation) %...
Remove link to non-existent series index page.
Remove link to non-existent series index page.
HTML+ERB
mit
ggoral/whitehall,askl56/whitehall,askl56/whitehall,robinwhittleton/whitehall,alphagov/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,alphagov/whitehall,YOTOV-LIMITED/whitehall,alphagov/whitehall,robinwhittleton/whitehall,hotvulcan/whitehall,ggoral/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/white...
fad0e0c6a9675642411233add6ac7be00871065a
app/views/layouts/_site_footer.html.erb
app/views/layouts/_site_footer.html.erb
<div class="about-bento bit" role="complementary"> <h3 class="title">About this search app</h3> <p>Quick search at the MIT Libraries can be used to find books, movies, music, articles, journals, archives and manuscript collections, and other great stuff we have at the library. <a href="https://libraries.mit.edu/abo...
<div class="about-bento bit" role="complementary"> <h3 class="title">About this search app</h3> <p>Quick search at the MIT Libraries can be used to find books, movies, music, articles, journals, archives and manuscript collections, and other great stuff we have at the library.</p> <p>Not finding what you need? <%...
Remove 'Learn more' link from footer
Remove 'Learn more' link from footer Why these changes are being introduced: A link in the footer goes to a WP page that will be removed after we launch Primo. Relevant ticket(s): https://mitlibraries.atlassian.net/browse/IMP-2176 How this addresses that need: This removes the link that is no longer needed. Side...
HTML+ERB
apache-2.0
MITLibraries/bento,MITLibraries/bento,MITLibraries/bento,MITLibraries/bento
a8fa034c73ffa58a1f47629544767b86049920c2
app/views/password_resets/edit.html.erb
app/views/password_resets/edit.html.erb
<% provide(:title, 'Reset password') %> <h1>Reset password</h1> <div class="row"> <div class="col-md-6 col-md-offset-3"> <%= form_for(@user, url: password_resets_path(params[:id])) do |f| %> <%= render 'shared/error_messages', object: f.object %> <%= hidden_field_tag :email, @user.email %> <%...
<% provide(:title, 'Reset password') %> <h1>Reset password</h1> <div class="row"> <div class="col-md-6 col-md-offset-3"> <%= form_for(@user, url: password_reset_path(params[:id])) do |f| %> <%= render 'shared/error_messages', object: f.object %> <%= hidden_field_tag :email, @user.email %> <%=...
Fix bug of password reset
Fix bug of password reset
HTML+ERB
mit
s-capybara/rails_sample_app,s-capybara/rails_sample_app,s-capybara/rails_sample_app
87240bb84d80a53d152ad712dfc29080f308d506
app/views/student_member/index.html.erb
app/views/student_member/index.html.erb
<h1>Home page for StudentMember ID <%= @thisID %> </h1> <h3>Total Alumni Allotted: <%= @allalums.length %></h3> <br> <table id="alumniTable" class="table table-striped"> <thead> <td>id</td> <td>name</td> <td>department</td> <td>hall</td> <td>search</td> <td>response</td> <td></td> </thead> <tbody> ...
<h1>Home page for StudentMember ID <%= @thisID %> </h1> <h3>Total Alumni Allotted: <%= @allalums.length %></h3> <br> <table id="alumniTable" class="table table-striped"> <thead> <td>id</td> <td>name</td> <td>department</td> <td>hall</td> <td>call next at</td> <td>search</td> <td>response</td> <td></...
Add call_next_at to the student member homepage.
Add call_next_at to the student member homepage. Signed-off-by: Siddharth Kannan <805f056820c7a1cecc4ab591b8a0a604b501a0b7@gmail.com>
HTML+ERB
mit
aniarya82/networking-rails,icyflame/erp-rails,icyflame/erp-rails,icyflame/erp-rails,aniarya82/networking-rails,aniarya82/networking-rails
ed8b9ddd1c0ac02120b929c08777d98b2a825119
app/views/requests/request/_flash_messages.html.erb
app/views/requests/request/_flash_messages.html.erb
<% [:success, :notice, :error, :alert].each do |type| %> <%- alert_class = case type when :success then "flash-success alert-success" when :notice then "flash-notice alert-info" when :alert then "flash-alert alert-warning" when :error then "flash-error alert-danger" else "flash-#{type} alert-...
<% [:success, :notice, :error, :alert].each do |type| %> <%- alert_class = case type when :success then "flash-success alert-success" when :notice then "flash-notice alert-info" when :alert then "flash-alert alert-warning" when :error then "flash-error alert-danger" else "flash-#{type} alert-...
Move x close in the red alert
Move x close in the red alert Co-authored-by: Nikitas Tampakis <047cff491185db6bc34b93ab840967e758fe8117@gmail.com>
HTML+ERB
mit
pulibrary/requests,pulibrary/requests,pulibrary/requests
97edf237b3898fed28043c9ea6de955e03ada483
app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_local/_same_sex.erb
app/flows/marriage_abroad_flow/outcomes/countries/peru/third_country/partner_local/_same_sex.erb
You may be able to register a civil partnership or get married at the British embassy or consulate in Peru. [Make an appointment at the embassy in Lima.](https://www.book-consular-appointment.service.gov.uk/TimeSelection?location=125&service=10) ##What documents you’ll need You need to have been living in Peru for 2...
It’s not possible to get legal recognition for your same-sex relationship in Peru.
Remove same-sex option for Peru - other, local 1
Remove same-sex option for Peru - other, local 1
HTML+ERB
mit
alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
5b81724c01bf839b9e5a34534f446fbe81c77a3b
app/views/devise/two_factor_authentication/show.html.erb
app/views/devise/two_factor_authentication/show.html.erb
<% if current_user.direct_otp %> <h2>Enter the code that was sent to you</h2> <% else %> <h2>Enter the code from your authenticator app</h2> <% end %> <p><%= flash[:notice] %></p> <%= form_tag([resource_name, :two_factor_authentication], :method => :put) do %> <%= text_field_tag :code %> <%= submit_tag "Submit" %...
<% if resource.direct_otp %> <h2>Enter the code that was sent to you</h2> <% else %> <h2>Enter the code from your authenticator app</h2> <% end %> <p><%= flash[:notice] %></p> <%= form_tag([resource_name, :two_factor_authentication], :method => :put) do %> <%= text_field_tag :code %> <%= submit_tag "Submit" %> <%...
Stop hardcoding User, use generic resource
Stop hardcoding User, use generic resource User can also be called Admin. so use generic "resource" same way devise uses.
HTML+ERB
mit
benjaminwols/two_factor_authentication,Houdini/two_factor_authentication,Houdini/two_factor_authentication,benjaminwols/two_factor_authentication,Houdini/two_factor_authentication,benjaminwols/two_factor_authentication
2b9f5978f943b2a3f54407efe351ba67c7a8f887
modules/performanceplatform/templates/pgsql-backup.sh.erb
modules/performanceplatform/templates/pgsql-backup.sh.erb
#!/bin/sh -ex BACKUP_DIR="<%= @backup_dir %>" DATE_TODAY=$(date +%F) TMP_FILE=$(mktemp --tmpdir=${BACKUP_DIR} --suffix=_${DATE_TODAY}.sql.gz) BACKUP_FILE="${BACKUP_DIR}/postgres_whole_database_${DATE_TODAY}.sql.gz" export PGUSER=postgres # Dump the entire database as one thing. See pp-manual for restore instruction...
#!/bin/sh -ex BACKUP_DIR="<%= @backup_dir %>" DATE_TODAY=$(date +%F) TMP_FILE=$(mktemp --tmpdir=${BACKUP_DIR} --suffix=_${DATE_TODAY}.sql.gz) BACKUP_FILE="${BACKUP_DIR}/postgres_whole_database_${DATE_TODAY}.sql.gz" export PGUSER=postgres # Dump the entire database as one thing. See pp-manual for restore instruction...
Make PostgreSQL backups readable with chmod
Make PostgreSQL backups readable with chmod So that our deploy user can fish them off the box and copy them to the backups box.
HTML+ERB
mit
alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet,alphagov/pp-puppet
7af33c0fa11227d18dac735b0d9ae1eb97cedc37
templates/bond/opts-redhat.erb
templates/bond/opts-redhat.erb
<%= if @mode -%>mode=<%= @mode -%> <% end -%> <%= if @miimon -%>miimon=<%= @miimon -%> <% end -%> <%= if @downdelay -%>downdelay=<%= @downdelay -%> <% end -%> <%= if @updelay -%>updelay=<%= @updelay -%> <% end -%> <%= if @lacp_rate -%>lacp_rate=<%= @lacp_rate -%> <% end -%> <%= if @primary -%>primary=<%= @primary -%> <...
<%= %w[mode miimon downdelay updelay lacp_rate primary primary_reselect xmit_hash_policy].select { |thing| scope[thing] }.map {|thing| "#{thing}=#{scope[thing]}"}.join(' ') -%>
Replace hacky template with shorter hacky template
Replace hacky template with shorter hacky template
HTML+ERB
apache-2.0
voxpupuli/puppet-network,voxpupuli/puppet-network
cebb01b5e6ef20c2fcaf8b4538df36a40678ba34
app/views/layouts/_google_analytics.html.erb
app/views/layouts/_google_analytics.html.erb
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= ::OstConfig.google_analytics_4_measurement_id %>"></script> <script> window.dataLayer = window.dataLayer || [] function gtag() { dataLayer.push(arguments) } window.gtag("js", new Date()) const trackGoogleAnalytics = (event) => { ...
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= ::OstConfig.google_analytics_4_measurement_id %>"></script> <script> window.dataLayer = window.dataLayer || [] function gtag() { dataLayer.push(arguments) } window.gtag("js", new Date()) const trackGoogleAnalytics = (event) => { ...
Add page location to gtag config
Add page location to gtag config
HTML+ERB
mit
SplitTime/OpenSplitTime,SplitTime/OpenSplitTime,SplitTime/OpenSplitTime
402b9ca816a7c622cf1ba722059e2b9aef0324db
app/views/shared/timeline/_timeline.html.erb
app/views/shared/timeline/_timeline.html.erb
<ul class="lecture-timeline"> <% beginning_of_day = Time.parse('08:50:00+09:00') - Time.now.beginning_of_day %> <% end_of_day = Time.parse('18:20:00+09:00') - Time.now.beginning_of_day %> <% day = end_of_day - beginning_of_day %> <% row.each do |cell| %> <% left = (cell.period.start_time_to_f - beginning_of...
<ul class="lecture-timeline"> <%= render partial: 'shared/timeline/cell', collection: row.cells, as: :cell %> </ul>
Use shared/timeline/cell partial in shared/timeline/timeline partial
Use shared/timeline/cell partial in shared/timeline/timeline partial
HTML+ERB
mit
izumin5210/actopus,izumin5210/actopus
4e5dadcb220deef9ed92fcef70a20e487c051fa1
spec/dummy/app/views/layouts/application.html.erb
spec/dummy/app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Dummy</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <p class="notice"><%= notice %></p> <p class="alert"><%= alert %></p> <%= yield %> </body> </html>
<!DOCTYPE html> <html> <head> <title>Dummy</title> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <p class="notice"><%= notice %></p> <p class="alert"><%= alert %></p> <%= link_to('Login', new_user_session_path) %> <%...
Add login link to application layout
Add login link to application layout
HTML+ERB
mit
G5/devise_g5_authenticatable,G5/devise_g5_authenticatable,G5/devise_g5_authenticatable
2bbb9cea327bd102c33d5caab3db1cc1da372b13
spec/rails_app/app/views/layouts/_header.html.erb
spec/rails_app/app/views/layouts/_header.html.erb
<% if notice.present? %> <div class="notice_wrapper"> <p class="notice"> <%= notice %> </p> </div> <% end %> <header> <div class="header_area"> <div class="header_root_wrapper"> <%= link_to 'ActivityNotification', root_path %> </div> <div class="header_menu_wrapper"> <p> ...
<% if notice.present? %> <div class="notice_wrapper"> <p class="notice"> <%= notice %> </p> </div> <% end %> <header> <div class="header_area"> <div class="header_root_wrapper"> <%= link_to 'ActivityNotification', root_path %> </div> <div class="header_menu_wrapper"> <p> ...
Fix link to preview notification email
Fix link to preview notification email
HTML+ERB
mit
simukappu/activity_notification,simukappu/activity_notification,simukappu/activity_notification,simukappu/activity_notification
c9a5d1c45984eb4cd2689445361fec81dde6dd14
templates/etc/init.d/elasticsearch.systemd.erb
templates/etc/init.d/elasticsearch.systemd.erb
[Unit] Description=Starts and stops a single elasticsearch instance on this system Documentation=http://www.elasticsearch.org [Service] Type=forking EnvironmentFile=<%= @defaults_location %>/elasticsearch-<%= @name %> User=<%= @user %> Group=<%= @group %> PIDFile=<%= @pid_dir %>/elasticsearch-<%= @name %>.pid ExecStar...
[Unit] Description=Starts and stops a single elasticsearch instance on this system Documentation=http://www.elasticsearch.org Wants=network-online.target After=network-online.target [Service] Type=forking EnvironmentFile=<%= @defaults_location %>/elasticsearch-<%= @name %> User=<%= @user %> Group=<%= @group %> PIDFile...
Add ordering directives to SystemD unit file
Add ordering directives to SystemD unit file Without any ordering directives instances start too early during the boot process. This causes problems in cases with data directory on the iSCSI device for example. These directives (also present in the original SystemD service file distributed in Elasticsearch RPM) fix t...
HTML+ERB
apache-2.0
tylerjl/puppet-elasticsearch,tylerjl/puppet-elasticsearch,tylerjl/puppet-elasticsearch
488777c2257daae03bf4eba6862697f193f351e4
app/views/onboarding_mailer/activation_email.html.erb
app/views/onboarding_mailer/activation_email.html.erb
<h1 class="mb-3"><%=@school.name %> is live on Energy Sparks</h1> <p> You can now use Energy Sparks to see how much energy your school is using, set up alerts to warn you about high energy use and explore our activities and educational resources designed to teach your pupils about energy whilst saving money for...
<h1 class="mb-3"><%=@school.name %> is live on Energy Sparks</h1> <p> You can now use Energy Sparks to see how much energy your school is using, set up alerts to warn you about high energy use and explore our activities and educational resources designed to teach your pupils about energy whilst saving money for...
Add link to training page
Add link to training page
HTML+ERB
mit
BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks,BathHacked/energy-sparks
d70ad75809df91403511c33ac1d1513b0a696270
core/app/views/spree/shared/_routes.html.erb
core/app/views/spree/shared/_routes.html.erb
<script> if (Spree === undefined) { var Spree = {} } if (Spree.routes == undefined) { Spree.routes = {} } Spree.routes.states_search = "<%= spree.api_states_path(:format => 'json') %>" Spree.routes.apply_coupon_code = function(order_id) { return "<%= spree.api_orders_path %>/" + order_id + "/app...
<script> if (Spree === undefined) { var Spree = {} } if (Spree.routes == undefined) { Spree.routes = {} } Spree.routes.states_search = "<%= spree.api_states_path(:format => 'json') %>" Spree.routes.apply_coupon_code = function(order_id) { return "<%= spree.api_orders_path %>/" + order_id + "/app...
Set up a Spree.routes.root property via js
Set up a Spree.routes.root property via js Provide the application a global accessor for the root path in js as stores are not always mounted on the root domain "/" Conflicts: core/app/views/spree/shared/_routes.html.erb
HTML+ERB
bsd-3-clause
orenf/spree,dafontaine/spree,gautamsawhney/spree,berkes/spree,jeffboulet/spree,ramkumar-kr/spree,shaywood2/spree,thogg4/spree,sfcgeorge/spree,Arpsara/solidus,shekibobo/spree,delphsoft/spree-store-ballchair,bricesanchez/spree,abhishekjain16/spree,ayb/spree,tailic/spree,Migweld/spree,ramkumar-kr/spree,joanblake/spree,per...
64da056f183315bc8c119b7a06eb61e1c3c1a0e0
cookbooks/geoq/templates/default/local_settings.py.erb
cookbooks/geoq/templates/default/local_settings.py.erb
DEBUG = <%= node['geoq']['debug'] ? "True":"False" %> DATABASES = { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': '<%= @database[:name] %>', 'USER': '<%= @database[:user] %>', 'PASSWORD': '<%= @database[:password] %>', 'HOST': '<%= @database[:host] ...
DEBUG = <%= node['geoq']['debug'] ? "True":"False" %> DATABASES = { 'default': { 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'NAME': '<%= @database[:name] %>', 'USER': '<%= @database[:user] %>', 'PASSWORD': '<%= @database[:password] %>', 'HOST': '<%= @database[:host] ...
Fix for admin pages css being auto-included
Fix for admin pages css being auto-included
HTML+ERB
apache-2.0
jaycrossler/geoq-chef-repo,jaycrossler/geoq-chef-repo
013cec7d7d67b73c45eede7cdf82a4ce07577936
frontend/app/views/spree/shared/_change_store.html.erb
frontend/app/views/spree/shared/_change_store.html.erb
<% if Spree::Config.show_store_currency_selector && stores.size > 1 %> <li class="change-store"> <div class="dropdown navbar-right-dropdown"> <button id="stores-button" type="button" data-toggle="dropdown" class="navbar-right-dropdown-toggle" aria-label="<%= Spree.t('nav_bar.change_country')%>"> <%=...
<% if Spree::Config.show_store_currency_selector && stores.size > 1 %> <li class="d-none d-xl-block change-store"> <div class="dropdown navbar-right-dropdown"> <button id="stores-button" type="button" data-toggle="dropdown" class="navbar-right-dropdown-toggle" aria-label="<%= Spree.t('nav_bar.change_country...
Hide country picker from header on mobile
[SD-1074] Hide country picker from header on mobile
HTML+ERB
bsd-3-clause
imella/spree,imella/spree,imella/spree
612fc740c2bccf62f5af7c3373deefd372715fc6
app/views/ideas/_idea.html.erb
app/views/ideas/_idea.html.erb
<div class="idea"> <p class="lead idea"><%= link_to(idea.title, idea_path(idea)) %></p> <p><%= truncate(idea.body, :length => 300, :omission => "... ") { link_to "continue reading", idea_path(idea) } %></p> <div id="button_<%= idea.id %>"><%= render :partial => "votes/button", :locals => { :idea => idea } %></div...
<div class="idea"> <p class="lead idea"><%= link_to(idea.title, idea_path(idea)) %></p> <p><%= truncate(raw(idea.formatted_body), :length => 300, :omission => "... ") { link_to "continue reading", idea_path(idea) } %></p> <div id="button_<%= idea.id %>"><%= render :partial => "votes/button", :locals => { :idea =>...
Fix for improper formatting on home page
Fix for improper formatting on home page
HTML+ERB
mit
openjournals/brief-ideas,openjournals/brief-ideas,openjournals/brief-ideas
a7e9bb36c9737e6385ad0b08d3d685ffc01365b9
app/views/imports/new.html.erb
app/views/imports/new.html.erb
<% content_for :header do %> <h1>How to import your OhLife entries</h1> <% end %> <p> <ol> <li> If you haven't exported your OhLife entries yet, do so now. (And hurry, exports won't be available after October 4th!) Export your entries by visiting the OhLife <%= link_to "export page", "h...
<% content_for :header do %> <p> <h1>How to import your OhLife entries</h1> </p> <% end %> <p> <ol> <li><p> If you haven't exported your OhLife entries yet, do so now. (And hurry, exports won't be available after October 4th!) Export your entries by visiting the OhLife <%= link_to...
Make import page a little less bad
Make import page a little less bad
HTML+ERB
mit
codecation/trailmix,codecation/trailmix,codecation/trailmix,codecation/trailmix
6fedea894af215d8005b5b0f1bb9a2053ad0ef83
app/views/posts/_post.html.erb
app/views/posts/_post.html.erb
<div class="post"> <% cache [post.id, post.updated_at] do %> <%= content_tag :h1, link_to(post.title, post) %> <%= content_tag :p, class: "text-muted" do %> <%= content_tag :span, class: "post-author" do %> <%= image_tag post.author_avatar_url, width: 20 %> <%= link_to ["@", post.author_...
<div class="post"> <% cache [post.id, post.updated_at] do %> <%= content_tag :h1, link_to(post.title, post) %> <%= content_tag :p, class: "text-muted" do %> <%= content_tag :span, class: "post-author" do %> <%= image_tag post.author_avatar_url, width: 20 %> <%= link_to ["@", post.author_...
Fix for previewing unpublished articles
Fix for previewing unpublished articles
HTML+ERB
mit
crohr/ebarnouflant,crohr/ebarnouflant
c128da3d2abd47170134ab90200dabcddd6045c6
alert_templates/prod/ccdb_high_cpu_utilization.json.erb
alert_templates/prod/ccdb_high_cpu_utilization.json.erb
{ "created_at": 1461346923000, "deleted": null, "message": "## Description:\nHigh CPU utilization for the last 10 minutes on \nHost: {{host.dbname}} \nDB: {{host.dbname}} \n\n## Escalation Path:\nDepends on the DB.\n\n* ccdb: [page CAPI](https://cfoundry.pagerduty.com/services/P2JWWPW/integrations)\n\n## Possible...
Update ccdb cpu usage monitor to point at new ccdb-mysql5-6
Update ccdb cpu usage monitor to point at new ccdb-mysql5-6 [#158199219]
HTML+ERB
apache-2.0
pivotal-cf-experimental/datadog-config-oss,pivotal-cf-experimental/datadog-config-oss
f320bf837f3ac6648448f0577331efcec21cbab8
app/views/devise/mailer/confirmation_instructions.html.erb
app/views/devise/mailer/confirmation_instructions.html.erb
<p>Hello!</p> <p> Thanks for volunteering to help review <em>Rails 3 in Action</em>. It's quite a big book, and so I don't expect you to review it all. Whatever you can do will help a lot, though! </p> <p>You can confirm your account email through the link below:</p> <p><%= link_to 'Confirm my account', confirmati...
Make confirmation instructions more awesome
Make confirmation instructions more awesome
HTML+ERB
mit
RealSilo/twist,radar/twist,radar/twist,RealSilo/twist,doug-c/mttwist,yannvery/twist,doug-c/mttwist,radar/twist,doug-c/mttwist,yannvery/twist,yannvery/twist,RealSilo/twist
d4f3cfb74a68426ded391cdeb3170b476b2871a0
app/views/partials/stats/_stats-related-countries.html.erb
app/views/partials/stats/_stats-related-countries.html.erb
<div class="card--stats-related"> <h2><%= t('stats.related-countries.title') %></h2> <% if country_children %> <h3 class="stats__subtitle"><%= t('stats.related-countries.title-child') %></h3> <ul class="list--underline"> <% country_children.each do |child| %> <li class="list__li"> <...
<div class="card--stats-related"> <h2><%= t('stats.related-countries.title') %></h2> <% if country_children %> <ul class="list--underline"> <% country_children.each do |child| %> <li class="list__li"> <span class="list__title"><%= child['name'] %></span> <span class="list__val...
Remove redundant header for related countries and territories
Remove redundant header for related countries and territories
HTML+ERB
bsd-3-clause
unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet,unepwcmc/ProtectedPlanet
4a1730afb3eb6a3c7fc3fdbc40dc4b8157b9d289
backend/app/views/spree/admin/style_guide/topics/messaging/_loading.html.erb
backend/app/views/spree/admin/style_guide/topics/messaging/_loading.html.erb
<%- snippet = capture do %> <div id="progress"> <div class="wrapper"> <div id="spinner" class="spinner"></div> <div class="progress-message"><%= Spree.t(:loading) %>...</div> </div> </div> <%- end %> <div class="style-guide-result"> <%= snippet %> </div> <button id="loading-test-button">Togg...
<%- snippet = capture do %> <div id="progress"> <div class="wrapper"> <div id="spinner" class="spinner"></div> <div class="progress-message"><%= Spree.t(:loading) %>...</div> </div> </div> <%- end %> <div class="style-guide-result"> <%= snippet %> </div> <button id="loading-test-button">Togg...
Set duration 0 to remove animation from toggle
Set duration 0 to remove animation from toggle Replace `click` with `mousedown` because the `on` binding method is too fast and the event is fired during the current event. All jQuery effects, including .toggle(), can be turned off globally by setting jQuery.fx.off = true, which effectively sets the duration to 0. For...
HTML+ERB
bsd-3-clause
pervino/solidus,pervino/solidus,pervino/solidus,Arpsara/solidus,Arpsara/solidus,pervino/solidus,Arpsara/solidus,Arpsara/solidus
ea2875cddf7592b34837ffeb151788ab12d67841
app/views/questions/show.html.erb
app/views/questions/show.html.erb
<div class="question_show"> <h2><%= @question.title %></h2> <%= @question.body %><br><br> <div class = "question_edit_buttons"> <% if session[:user_id] == @question.user_id %> <%= button_to 'Edit Question', {action: "edit", id: @question.id}, method: :get %> <%= button_to 'Delete Question', {acti...
<div class="question_show"> <section class="main-question"> <h2 class="question-title-tag"><%= @question.title %></h2> <div class="question-body"> <p class="question-text"><%= @question.body %><p> </div> </section> <div class = "question_edit_buttons"> <% if session[:user_id] == @question.u...
Add classes and structure to main question.
Add classes and structure to main question.
HTML+ERB
mit
barreyro/stack-overflow-clone,barreyro/stack-overflow-clone,barreyro/stack-overflow-clone
55be3e56946cb2fcd729472e405944683152f180
app/views/admin/document_series/_document_series.html.erb
app/views/admin/document_series/_document_series.html.erb
<%= content_tag_for(:tr, document_series) do %> <td class="name"> <%= link_to document_series.name, admin_organisation_document_series_path(document_series.organisation, document_series), title: "view document series #{document_series.name}" %> <%= link_to "(edit)", edit_admin_organisation_document_series_pat...
<%= content_tag_for(:tr, document_series) do %> <td class="name"> <%= link_to document_series.name, admin_organisation_document_series_path(document_series.organisation, document_series), title: "view document series #{document_series.name}" %> </td> <td class="organisation"><%= document_series.organisation.n...
Fix broken looking admin UI for doc series
Fix broken looking admin UI for doc series
HTML+ERB
mit
hotvulcan/whitehall,askl56/whitehall,robinwhittleton/whitehall,alphagov/whitehall,hotvulcan/whitehall,hotvulcan/whitehall,askl56/whitehall,YOTOV-LIMITED/whitehall,robinwhittleton/whitehall,ggoral/whitehall,ggoral/whitehall,ggoral/whitehall,robinwhittleton/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,alphag...
445219cf24a4f216ffa09b414fa49630b94856ec
app/views/vehicle_fuel_purchases/_form.html.erb
app/views/vehicle_fuel_purchases/_form.html.erb
<%= form_for [@user, @vehicle, @purchase] do |f| %> <%= f.error_messages %> <table class="form"> <tr> <td><%= f.label :amount, "Amount (#{@vehicle.vehicle_fuel_unit.abbreviation})"%></td> <td><%= f.text_field :amount %></td> </tr> <tr> <td><%= f.label :purchased_on, "Date" %></td> ...
<%= render "shared/error_messages", :target => @purchase %> <%= form_for [@user, @vehicle, @purchase] do |f| %> <table class="form"> <tr> <td><%= f.label :amount, "Amount (#{@vehicle.vehicle_fuel_unit.abbreviation})"%></td> <td><%= f.text_field :amount %></td> </tr> <tr> <td><%= f.labe...
Use error partial for vehicle fuel purchases
Use error partial for vehicle fuel purchases
HTML+ERB
agpl-3.0
Floppy/carbon-diet,Floppy/carbon-diet,Floppy/carbon-diet,Floppy/carbon-diet
a55942ed651d81b4e5e632247e0fb38143d6a67b
personal_website/app/views/layouts/application.html.erb
personal_website/app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>Personal Website</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, maxmimum-scale=1.0, minimum-scale=1.0 initial-scale=1.0"/> <!--[if lt IE]> <script src="//html5shiv....
<!DOCTYPE html> <html> <head> <title>Personal Website</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, maxmimum-scale=1.0, minimum-scale=1.0 initial-scale=1.0"/> <!--[if lt IE]> <script src="//html5shiv....
Delete about me from nav bar actually
Delete about me from nav bar actually
HTML+ERB
mit
Bigless27/Personal-Website-2.0,Bigless27/Personal-Website-2.0,Bigless27/Personal-Website-2.0
728540c204a40b6b8d94bb540d59947d1d09bab0
app/views/spree/admin/shared/sub_menu/_lists.html.erb
app/views/spree/admin/shared/sub_menu/_lists.html.erb
<ul id="sidebar-marketing" class="collapse nav nav-pills nav-stacked" data-hook="admin_marketing_sub_tabs"> <%= tab :marketing_lists %> <%= tab :marketing_campaigns %> </ul>
<ul id="sidebar-marketing" class="collapse nav nav-pills nav-stacked" data-hook="admin_marketing_sub_tabs"> <%= tab :lists, url: admin_marketing_lists_path %> <%= tab :campaigns, url: admin_marketing_campaigns_path %> </ul>
Remove Marketing from tab labels
Remove Marketing from tab labels
HTML+ERB
bsd-3-clause
vinsol-spree-contrib/spree_marketing,vinsol-spree-contrib/spree_marketing,vinsol-spree-contrib/spree_marketing
da1ca8e076d4f09b17f3a6cb57287ddf1fda8b15
doc-src/templates/api-versions/templates/default/class/html/waiter_summary.erb
doc-src/templates/api-versions/templates/default/class/html/waiter_summary.erb
<h2>Waiter Resources</h2> <p class="children"> <%= @waiters.map {|waiter| linkify waiter }.join(", ") %> </p>
<h2>Waiter Resource States</h2> <p>This service supports a list of resource states that can be polled using the <%= resolve_links "{waitFor}" %> method. The resource states are:</p> <p class="children"> <%= @waiters.map {|waiter| linkify waiter }.join(", ") %> </p>
Add link to waitFor method in waiter resource summary
Add link to waitFor method in waiter resource summary
HTML+ERB
apache-2.0
grimurjonsson/aws-sdk-js,jeskew/aws-sdk-js,chrisradek/aws-sdk-js,beni55/aws-sdk-js,odeke-em/aws-sdk-js,AdityaManohar/aws-sdk-js,prembasumatary/aws-sdk-js,dconnolly/aws-sdk-js,prestomation/aws-sdk-js,jeskew/aws-sdk-js,beni55/aws-sdk-js,chrisradek/aws-sdk-js,jeskew/aws-sdk-js,grimurjonsson/aws-sdk-js,misfitdavidl/aws-sdk...
056c20bc29a9c8586a8c426b09bdd2e509bbe5c6
app/views/article_finder/_row.html.erb
app/views/article_finder/_row.html.erb
<li class="row course-list__row"> <div class="row__wrapper"> <div class="course-list__row__title"><%= full_title(article) %></div> <div class="course-list__row__revisions"><%= article.average_views %></div> <div class="course-list__row__revisions"><%= article.revisions.last.wp10 %></div> </div> </li>
<li class="row course-list__row"> <%= link_to article_url(article) do %> <div class="row__wrapper"> <div class="course-list__row__title"><p class="title"><%= full_title(article) %></p></div> <div class="course-list__row__revisions"><p><%= article.average_views %></p></div> <div class="course-list__row__...
Add article links to article_finder results rows
Add article links to article_finder results rows
HTML+ERB
mit
ragesoss/WikiEduDashboard,ragesoss/WikiEduDashboard,adamwight/WikiEduDashboard,Wowu/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,KarmaHater/WikiEduDashboard,majakomel/WikiEduDashboard,ragesoss/WikiEduDashboard,WinnySilva/WikiEduDashboard,WikiEducationFoundation/WikiEduDashboard,Wowu/WikiEduDashboard,feelfr...
db22f9ec49cf3844278c1f6f7ac9dbd241b843d6
app/views/kata/_starting_info.html.erb
app/views/kata/_starting_info.html.erb
<script> 'use strict'; $(() => { cd.showStartingInfoDialog = (onOff) => { if (cd.kata.index() === 0 && onOff !== 'off') { cd.trafficLightsButton().click(); } }; }); </script>
<script> 'use strict'; $(() => { cd.showStartingInfoDialog = (onOff) => { if (cd.kata.index() === 1 && onOff !== 'off') { cd.trafficLightsButton().click(); } }; }); </script>
Fix starting-info-dialog now kata.index increments in browser now server controller.
Fix starting-info-dialog now kata.index increments in browser now server controller.
HTML+ERB
bsd-2-clause
cyber-dojo/web,cyber-dojo/web,cyber-dojo/web,cyber-dojo/web
5fdb81179e7c21cd74fc267de559fc4a2d8dea5f
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <%= stylesheet_link_tag "application", :media => "all" %> <%= stylesheet_link_tag "print.css", media: "print" %> <title><%= yield :title %> - GOV.UK</title> <%= yield :head %> <% if @content_item %> <%= render partial: 'govuk_component/analytics_meta_tags', loc...
<!DOCTYPE html> <html> <head> <%= stylesheet_link_tag "application", :media => "all" %> <%= stylesheet_link_tag "print.css", media: "print" %> <title><%= yield :title %> - GOV.UK</title> <%= yield :head %> <% if @content_item %> <%= render partial: 'govuk_component/analytics_meta_tags', loc...
Remove redundant tag for removing breadcrumb
Remove redundant tag for removing breadcrumb This app uses the GOV.UK Component to render the breadcrumb. The tag removed in this was previously necessary to instruct Slimmer to hide the old breadcrumb. We no longer need it because the CSS and HTML have been completely removed from static in https://github.com/alphago...
HTML+ERB
mit
alphagov/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,aledelcueto/smart-answers,alphagov/smart-answers,alphagov/smart-answers,alphagov/smart-answers
1d6e8fd88a5462df76785641eb1ab3f77a581e06
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) : "YesAnd" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/modernizr...
<!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) : "YesAnd" %></title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "vendor/modernizr...
Add tooltips for login and logout buttons
Add tooltips for login and logout buttons
HTML+ERB
mit
chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand,chi-fiddler-crabs-2015/yesand
b1e2430b1547b190ab4bf90a577283dea5603fc9
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>How much has your school been robbed?</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> <!-- Latest compiled and minified CSS...
<!DOCTYPE html> <html> <head> <title>How much has your school been robbed?</title> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <%= csrf_meta_tags %> <!-- Latest compiled and minified CSS...
Remove link to font not being used
Remove link to font not being used
HTML+ERB
mit
fma2/cfe-money,fma2/cfe-money,fma2/cfe-money
832d2cdd173bb24e5eab8b6c74b16fd4ebc0649d
app/views/layouts/application.html.erb
app/views/layouts/application.html.erb
<!DOCTYPE html> <html> <head> <title>NeedOTron</title> <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> </head> <body> <div id="container"> <div id="app-header"> <h1><%= link_to 'Need-O-Tron 5000', root_path %></h1> ...
<!DOCTYPE html> <html> <head> <title>NeedOTron</title> <%= stylesheet_link_tag "application" %> <%= csrf_meta_tags %> </head> <body> <div id="container"> <div id="app-header"> <h1><%= link_to 'Need-O-Tron 5000', root_path %></h1> <div role="navigation"> <ul id="a...
Move all javascript to footer
Move all javascript to footer
HTML+ERB
mit
gds-attic/need-o-tron,gds-attic/need-o-tron,gds-attic/need-o-tron
06c38be594a02e796eed1bf019c8b6d0cab5b98f
templates/nsqadmin.conf.erb
templates/nsqadmin.conf.erb
## <addr>:<port> to listen on for HTTP clients http_address = "<%= scope.lookupvar('nsq::nsqadmin::http_address') %>" ## graphite HTTP address graphite_url = "" ## proxy HTTP requests to graphite proxy_graphite = false ## prefix used for keys sent to statsd (%s for host replacement, must match nsqd) statsd_prefix = ...
## <addr>:<port> to listen on for HTTP clients http_address = "<%= scope.lookupvar('nsq::nsqadmin::http_address') %>" ## graphite HTTP address graphite_url = "" ## proxy HTTP requests to graphite proxy_graphite = false ## prefix used for keys sent to statsd (%s for host replacement, must match nsqd) statsd_prefix = ...
Use correct variable from within nsqadmin class
Use correct variable from within nsqadmin class
HTML+ERB
mit
shopspring/puppet-nsq,shopspring/puppet-nsq
fd25822fc9567e7ac8a850ed106ec59dd06280a0
app/views/budgets/show.html.erb
app/views/budgets/show.html.erb
<p id="notice"><%= notice %></p> <p> <strong>Title:</strong> <%= @budget.title %> </p> <p> <strong>Description:</strong> <%= @budget.description %> </p> <p> <strong>Original amount:</strong> <%= @budget.original_amount %> </p> <p> <strong>Start date:</strong> <%= @budget.start_date %> </p> <p> <s...
<p id="notice"><%= notice %></p> <p> <strong>Title:</strong> <%= @budget.title %> </p> <p> <strong>Description:</strong> <%= @budget.description %> </p> <p> <strong>Original amount:</strong> <%= @budget.original_amount %> </p> <p> <strong>Start date:</strong> <%= @budget.start_date %> </p> <p> <s...
Remove user attribute from budgets show page
Remove user attribute from budgets show page
HTML+ERB
mit
kirankarki/expense_tracker,kirankarki/expense_tracker,kirankarki/expense_tracker
ac0bab98275a2d983d2fab6fdd7a006b9ae610dd
app/views/sessions/new.html.erb
app/views/sessions/new.html.erb
<div class="row"> <div class="col-md-12"> <% if @message %> <div class="alert alert-danger" role="alert"> <span class="glypthicon glypthicon-exclamation-sign" aria-hidden="true"></span> <%= @message %> </div> <% end %> </div> <div class="col-md-12"> <%= bootstrap_form_tag ...
<div class="row"> <div class="col-md-12"> <% if @message %> <div class="alert alert-danger" role="alert"> <span class="glypthicon glypthicon-exclamation-sign" aria-hidden="true"></span> <%= @message %> </div> <% end %> </div> <div class="col-md-12"> <%= bootstrap_form_tag ...
Add id to login link
Add id to login link
HTML+ERB
mit
William-Jung/WeJ,William-Jung/WeJ,William-Jung/WeJ
05ca09a86c9f2a00410825ebfe02b686c1b9f2aa
app/views/pages/about.html.erb
app/views/pages/about.html.erb
<% @content_title = "About" %>
<% @content_title = "About" %> Derek Lane and Mark McSpadden started Coding Mentors to help encourage mentoring and software craftsmanship. Here's a little bit about us. <h2>Derek Lane</h2> <p> After years of fumbling around with the backyard grill, Derek Lane has recently found his life’s calling as a BBQ Life Co...
Add content to about page
Add content to about page
HTML+ERB
mit
markmcspadden/coding-mentors,markmcspadden/coding-mentors
76bb21403db227124aca380a84b887aef8a567d7
app/views/spree/checkout/payment/_purchaseorder.html.erb
app/views/spree/checkout/payment/_purchaseorder.html.erb
<div class='well clearfix'> <% param_prefix = "payment_source[#{payment_method.id}]" %> <p class='field'> <%= label_tag :po_number do %> <%= Spree.t(:po_number) %><abbr class='required' title='required'>*</abbr> <% end %> <%= text_field_tag "#{param_prefix}[po_number]", '', id: :po_number, class: ...
<div class="payment-gateway"> <% param_prefix = "payment_source[#{payment_method.id}]" %> <div class="payment-gateway-fields"> <div class="mb-4 payment-gateway-field checkout-content-inner-field"> <%= text_field_tag "#{param_prefix}[po_number]", '', id: 'po_number', class: 'spree-flat-input', placeholder...
Make template use Spree 4 styles
Make template use Spree 4 styles
HTML+ERB
mit
deepakmahakale/spree_purchase_order,deepakmahakale/spree_purchase_order,deepakmahakale/spree_purchase_order
1f849d1ef92c7f9a41b3d0607eda63792762088d
app/views/admin/edition_workflow/confirm_unwithdraw.html.erb
app/views/admin/edition_workflow/confirm_unwithdraw.html.erb
<% content_for :page_title, "Unwithdraw: #{@edition.title}" %> <% content_for :title, "Are you sure you want to unwithdraw?" %> <% content_for :context, @edition.title %> <% content_for :title_margin_bottom, 6 %> <% content_for :back_link do %> <%= render "govuk_publishing_components/components/back_link", { hre...
<% content_for :page_title, "Unwithdraw: #{@edition.title}" %> <% content_for :title, "Are you sure you want to unwithdraw?" %> <% content_for :context, @edition.title %> <% content_for :title_margin_bottom, 6 %> <div class="govuk-grid-row"> <div class="govuk-grid-column-two-thirds"> <%= form_tag unwithdraw_admi...
Replace confirm unwithdraw back button with cancel button
Replace confirm unwithdraw back button with cancel button In our like for like approach we're using cancel buttons instead of back buttons in the new design system pages.
HTML+ERB
mit
alphagov/whitehall,alphagov/whitehall,alphagov/whitehall,alphagov/whitehall
f3b98b2cb64db0078ebb10f6f413014033de31c5
app/views/projects/show/_tasks.html.erb
app/views/projects/show/_tasks.html.erb
<div class="tab-pane" id="tasks"> <%- unless @recent_tasks.empty? -%> <div class="page-header"> <h4>Tasks</h4> </div> <div class="well"> <%= link_to 'New task', new_project_task_path(resource), :class => "btn btn-primary" %> </div> <%- @recent_tasks.each do |task| -%> <%= rend...
<div class="tab-pane" id="tasks"> <div class="page-header"> <h4>Tasks</h4> </div> <div class="well"> <%= link_to 'New task', new_project_task_path(resource), :class => "btn btn-primary" %> </div> <%- @recent_tasks.each do |task| -%> <%= render :partial => "task", :locals => { :task => task, :hidd...
Create task when there is no tasks
Create task when there is no tasks
HTML+ERB
mit
express42/strano,99monkeys/deploybird,99monkeys/deploybird,express42/strano,99monkeys/deploybird,express42/strano,99monkeys/deploybird,express42/strano
13a9c028f01d7a7b8e9837d35cea20bfa5d7b276
app/views/recipes/_search_form.html.erb
app/views/recipes/_search_form.html.erb
<%= bootstrap_form_tag url: recipes_path , method: "GET" do |f| %> <div class="well" id="search_recipe_form"> <%= f.text_field :name , value: params[:name], placeholder: "Titre", label: 'Nom' %> <%= f.select :type, options_for_select((Recipe.types+["Toutes"]) , params[:type]), label: 'Saison' %> <%= f.s...
<%= bootstrap_form_tag url: recipes_path , method: "GET" do |f| %> <div class="well" id="search_recipe_form"> <%= f.text_field :name , value: params[:name], placeholder: "Titre", label: 'Nom' %> <%= f.select :type, options_for_select((Recipe.types+["Toutes"]) , params[:type]), label: 'Saison' %> <%= f.s...
Add allergen in search form
Add allergen in search form
HTML+ERB
mit
RaspberryCook/website,RaspberryCook/website,madeindjs/raspberry_cook,madeindjs/raspberry_cook,madeindjs/raspberry_cook,RaspberryCook/website
c0b25d5cd1ac460bb12e2135ba5e10a87b73a46f
app/views/shared/_hero_rotator.html.erb
app/views/shared/_hero_rotator.html.erb
<% if news_articles.any? %> <section class="<%= featured_carousel_classes(options) %>" id="featured-news-articles"> <% news_articles.each do |news_article| %> <%= content_tag_for(:article, news_article, nil, class: document_organisation_class(news_article)) do %> <div class="img"> <% if ne...
<% if news_articles.any? %> <section class="<%= featured_carousel_classes(options) %>" id="featured-news-articles"> <% news_articles.each do |news_article| %> <%= content_tag_for(:article, news_article, nil, class: document_organisation_class(news_article)) do %> <div class="img"> <% if ne...
Update length of truncation, and make it break at a natural point .
Update length of truncation, and make it break at a natural point .
HTML+ERB
mit
alphagov/whitehall,ggoral/whitehall,askl56/whitehall,hotvulcan/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,YOTOV-LIMITED/whitehall,hotvulcan/whitehall,alphagov/whitehall,askl56/whitehall,robinwhittleton/whitehall,ggoral/whitehall,robinwhittleton/whitehall,ggoral/whitehall,YOTOV-LIMITED/whitehall,askl56/wh...
c965837e5a19b17aab5c8459c3536008d2ba4703
core/app/views/admin/return_authorizations/edit.html.erb
core/app/views/admin/return_authorizations/edit.html.erb
<div class='toolbar'> <ul class='actions'> <li> <% if @return_authorization.can_receive? %> <%= button_link_to(t('receive'), fire_admin_order_return_authorization_url(@order, @return_authorization, :e => 'receive'), :method => :put, :confirm => t("are_you_sure")) %> <% end %> <% if @retu...
<div class='toolbar'> <ul class='actions'> <li> <% if @return_authorization.can_receive? %> <%= button_link_to(t('receive'), fire_admin_order_return_authorization_url(@order, @return_authorization, :e => 'receive'), :method => :put, :confirm => t("are_you_sure")) %> <% end %> <% if @retu...
Use 'update' instead of 'continue' string for RMA Edit form
Use 'update' instead of 'continue' string for RMA Edit form [#1722 state:resolved]
HTML+ERB
bsd-3-clause
KMikhaylovCTG/spree,firman/spree,ckk-scratch/solidus,kitwalker12/spree,sliaquat/spree,hifly/spree,Senjai/spree,KMikhaylovCTG/spree,useiichi/spree,cutefrank/spree,Mayvenn/spree,Boomkat/spree,beni55/spree,vinayvinsol/spree,grzlus/spree,tancnle/spree,FadliKun/spree,AgilTec/spree,ahmetabdi/spree,joanblake/spree,dafontaine/...
45bdb9e5d44c23408bc747735a07ac3ef89ff981
app/views/devise/passwords/edit.html.erb
app/views/devise/passwords/edit.html.erb
<h2><%= t("devise.password.edit.change_your_password") %></h2> <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> <%= devise_error_messages! %> <%= f.hidden_field :reset_password_token %> <div class="field"> <%= f.label :password, t("devise.passwor...
<h2><%= t("devise.passwords.edit.change_your_password") %></h2> <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> <%= devise_error_messages! %> <%= f.hidden_field :reset_password_token %> <div class="field"> <%= f.label :password, t("devise.passwo...
Fix translate on password edit
Fix translate on password edit
HTML+ERB
mit
marceloperini/gorails,jcottobboni/gorails,gorails/gorails,jcottobboni/gorails,jcottobboni/gorails,benhur10cp/gorails,gorails/gorails,marceloperini/gorails,marceloperini/gorails,helioborges/gorails,marceloperini/gorails,helioborges/gorails,jcottobboni/gorails,gorails/gorails,helioborges/gorails,helioborges/gorails,benhu...
b7d70fd3daea1a42ada4959165d4a72935dfa773
app/views/search_results/index_with_results.html.erb
app/views/search_results/index_with_results.html.erb
<div class="l-search-results"> <main> <h1><%= t('.title') %> "<%= params[:query] %>"</h1> <% search_results.each do |result| %> <article class="search-results__item"> <h2><%= result.title %></h2> <p><%= result.description %></p> </article> <% end %> </main> </div>
<div class="l-search-results"> <main> <h1><%= t('.title') %> "<%= params[:query] %>"</h1> <ol class="search-results"> <% search_results.each do |result| %> <li class="search-results__item"> <h2><%= result.title %></h2> <p><%= result.description %></p> </li> <% end %> </m...
Update search result markup to that provided by front end devs.
Update search result markup to that provided by front end devs.
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
a4ebd3df0c841862121820f59be337926abfaf25
app/views/users/new.html.erb
app/views/users/new.html.erb
<% provide(:title, 'Sign up') %> <h1>Sign up</h1> <div class="row"> <div class="col-md-6 col-md-offset-3"> <%= form_for(@user, url: register_path) do |f| %> <%= render 'shared/error_messages' %> <%= f.label :name %> <%= f.text_field :name, class: 'form-control' %> <%= f.l...
<% provide(:title, 'Sign up') %> <h1>Sign up</h1> <div class="row"> <div class="col-md-6 col-md-offset-3"> <%= form_for(@user, url: register_path) do |f| %> <%= render 'shared/error_messages' %> <%= f.label :name %> <%= f.text_field :name, class: 'form-control' %> <%= f.l...
Add a default value for sub_mobile when creating a user
Add a default value for sub_mobile when creating a user
HTML+ERB
mit
Klaital/vitasa-web,Klaital/vitasa-web,Klaital/vitasa-web,Klaital/vitasa-web
4e6e3ad0809bcc7bb538450d9953b6c4162d8907
app/views/newsletter/subscriptions/_form.html.erb
app/views/newsletter/subscriptions/_form.html.erb
<%= form_tag(subscription_path, class: 'newsletter', remote: true) do %> <h3 class="newsletter__heading"><%= t('newsletter.heading') %></h3> <ul class="list-benefits list-benefits--sm"> <% t('newsletter.benefits').each do |benefit| %> <li><%= benefit %></li> <% end %> </ul> <%= label_tag('subscrip...
<%= form_tag(subscription_path, class: 'newsletter', remote: true) do %> <%= hidden_field_tag :authenticity_token, form_authenticity_token -%> <h3 class="newsletter__heading"><%= t('newsletter.heading') %></h3> <ul class="list-benefits list-benefits--sm"> <% t('newsletter.benefits').each do |benefit| %> ...
Add authenticity token to newsletter sign up form.
Add authenticity token to newsletter sign up form.
HTML+ERB
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
ce4e1397a9fa90934adfda0ea305eea8c84671c1
app/views/items/new.html.erb
app/views/items/new.html.erb
<h1>Add a new Item</h1> <%= form_for [@list, @item] do |f| %> Item Name: <%= f.text_field :name %> <%= f.submit %> <% end %>
<h1>Add a new Item</h1> <%= form_for [@list, @item] do |f| %> Item Name: <%= f.text_field :name %> <p>Item Name: <%= f.text_field :name %></p> <%= fields_for @store do |store| %> <p>Store Name: <%= store.text_field :name %></p> <% end %> <%= f.submit %> <% end %>
Include Store on new Item form
Include Store on new Item form
HTML+ERB
mit
withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy,withtwoemms/stuff-i-buy
a9ae13073133b91b9ac10464f7f38d40fc84abe8
app/views/users/new.html.erb
app/views/users/new.html.erb
<h3 class="error-heading"> <% if current_user %> <%= @current_user.errors.messages if @current_user.errors.messages.any? %> <% end %> </h3> <h1>Sign your copy of the book</h1> <ul> <%= form_for users_path do |f| %> <li> <%= f.label :username %> <%= f.text_field :username %> </li> <li> <%= f.la...
<h3 class="error-heading"> <% if current_user %> <%= @current_user.errors.messages if @current_user.errors.messages.any? %> <% end %> </h3> <h1>Sign your copy of the book</h1> <ul> <%= form_for(:user) do |f| %> <li> <%= f.label :username %> <%= f.text_field :username %> </li> <li> <%= f.label ...
Fix bug with strong user param auth.
Fix bug with strong user param auth.
HTML+ERB
mit
lukert33/project_raleigh_rails_implementation,lukert33/project_raleigh_rails_implementation
575fce512c8f3781d8a21a359d7cceb357f9f5a6
jobs/rep/templates/post-start.erb
jobs/rep/templates/post-start.erb
#!/bin/bash function convert_to_seconds { hours_in_seconds=0 minutes_in_seconds=0 seconds=0 if echo "$1" | grep -q '[0-9]\+h'; then hours_in_seconds=$(($(echo "$1" | grep -o '[0-9]\+h' | grep -o "[0-9]\+")*3600)) fi if echo "$1" | grep -q '[0-9]\+m'; then minutes_in_seconds=$(($(echo "$1" | grep ...
#!/bin/bash <% def convert_to_seconds(duration) result = duration.scan(/([\d.]+)(ns|us|ms|s|m|h)/).map do |val_string, unit| val = val_string.to_i conversion = 0 case unit when "h" conversion = 3600 when "m" conversion = 60 when "s" conversion = 1 end val * co...
Change rep timeout duration parser into a Ruby function.
Change rep timeout duration parser into a Ruby function. Signed-off-by: Brandon Shroyer <bshroyer@pivotal.io> [finishes #132625721]
HTML+ERB
apache-2.0
cloudfoundry-incubator/diego-release,cloudfoundry-incubator/diego-release,cloudfoundry-incubator/diego-release,cloudfoundry-incubator/diego-release
d733e5adcdeb761a08bda0f606446ec3f3f29d36
app/views/careers/show.html.erb
app/views/careers/show.html.erb
<h2><%= @career.name %></h2> <%= link_to 'Back', careers_path %> <p><%= @career.description %></p> <ul class="requirements"> <% @career.requirements.each do |requirement| %> <li> <h3><%= requirement.skill.name %></h3> <p>Required level: <%= requirement.level %></p> <p>For seniority: <%= requir...
<h2><%= @career.name %></h2> <%= link_to 'Panorama', panorama_career_path(@career) %> | <%= link_to 'Edit', edit_career_path(@career) %> | <%= link_to 'Destroy', career_path(@career), method: :delete, data: { confirm: 'Are you sure?' } %> | <%= link_to 'Back', careers_path %> <p><%= @career.description %></p> <h3>Req...
Move career management links to top
Move career management links to top It makes them easy to spot. Also added a title for requiremennts.
HTML+ERB
agpl-3.0
Altoros/hacker-assessor,Altoros/hacker-assessor
56aa8c1ec94de7dce5ff1b681b0b2ce5f5a374a8
app/assets/javascripts/rails_admin/rails_admin.js.erb
app/assets/javascripts/rails_admin/rails_admin.js.erb
<% theme = ENV['RAILS_ADMIN_THEME'] || :default require_asset 'jquery' require_asset 'jquery_ujs' require_asset 'jquery.remotipart' require_asset 'jquery.effects.core' require_asset 'jquery.ui.sortable' require_asset 'jquery.ui.autocomplete' require_asset 'jquery.ui.datepicker' require_asset 'rails_ad...
<% theme = ENV['RAILS_ADMIN_THEME'] || :default require_asset 'jquery' require_asset 'jquery_ujs' require_asset 'jquery.remotipart' require_asset 'jquery.ui.effects' require_asset 'jquery.ui.sortable' require_asset 'jquery.ui.autocomplete' require_asset 'jquery.ui.datepicker' require_asset 'rails_admi...
Change the name the jquery effects file to match the bump of jquery-ui-rails from 2 to 3.
Change the name the jquery effects file to match the bump of jquery-ui-rails from 2 to 3.
HTML+ERB
mit
josedonizetti/rails_admin,wkirschbaum/rails_admin,yakovenkodenis/rails_admin,sogilis/rails_admin,aravindgd/rails_admin,dwbutler/rails_admin,voyera/rails_admin,vincentwoo/rails_admin,ipmobiletech/rails_admin,crashlytics/rails_admin,goodinc/rails_admin_for_mag,Exygy/rails_admin,aquajach/rails_admin,Balaraju/rails_admin,i...
811f01f63658c5da6c69fa588e9b7824bb5dfb38
gitconfig.erb
gitconfig.erb
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [core] excludesfile = <%= ENV['HOME'] %>/.gitignore autocrlf = input editor = gvim -f [alias] co = checkout ci = commit st = status br = branch l = log --dec...
[user] name = <%= print("Your Name: "); STDOUT.flush; STDIN.gets.chomp %> email = <%= print("Your Email: "); STDOUT.flush; STDIN.gets.chomp %> [core] excludesfile = <%= ENV['HOME'] %>/.gitignore autocrlf = input editor = gvim -f [alias] co = checkout ci = commit st = status br = branch l = log --dec...
Remove git config about whitespace handling
Remove git config about whitespace handling
HTML+ERB
apache-2.0
tomsquest/dotfiles,tomsquest/dotfiles,tomsquest/dotfiles