adds prism css and js

adds prism css and js

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello BigSnips!</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/prism.css") %>">

Get Started

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

        <%= render @view_module, @view_template, assigns %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello BigSnips!</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

Get Started

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

        <%= render @view_module, @view_template, assigns %>


Remove container in layout

Remove container in layout

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello BattleSnake!</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

      <%= render @view_module, @view_template, assigns %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello BattleSnake!</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

Get Started

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

        <%= render @view_module, @view_template, assigns %>


Use enemies group to make player appear above other players

<script src="//cdn.jsdelivr.net/phaser-ce/2.7.3/phaser.min.js"></script>

<script type="text/javascript">

window.onload = function() {

    var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });

    var player
    var cursors
    var player_id
    var player_id_int

    var enemies

    var other_players = []
    var world_state = {}

    function preload () {

        game.load.image('sheep_1', 'images/sheep_1.png');

    }

    function create () {

        game.stage.disableVisibilityChange = true;

        enemies = game.add.group()

        player = game.add.sprite(game.world.centerX, game.world.centerY, 'sheep_1');
        player.anchor.setTo(0.5, 0.5);

        cursors = game.input.keyboard.createCursorKeys();
        player_id_int = Math.floor(Math.random() * 1000)
        player_id = player_id_int.toString()

        channel.push("im_new_here", { player: player_id , position: { x: player.x, y: player.y }})

    }

    function update () {

        if (cursors.left.isDown) {
            player.x -= 4;
        }
        else if (cursors.right.isDown) {
            player.x += 4;
        }

        if (cursors.up.isDown) {
            player.y -= 4;
        }
        else if (cursors.down.isDown) {
           player.y += 4;
        }

        other_players.forEach(function(other_player) {
          var other_player_id = parseInt(other_player.player_id);

          if (other_player_id in world_state) {
            other_player.game_object.x = world_state[other_player_id].x
            other_player.game_object.y = world_state[other_player_id].y
          }
        })

        if (player_id_int in world_state) {
          if (world_state[player_id_int].x != player.x ||
                  world_state[player_id_int].y != player.y ) {
            channel.push("new_position", { player: player_id, position: { x: player.x, y: player.y }})
          }
        }
    }

    channel.on("update_world", payload => {

      world_state = payload

    })

    channel.on("new_player_joined", payload => {

      var other_player_id = payload.player_id
      var position = payload.position

      var new_player = game.add.sprite(position.x, position.y, 'sheep_1')
      new_player.anchor.setTo(0.5, 0.5)

      other_players.push({player_id: other_player_id, game_object: new_player})

    })

    channel.on("hello_world", payload => {

      Object.keys(payload).forEach(function(key) {
        if (key == player_id_int) { return }

        var new_player = game.add.sprite(payload[key].x, payload[key].y, 'sheep_1')
        new_player.anchor.setTo(0.5, 0.5);

        enemies.add(new_player)

        other_players.push({player_id: key, game_object: new_player})
      })

    })

};

</script>

<script src="//cdn.jsdelivr.net/phaser-ce/2.7.3/phaser.min.js"></script>

<script type="text/javascript">

window.onload = function() {

    var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });

    var player
    var cursors
    var player_id
    var player_id_int

    var other_players = []
    var world_state = {}

    function preload () {

        game.load.image('sheep_1', 'images/sheep_1.png');

    }

    function create () {

        game.stage.disableVisibilityChange = true;

        player = game.add.sprite(game.world.centerX, game.world.centerY, 'sheep_1');
        player.anchor.setTo(0.5, 0.5);

        cursors = game.input.keyboard.createCursorKeys();
        player_id_int = Math.floor(Math.random() * 1000)
        player_id = player_id_int.toString()

        channel.push("im_new_here", { player: player_id , position: { x: player.x, y: player.y }})

    }

    function update () {

        if (cursors.left.isDown) {
            player.x -= 4;
        }
        else if (cursors.right.isDown) {
            player.x += 4;
        }

        if (cursors.up.isDown) {
            player.y -= 4;
        }
        else if (cursors.down.isDown) {
           player.y += 4;
        }

        other_players.forEach(function(other_player) {
          var other_player_id = parseInt(other_player.player_id);

          if (other_player_id in world_state) {
            other_player.game_object.x = world_state[other_player_id].x
            other_player.game_object.y = world_state[other_player_id].y
          }
        })

        if (player_id_int in world_state) {
          if (world_state[player_id_int].x != player.x ||
                  world_state[player_id_int].y != player.y ) {
            channel.push("new_position", { player: player_id, position: { x: player.x, y: player.y }})
          }
        }
    }

    channel.on("update_world", payload => {

      world_state = payload

    })

    channel.on("new_player_joined", payload => {

      var other_player_id = payload.player_id
      var position = payload.position

      var new_player = game.add.sprite(position.x, position.y, 'sheep_1')
      new_player.anchor.setTo(0.5, 0.5)

      other_players.push({player_id: other_player_id, game_object: new_player})

    })

    channel.on("hello_world", payload => {

      Object.keys(payload).forEach(function(key) {
        if (key == player_id_int) { return }

        var new_player = game.add.sprite(payload[key].x, payload[key].y, 'sheep_1')
        new_player.anchor.setTo(0.5, 0.5);

        other_players.push({player_id: key, game_object: new_player})
      })

    })

};

</script>


update index page template

update index page template

<!doctype html>

    <meta charset="utf-8">
    <title>Destino</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

Destino

Redirect to a Ruby gem's GitHub page, if available.

      Usage : GET /<gem-name>

    Example : GET /git-revision

    ^__^ Source

<!doctype html>
<html lang="en-US">
<head>
  <title>main/index - Destino</title>
</head>
<body>
  Hello World
</body>
</html>


11

11

11

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Jelly Agile Board.">
    <meta name="author" content="drdean@qq.com">

    <title>Jelly</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/application.css") %>">
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
    <link id="favicon" rel="icon" type="image/png" sizes="64x64" href="<%= static_path(@conn, "/images/favicon.png") %>"/>

        Jelly tribute for educational purposes
        crafted with ♥

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
<<<<<<< HEAD
    <meta name="description" content="Jelly">
=======
    <meta name="description" content="Jelly Agile Board.">
>>>>>>> origin/master
    <meta name="author" content="drdean@qq.com">

    <title>Jelly</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/application.css") %>">
    <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
    <link id="favicon" rel="icon" type="image/png" sizes="64x64" href="<%= static_path(@conn, "/images/favicon.png") %>"/>

<<<<<<< HEAD
        Jelly 2016 crafted with ♥
=======
        Jelly tribute for educational purposes
        crafted with ♥
>>>>>>> origin/master


Disable hotjar script from sending data in development

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="A real-time application for conducting Agile retrospectives">
    <meta name="author" content="">
    <title>RemoteRetro</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/semantic-ui/semantic.min.css") %>">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

  <body class="<%= if @view_module.include_backdrop, do: "photo-backdrop" %>">

      <%= render @view_module, @view_template, assigns %>

    <%= if @view_module.include_js do %>

    <% end %>


Add alt text to Stride logo

Add alt text to Stride logo

RemoteRetroBETA

Built by

    Connecting...

RemoteRetroBETA

Built by

    Connecting...


Remove container class from home page, as this strips centering

  <iframe scrolling="no" frameborder="0" allowtransparency="true" class="twitter-share-button twitter-share-button-rendered twitter-tweet-button" style="position: static; visibility: visible; width: 61px; height: 20px;" title="Twitter Tweet Button" src="https://platform.twitter.com/widgets/tweet_button.2e798283373a8137c24e277b9b9620d6.en.html#dnt=false&id=twitter-widget-0&lang=en&original_referer=https%3A%2F%2Fsemantic-ui.com%2F&size=m&text=I%20%E2%9D%A4%20RemoteRetro!%20Like,%20big%20time.&time=1519956156939&type=share&url=http%3A%2F%2Fremoteretro.org&via=StrideDev&hashtags=myelixirstatus,opensource" data-url="http://remoteretro.org">

    Remote

    Retro

    Get Better With Your Team

RemoteRetro lets you get together, even when you're far apart.

    Sign in with Google to Get Started

            Free!

Costs less than a song!

            Collaborative!

Interact with teammates in real time!

            Guided!

A retro on rails!

            Completely Open Source!

            GitHub

Trusted By

        Sign in with Google to Get Started

        F.A.Q.


add scripts for google tag manager

add scripts for google tag manager

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>RemoteRetro</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/semantic-ui/semantic.min.css") %>">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

  <body class="<%= if @view_module.include_backdrop, do: "photo-backdrop" %>">

      <%= render @view_module, @view_template, assigns %>

    <%= if @view_module.include_js do %>

    <% end %>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>RemoteRetro</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/semantic-ui/semantic.min.css") %>">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
  </head>

  <body class="<%= if @view_module.include_backdrop, do: "photo-backdrop" %>">
    <main role="main">
      <%= render @view_module, @view_template, assigns %>
    </main>

    <%= if @view_module.include_js do %>
      <script>window.userToken = "<%= assigns[:user_token] %>"</script>
      <script>window.retroUUID = "<%= assigns[:retro_uuid] %>"</script>
      <script src="<%= static_path(@conn, "/js/dll/dll.vendor.js") %>"></script>
      <script src="<%= static_path(@conn, "/js/app.js") %>"></script>
    <% end %>
  </body>
</html>


Fix title

Fix title

<!DOCTYPE html>
<html lang="<%= locale %>">

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Play memory/concentration game with friends over the Internet without registration">
    <meta name="author" content="Max Gorin">
    <meta content='/images/landing.jpg' property='og:image'>

    <title>Registration-free multiplayer Memory game</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

      <%= if assigns[:mini_header] do %>

            <%= link to: "/" do %>

              Pairs One
            <% end %>

          <%= if assigns[:show_new_link] do %>

              <%= link gettext("New game"), to: game_path(@conn, :new), class: "btn btn-default" %>

          <% end %>

      <% else %>

            <%= link to: "/" do %>

              Pairs One
            <% end %>

 <%= gettext "Best multiplayer online memory game" %>

      <% end %>

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

          <%= render @view_module, @view_template, assigns %>

          <select name="language" id="language" onchange="">
            <%= for {code, name} <- lang_select_options do %>
              <option value="<%= code %>" <%= if locale == code do "selected" end %>><%= name %></option>
            <% end %>
          </select>

          © <%= DateTime.utc_now.year %>
          <%= link "Max Gorin", to: "https://twitter.com/mxgrn" %>

            <%= gettext "Hire me" %>

          <%= link to: "https://github.com/mxgrn/pairs.one" do %>

            <%= gettext "Source code" %>
          <% end %>

    <%= unless @conn.host == "localhost" do %>
      <%= render "ga.html" %>
    <% end %>

<!DOCTYPE html>
<html lang="<%= locale %>">

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Play memory/concentration game with friends over the Internet without registration">
    <meta name="author" content="Max Gorin">
    <meta content='/images/landing.jpg' property='og:image'>

    <title>Play PairsOne/Concentration game over the Internet</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

      <%= if assigns[:mini_header] do %>

            <%= link to: "/" do %>

              Pairs One
            <% end %>

          <%= if assigns[:show_new_link] do %>

              <%= link gettext("New game"), to: game_path(@conn, :new), class: "btn btn-default" %>

          <% end %>

      <% else %>

            <%= link to: "/" do %>

              Pairs One
            <% end %>

 <%= gettext "Best multiplayer online memory game" %>

      <% end %>

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

          <%= render @view_module, @view_template, assigns %>

          <select name="language" id="language" onchange="">
            <%= for {code, name} <- lang_select_options do %>
              <option value="<%= code %>" <%= if locale == code do "selected" end %>><%= name %></option>
            <% end %>
          </select>

          © <%= DateTime.utc_now.year %>
          <%= link "Max Gorin", to: "https://twitter.com/mxgrn" %>

            <%= gettext "Hire me" %>

          <%= link to: "https://github.com/mxgrn/pairs.one" do %>

            <%= gettext "Source code" %>
          <% end %>

    <%= unless @conn.host == "localhost" do %>
      <%= render "ga.html" %>
    <% end %>


temp jquery/bootstrap pending proper assets

  <%= gettext "Thank you for so much registering/logging in!" %>

          <button type="button" class="btn btn-default">
            <%= gettext "Back" %>
          </button>

          <button type="button" class="btn btn-default">
            <%= gettext "Log out" %>
          </button>

          <button type="button" class="btn btn-default">
            <%= gettext "Settings" %>
          </button>

        <%= for {stock_type, _stocks} <- @food_stock_by_type do %>
          <li class="<%= active(stock_type, @food_stock_by_type)%>">
            <a href="#<%= stock_type %>" data-toggle="tab"> <%= stock_type %>

        <% end %>

        <%= for {stock_type, stocks} <- @food_stock_by_type do %>
          <div class="tab-pane <%= active(stock_type, @food_stock_by_type)%>" id="<%= stock_type %>">

              <%= stock_type %> <%= gettext("credits remaining:") %> <%=  @credits[stock_type] %>

              <%= for stock <- stocks do %>

                    <%= stock.credits_per_package %>  <%= stock_type %>

                    <%= stock.food.longdesc %>

                    <%= stock.packaging %>

                    <%= stock.food.manufacturer_name %>

              <% end %>

        <% end %>


Make 'New employee' button look nicer.

Make 'New employee' button look nicer.

      Name
      Phone
      Email
      Bio

<%= for employee <- @employees do %>

      <img src="<%= employee.avatar_url %>" style="height: 90px; width: auto; border-radius: 50%;" />
      <%= employee.name %>
      <%= employee.phone %>
      <%= employee.email %>
      <%= employee.bio %>

        <%= link "Show", to: employee_path(@conn, :show, employee), class: "btn btn-default btn-xs" %>
        <%= link "Edit", to: employee_path(@conn, :edit, employee), class: "btn btn-default btn-xs" %>
        <%= link "Delete", to: employee_path(@conn, :delete, employee), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %>

<% end %>

<%= link "New employee", to: employee_path(@conn, :new), class: "btn btn-default" %>

      Name
      Phone
      Email
      Bio

<%= for employee <- @employees do %>

      <img src="<%= employee.avatar_url %>" style="height: 90px; width: auto; border-radius: 50%;" />
      <%= employee.name %>
      <%= employee.phone %>
      <%= employee.email %>
      <%= employee.bio %>

        <%= link "Show", to: employee_path(@conn, :show, employee), class: "btn btn-default btn-xs" %>
        <%= link "Edit", to: employee_path(@conn, :edit, employee), class: "btn btn-default btn-xs" %>
        <%= link "Delete", to: employee_path(@conn, :delete, employee), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %>

<% end %>

<%= link "New employee", class: "btn btn-lg btn-outline", to: employee_path(@conn, :new) %>


Add favicon to make static assets' presence more obvious

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title><%= @name %> </title>
    <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
    <link rel="stylesheet" href="/main.css">
    <link rel="icon" href="/favicon.ico">
  </head>
  <body>
  <%%= content %>
  <script type="text/javascript" src="/main.js"> </script>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title><%= @name %> </title>
    <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
    <link rel="stylesheet" href="/main.css">
  </head>
  <body>
  <%%= content %>
  <script type="text/javascript" src="/main.js"> </script>
  </body>
</html>


Fixed label of email address in form.

Fixed label of email address in form.

<%= form_for @changeset, @action, [multipart: true], fn f -> %>
  <%= if @changeset.action do %>

<%= gettext "Oops, something went wrong! Please check the errors below." %>

  <% end %>

    <%= label f, :gender, class: "control-label" %>
    <%= select f, :gender, [{gettext("Mr"), "male"},
      {gettext("Mrs"), "female"}, {gettext("Other"), "other"}], class: "form-control" %>
    <%= error_tag f, :gender %>

    <%= label f, :first_name, class: "control-label" %>
    <%= text_input f, :first_name, class: "form-control", autofocus: true %>
    <%= error_tag f, :first_name %>

    <%= label f, :last_name, class: "control-label" %>
    <%= text_input f, :last_name, class: "form-control" %>
    <%= error_tag f, :last_name %>

  <%= inputs_for f, :emails, fn ef -> %>

      <%= label ef, :email_address, class: "control-label" %>
      <%= text_input ef, :value, class: "form-control" %>
      <%= error_tag ef, :value %>

  <% end %>

  <%= if @current_user do %>

      <%= label f, :middlename, class: "control-label" %>
      <%= text_input f, :middlename, class: "form-control" %>
      <%= error_tag f, :middlename %>

      <%= label f, :nickname, class: "control-label" %>
      <%= text_input f, :nickname, class: "form-control" %>
      <%= error_tag f, :nickname %>

      <%= label f, :honorific_prefix, class: "control-label" %>
      <%= text_input f, :honorific_prefix, class: "form-control" %>
      <%= error_tag f, :honorific_prefix %>

      <%= label f, :honorific_suffix, class: "control-label" %>
      <%= text_input f, :honorific_suffix, class: "form-control" %>
      <%= error_tag f, :honorific_suffix %>

      <%= label f, :birthdate, class: "control-label" %>
      <%= date_select f, :birthdate, class: "form-control" %>
      <%= error_tag f, :birthdate %>

      <%= label f, :avatar, class: "control-label" %>
      <%= file_input f, :avatar, class: "form-control" %>

  <% end %>

    <%= submit gettext("Submit"), class: "btn btn-primary" %>

<% end %>

<%= form_for @changeset, @action, [multipart: true], fn f -> %>
  <%= if @changeset.action do %>

<%= gettext "Oops, something went wrong! Please check the errors below." %>

  <% end %>

    <%= label f, :gender, class: "control-label" %>
    <%= select f, :gender, [{gettext("Mr"), "male"},
      {gettext("Mrs"), "female"}, {gettext("Other"), "other"}], class: "form-control" %>
    <%= error_tag f, :gender %>

    <%= label f, :first_name, class: "control-label" %>
    <%= text_input f, :first_name, class: "form-control", autofocus: true %>
    <%= error_tag f, :first_name %>

    <%= label f, :last_name, class: "control-label" %>
    <%= text_input f, :last_name, class: "form-control" %>
    <%= error_tag f, :last_name %>

  <%= inputs_for f, :emails, fn ef -> %>

      <%= label ef, :value, class: "control-label" %>
      <%= text_input ef, :value, class: "form-control" %>
      <%= error_tag ef, :value %>

  <% end %>

  <%= if @current_user do %>

      <%= label f, :middlename, class: "control-label" %>
      <%= text_input f, :middlename, class: "form-control" %>
      <%= error_tag f, :middlename %>

      <%= label f, :nickname, class: "control-label" %>
      <%= text_input f, :nickname, class: "form-control" %>
      <%= error_tag f, :nickname %>

      <%= label f, :honorific_prefix, class: "control-label" %>
      <%= text_input f, :honorific_prefix, class: "form-control" %>
      <%= error_tag f, :honorific_prefix %>

      <%= label f, :honorific_suffix, class: "control-label" %>
      <%= text_input f, :honorific_suffix, class: "form-control" %>
      <%= error_tag f, :honorific_suffix %>

      <%= label f, :birthdate, class: "control-label" %>
      <%= date_select f, :birthdate, class: "form-control" %>
      <%= error_tag f, :birthdate %>

      <%= label f, :avatar, class: "control-label" %>
      <%= file_input f, :avatar, class: "form-control" %>

  <% end %>

    <%= submit gettext("Submit"), class: "btn btn-primary" %>

<% end %>


added positive/negative color to area chart


feat(admin): tabs for languages

feat(admin): tabs for languages

<%
first_language_id = List.first(@languages).id
%>
<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

  <%= for {id, column} <- @model.admin_fields do %>
    <%= render "form_group.html", f: f, skip_id: :id, id: id, column: column %>
  <% end %>

  <%= if Kernel.function_exported?(@model, :admin_outer_texts, 0) do %>

      <%= for language <- @languages do %>

          <a class="nav-link <%= if first_language_id === language.id do %>active<% end %>" data-toggle="tab" href="#outer_text_<%= language.id %>" role="tab">
            <%= language.name %>

      <% end %>

      <%= inputs_for f, @model.admin_outer_texts.assoc, fn of -> %>
        <div class="tab-pane <%= if first_language_id === of.data.language_id do %>active<% end %>" id="outer_text_<%= of.data.language_id %>" role="tabpanel">

              <%= for {id, column} <- @model.admin_outer_texts.model.admin_fields do %>
                <%= render "form_group.html", f: of, skip_id: :id, id: id, column: column %>
              <% end %>

      <% end %>

  <% end %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>

<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

  <%= if Kernel.function_exported?(@model, :admin_outer_texts, 0) do %>
    <%= inputs_for f, @model.admin_outer_texts.assoc, fn of -> %>

          <%= for {id, column} <- @model.admin_outer_texts.model.admin_fields do %>
            <%= render "form_group.html", f: of, skip_id: :id, id: id, column: column %>
          <% end %>

    <% end %>
  <% end %>

  <%= for {id, column} <- @model.admin_fields do %>
    <%= render "form_group.html", f: f, skip_id: :id, id: id, column: column %>
  <% end %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>


Set correct summary for not first post

Set correct summary for not first post

  <article id='<%= "post_#{@first.id}" %>' class='content post'>

<a href='<%= page_path(@conn, :show, @first.permalink) %>'><%= @first.title %>

    <%= "By #{author_name(@first.user)}" %>
    <%= human_date(@first.published_at) %>

<%= markdown_to_html(@first.body) %>

  <%= for post <- @posts do %>
    <article id='<%= "post_#{post.id}" %>' class='content post'>

<a href='<%= page_path(@conn, :show, post.permalink) %>'><%= post.title %>

      <%= "By #{author_name(post.user)}" %>
      <%= human_date(post.published_at) %>

<%= post.summary %>

  <% end %>

  <article id='<%= "post_#{@first.id}" %>' class='content post'>

<a href='<%= page_path(@conn, :show, @first.permalink) %>'><%= @first.title %>

    <%= "By #{author_name(@first.user)}" %>
    <%= human_date(@first.published_at) %>

<%= markdown_to_html(@first.body) %>

  <%= for post <- @posts do %>
    <article id='<%= "post_#{post.id}" %>' class='content post'>

<a href='<%= page_path(@conn, :show, post.permalink) %>'><%= post.title %>

      <%= "By #{author_name(post.user)}" %>
      <%= human_date(post.published_at) %>

<%= @first.summary %>

  <% end %>


Revert "Tag index template for poole theme updated to handle tag names with spaces"

This reverts commit 2dd254b44350b8115589fee22352ba27dd821626.

Tags

	 <%= Enum.map(@content, fn(tag) -> %>
		<a class="round tag-cloud" href="/tags/<%= tag %>.html"><%= tag %>
	 <% end) %>

Tags

	 <%= Enum.map(@content, fn(tag) -> %>
		<a class="round tag-cloud" href="/tags/<%= Dnevnik.Utils.IO.url_slug(tag) %>.html"><%= tag %>
	 <% end) %>


Don’t pause play when window has lost focus

<script src="//cdn.jsdelivr.net/phaser-ce/2.7.3/phaser.min.js"></script>

<script type="text/javascript">

window.onload = function() {

    var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render });

    var player
    var cursors
    var player_id
    var other_players = []

    function preload () {

        game.load.image('sheep_1', 'images/sheep_1.png');

    }

    function create () {

        game.stage.disableVisibilityChange = true;

        player = game.add.sprite(game.world.centerX, game.world.centerY, 'sheep_1');
        player.anchor.setTo(0.5, 0.5);

        cursors = game.input.keyboard.createCursorKeys();
        player_id = Math.floor(Math.random() * 1000).toString();

        channel.push("new_player", { player: player_id , position: { x: player.x, y: player.y }});
    }

    function update () {

        if (cursors.left.isDown) {
            player.x -= 4;
        }
        else if (cursors.right.isDown) {
            player.x += 4;
        }

        if (cursors.up.isDown) {
            player.y -= 4;
        }
        else if (cursors.down.isDown) {
           player.y += 4;
        }

        channel.push("new_position", { player: player_id, position: { x: player.x, y: player.y }});
    }

    function render () {

      game.debug.spriteInfo(player, 32, 32);

    }

    channel.on("update_world", payload => {
      console.log(payload)
      logo.x = payload.x
      logo.y = payload.y

    channel.on("new_player", payload => {
      console.log("New player: ", payload)

      var player_id = payload.player_id;
      var position = payload.position

      new_player = game.add.sprite(position.x + 100, position.y + 100, 'sheep_1')
      new_player = new_player.anchor.setTo(0.5, 0.5);

      other_players.push(new_player)
    })

};

</script>

<script src="//cdn.jsdelivr.net/phaser-ce/2.7.3/phaser.min.js"></script>

<script type="text/javascript">

window.onload = function() {

    var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render });

    var player
    var cursors
    var player_id
    var other_players = []

    function preload () {

        game.load.image('sheep_1', 'images/sheep_1.png');

    }

    function create () {

        player = game.add.sprite(game.world.centerX, game.world.centerY, 'sheep_1');
        player.anchor.setTo(0.5, 0.5);

        cursors = game.input.keyboard.createCursorKeys();
        player_id = Math.floor(Math.random() * 1000).toString();

        channel.push("new_player", { player: player_id , position: { x: player.x, y: player.y }});
    }

    function update () {

        if (cursors.left.isDown) {
            player.x -= 4;
        }
        else if (cursors.right.isDown) {
            player.x += 4;
        }

        if (cursors.up.isDown) {
            player.y -= 4;
        }
        else if (cursors.down.isDown) {
           player.y += 4;
        }

        channel.push("new_position", { player: player_id, position: { x: player.x, y: player.y }});
    }

    function render () {

      game.debug.spriteInfo(player, 32, 32);

    }

    channel.on("update_world", payload => {
      console.log(payload)
      logo.x = payload.x
      logo.y = payload.y

    channel.on("new_player", payload => {
      console.log("New player: ", payload)

      var player_id = payload.player_id;
      var position = payload.position

      new_player = game.add.sprite(position.x + 100, position.y + 100, 'sheep_1')
      new_player = new_player.anchor.setTo(0.5, 0.5);

      other_players.push(new_player)
    })

};

</script>


fixed logo

fixed logo


assets...

assets...

Elirc is a Twitch Chat Bot that strives for complete failure control, and the ability to handle any amount of messages coming in.

        <form method="post">

Let us contact you when it's ready

            <input type="text" name="email" class="mui-form-control" placeholder="Email">

          <button type="submit" class="mui-btn mui-btn-primary  mui-btn-default mui-btn-raised">Join</button>
        </form>

           <img src="<%= static_path(@conn, "/assets/images/github.svg") %>" style="height: 18px;"> Github

          <img src="<%= static_path(@conn, "/assets/images/Twitter_bird_logo_2012.svg") %>" style="height: 18px">
          Twitter

Elirc is a Twitch Chat Bot that strives for complete failure control, and the ability to handle any amount of messages coming in.

        <form method="post">

Let us contact you when it's ready

            <input type="text" name="email" class="mui-form-control" placeholder="Email">

          <button type="submit" class="mui-btn mui-btn-primary  mui-btn-default mui-btn-raised">Join</button>
        </form>

           <img src="<%= static_path(@conn, "/images/github.svg") %>" style="height: 18px;"> Github

          <img src="<%= static_path(@conn, "/images/Twitter_bird_logo_2012.svg") %>" style="height: 18px">
          Twitter


Remove Edit/Deactivate buttons based on user feedback

Listing companies

<%= link "New company", to: company_path(@conn, :new) %>

      Name
      Join date
      Members

<%= for company <- @companies do %>

      <%= link company.name, to: company_path(@conn, :show, company) %>
      <%= company.join_date %>

          <%= for member <- company.members do %>

<%= link member.name, to: company_member_path(@conn, :show, company, member) %>

          <% end %>

<% end %>

<%= link "New company", to: company_path(@conn, :new) %>

Listing companies

<%= link "New company", to: company_path(@conn, :new) %>

      Name
      Join date
      Members

<%= for company <- @companies do %>

        <%= link company.name, to: company_path(@conn, :show, company) %>
        <%= link "Edit", to: company_path(@conn, :edit, company), class: "btn btn-default btn-xs" %>
        <%= link "Deactivate", to: company_path(@conn, :delete, company), method: :delete, data: [confirm: "This will lock out all of this company's members. Are you sure?"], class: "btn btn-danger btn-xs" %>

      <%= company.join_date %>

          <%= for member <- company.members do %>

<%= link member.name, to: company_member_path(@conn, :show, company, member) %>

          <% end %>

<% end %>

<%= link "New company", to: company_path(@conn, :new) %>


simpler landing

simpler landing

A liquid democracy where anyone can vote on anything.

		EXPLORE POLLS

DELEGATIONS

				You always have the power to vote on anything. But in cases when you don't know enough about the subject you can delegate your vote to other people. You can also choose which subjects you want to delegate to whom.

REFERENCES

				References explain why people vote a certain way. Someone who is not familiar with the subject can quickly learn more about it by exploring evidence.

TRUST METRICS

				Trust metrics try to prevent one person from having multiple identities. Developers can create a number of trust metrics and everyone can decide themselves which one to trust.

RANGE VOTING

				A simple yet powerful voting system. People express how strongly they agree by voting with a score between 0% and 100%. You can read more about it here.

INSIGHTS

				View how results change over time, between different demographics or between age groups. You can also view results at specific points in time.

TRANSPARENCY

				The source code, the API and all the data are publicly available under MIT license.

	Learn more
	View on Github

A liquid democracy where anyone can vote on anything.

		Explore polls
		View random poll

DELEGATIONS

				You always have the power to vote on anything. But in cases when you don't know enough about the subject you can delegate your vote to other people. You can also choose which subjects you want to delegate to whom.

REFERENCES

				References explain why people vote a certain way. Someone who is not familiar with the subject can quickly learn more about it by exploring evidence.

TRUST METRICS

				Trust metrics try to prevent one person from having multiple identities. Developers can create a number of trust metrics and everyone can decide themselves which one to trust.

RANGE VOTING

				A simple yet powerful voting system. People express how strongly they agree by voting with a score between 0% and 100%. You can read more about it here.

INSIGHTS

				View how results change over time, between different demographics or between age groups. You can also view results at specific points in time.

TRANSPARENCY

				The source code, the API and all the data are publicly available under MIT license.

	Learn more
	View on Github


add link to parents sitee

add link to parents sitee

Talk to us

Ask your question in the chat box and Jo or Gina will reply as soon as they are free.

        <%= if @conn.assigns.version == "talk" do %>
          Leave your email address if you don't get a response straight away and we'll let you know when we're free.
        <% else %>
          Leave your email address and a message so we can get back to you and let you know when we're online to answer your questions.
        <% end %>

To speak to us again and carry on your conversation, make a not of the code below:

Your Code: <%= @user.uuid %>

      <%= if @conn.assigns.version == "talk" do %>

If you want to speak to us on the phone, arrange a time that is convenient for you.

        <%= link to: user_callback_path(@conn, :show, @user)  do %>
          <button class="<%= red_button() %>">Arrange a call</button>
        <% end %>
      <% end %>

      <%= if @conn.assigns.version == "talk" do %>
        <%= link to: page_path(@conn, :practitioners) do %>
          <button class="<%= "#{red_button()} mb2" %>">Meet our staff</button>
        <% end %>
      <% end %>

      <%= if @conn.assigns.version == "talk" do %>

We are non-judgemental, inclusive, friendly and approachable.

You can ask us any parenting or family question and we will do our best to make you feel comfortable, understood and helped.

It can be about development, behaviour, feeding, family life, wellbeing, understanding your child, sleeping etc. We really don't mind what you ask us about, we are here to help you.

So that we can best support you, please provide some context about your question.

For example, if you need advice around your child's sleeping, let us know their age and bedtime routine. This means we can give you advice really specific to you and your situation.

You might also find it useful to read some general parenting information written by Action for Children practitioners.

      <% else %>

We are friendly, don’t judge, will help everyone and easy to talk to.

You can ask us any parent, relationship or family question and we will do our best to make you feel comfortable, understood and helped.

It can be about your child's behaviour, understanding your child, arguments, your relationship with your partner/the other parent, child care, family life, wellbeing, looking for work, etc. We really don't mind what you ask us about. We are here to help you.

So that we can help you, please give us as much information about your question as you can.

For example, if your child’s behaviour has recently changed, tell us their age and if there have been any changes in your family. This means we can give you advice specific to you and your situation.

You might also want to read some general parenting and family information and parents and carers of children aged 0-5 can visit our Dots advice site.

      <% end %>


Increase debounce

Increase debounce

      Regex
      <input name="regex"
             type="text"
             class="regex-input"
             autofocus
             ng-trim="false"
             ng-model="regex"
             ng-change="test(regex, subject, modifiers)"
             ng-model-options="{ debounce: 150 }"/>
      <input name="modifiers"
             type="text"
             class="modifiers-input"
             ng-model="modifiers"
             ng-pattern="validModifiers"
             ng-change="test(regex, subject, modifiers)"
             ng-model-options="{ debounce: 150 }"/>

      Subject
      <textarea name="subject"
                rows=5
                ng-trim="false"
                ng-model="subject"
                ng-change="test(regex, subject, modifiers)"
                ng-model-options="{ debounce: 150 }"
                ></textarea>
      Split on newlines?
      <input type="checkbox" name="split" class="subject-split"
             ng-change="test(regex,subject)" ng-model="split">

<result data="case">

Reference

. non-newline char

^ start of line

$ end of line

\b word boundary

\b word boundary

\A start of subject

\z end of subject

\d decimal digit

\D non-decimal digit

\s whitespace

\S non-whitespace

\w word character

\W non-word character

(a|z) a or z

[az] a or z

[^az] not a or z

[a-z] a through z

(foo) capture foo

a? 0 or 1 a

a* 0 or more a

a+ 1 or more a

a{3} 3 of a

a{3,} 3 or more a

a{3,5} 3 through 5 a

Modifiers

u unicode

i case insensitive

s dot matches newline

m multiline

x whitespace ignored

f start on first line

r inverts greediness

  For more information see the Elixir

    Regex documentation, and the Erlang
  re
  documentation.

      Regex
      <input name="regex"
             type="text"
             class="regex-input"
             autofocus
             ng-trim="false"
             ng-model="regex"
             ng-change="test(regex, subject, modifiers)"
             ng-model-options="{ debounce: 100 }"/>
      <input name="modifiers"
             type="text"
             class="modifiers-input"
             ng-model="modifiers"
             ng-pattern="validModifiers"
             ng-change="test(regex, subject, modifiers)"
             ng-model-options="{ debounce: 100 }"/>

      Subject
      <textarea name="subject"
                rows=5
                ng-trim="false"
                ng-model="subject"
                ng-change="test(regex, subject, modifiers)"
                ng-model-options="{ debounce: 100 }"
                ></textarea>
      Split on newlines?
      <input type="checkbox" name="split" class="subject-split"
             ng-change="test(regex,subject)" ng-model="split">

<result data="case">

Reference

. non-newline char

^ start of line

$ end of line

\b word boundary

\b word boundary

\A start of subject

\z end of subject

\d decimal digit

\D non-decimal digit

\s whitespace

\S non-whitespace

\w word character

\W non-word character

(a|z) a or z

[az] a or z

[^az] not a or z

[a-z] a through z

(foo) capture foo

a? 0 or 1 a

a* 0 or more a

a+ 1 or more a

a{3} 3 of a

a{3,} 3 or more a

a{3,5} 3 through 5 a

Modifiers

u unicode

i case insensitive

s dot matches newline

m multiline

x whitespace ignored

f start on first line

r inverts greediness

  For more information see the Elixir

    Regex documentation, and the Erlang
  re
  documentation.


Only load Google Analytics in prod

Only load Google Analytics in prod

<!DOCTYPE html>
<html lang="<%= locale %>">

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="<%= gettext "Play memory/concentration game with friends over the Internet without registration" %>">
    <meta name="author" content="Max Gorin">
    <meta content='/images/landing.jpg' property='og:image'>
    <title><%= gettext "Concentration game: multiplayer and registration-free" %></title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto">

    <div id="main" class="container <%= if assigns[:full_width], do: "container--full-width" %>">
      <%= if assigns[:mini_header] do %>

            <%= link to: "/#{locale}" do %>

              Pairs One
            <% end %>

      <% else %>

                Pairs One

<%= gettext "Concentration game: multiplayer and registration-free" %>

<%= gettext "Unload your mind while improving your memory" %>

      <% end %>

      <div class="<%= if assigns[:full_width], do: "container--full-width" %>">

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

<%= get_flash(@conn, :warning) %>

        <%= render @view_module, @view_template, assigns %>

          <select name="language" id="language" onchange="">
            <%= for {code, name} <- lang_select_options do %>
              <option value="<%= code %>" <%= if locale == code do "selected" end %>><%= name %></option>
            <% end %>
          </select>

          © <%= DateTime.utc_now.year %>
          <%= link "Max Gorin", to: "https://twitter.com/mxgrn" %>
          <%= link to: "https://github.com/mxgrn/pairs.one" do %>

            <%= gettext "Source code" %>
          <% end %>
          <%= link to: "https://github.com/mxgrn/pairs.one#translating-game-into-other-languages" do %>

            <%= gettext "Help with translation" %>
          <% end %>

    <%= if Mix.env == :prod do %>
      <%= render "ga.html" %>
    <% end %>

<!DOCTYPE html>
<html lang="<%= locale %>">

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="<%= gettext "Play memory/concentration game with friends over the Internet without registration" %>">
    <meta name="author" content="Max Gorin">
    <meta content='/images/landing.jpg' property='og:image'>
    <title><%= gettext "Concentration game: multiplayer and registration-free" %></title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto">

    <div id="main" class="container <%= if assigns[:full_width], do: "container--full-width" %>">
      <%= if assigns[:mini_header] do %>

            <%= link to: "/#{locale}" do %>

              Pairs One
            <% end %>

      <% else %>

                Pairs One

<%= gettext "Concentration game: multiplayer and registration-free" %>

<%= gettext "Unload your mind while improving your memory" %>

      <% end %>

      <div class="<%= if assigns[:full_width], do: "container--full-width" %>">

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

<%= get_flash(@conn, :warning) %>

        <%= render @view_module, @view_template, assigns %>

          <select name="language" id="language" onchange="">
            <%= for {code, name} <- lang_select_options do %>
              <option value="<%= code %>" <%= if locale == code do "selected" end %>><%= name %></option>
            <% end %>
          </select>

          © <%= DateTime.utc_now.year %>
          <%= link "Max Gorin", to: "https://twitter.com/mxgrn" %>
          <%= link to: "https://github.com/mxgrn/pairs.one" do %>

            <%= gettext "Source code" %>
          <% end %>
          <%= link to: "https://github.com/mxgrn/pairs.one#translating-game-into-other-languages" do %>

            <%= gettext "Help with translation" %>
          <% end %>

    <%= unless @conn.host == "localhost" do %>
      <%= render "ga.html" %>
    <% end %>


require call not needed to initialize js.

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello Phoenix!</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

Get Started

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

      <%= @inner %>


Fix template code

Fix template code

If people uncomments the example it should actually compile :)

defmodule <%= module %>Commander do
  use Drab.Commander
  # place your event handlers here
  #
  # def button_clicked(socket, sender) do
  #   set_prop socket, "#output_div", innerHTML: "Clicked the button!"
  # end
  #
  # place you callbacks here
  #
  # onload: :page_loaded
  #
  # def page_loaded(socket) do
  #   set_prop socket, "div.jumbotron h2", innerText: "This page has been drabbed"
  # end
end

defmodule <%= module %>Commander do
  use Drab.Commander
  # place your event handlers here
  #
  # def button_clicked(socket, sender) end
  #   set_prop socket, "#output_div", innerHTML: "Clicked the button!"
  # end
  #
  # place you callbacks here
  #
  # onload: :page_loaded
  #
  # def page_loaded(socket) do
  #   set_prop socket, "div.jumbotron h2", innerText: "This page has been drabbed"
  # end
end


Removed status field from course form

Removed status field from course form

      <%= form_for @changeset, @action, fn f -> %>
        <%= CoursePlanner.SharedView.card @title do %>
          <%= CoursePlanner.SharedView.card_content do %>
            <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

            <% end %>
            <%= CoursePlanner.SharedView.form_text f, :name %>
            <%= CoursePlanner.SharedView.form_textarea f, :description %>
            <%= CoursePlanner.SharedView.form_text f, :number_of_sessions %>
            <%= CoursePlanner.SharedView.form_time f, :session_duration %>
            <%= CoursePlanner.SharedView.form_textarea f, :syllabus %>
          <% end %>
          <%= CoursePlanner.SharedView.card_actions do %>

                <%= CoursePlanner.SharedView.form_button "Back", student_path(@conn, :index) %>

                <%= CoursePlanner.SharedView.form_submit f, "Send" %>

          <% end %>
        <% end %>
      <% end %>

<% statuses = ["Planned", "Active"] %>

      <%= form_for @changeset, @action, fn f -> %>
        <%= CoursePlanner.SharedView.card @title do %>
          <%= CoursePlanner.SharedView.card_content do %>
            <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

            <% end %>
            <%= CoursePlanner.SharedView.form_text f, :name %>
            <%= CoursePlanner.SharedView.form_textarea f, :description %>
            <%= CoursePlanner.SharedView.form_text f, :number_of_sessions %>
            <%= CoursePlanner.SharedView.form_time f, :session_duration %>
            <%= CoursePlanner.SharedView.form_textarea f, :syllabus %>
            <%= CoursePlanner.SharedView.form_select f, :status, statuses %>
          <% end %>
          <%= CoursePlanner.SharedView.card_actions do %>

                <%= CoursePlanner.SharedView.form_button "Back", student_path(@conn, :index) %>

                <%= CoursePlanner.SharedView.form_submit f, "Send" %>

          <% end %>
        <% end %>
      <% end %>


Switch away from deprecated rendering style

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>bors</title>
    <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
    <link rel="icon" type="image/svg+xml" title="bors eye" href="/images/i.svg">
    <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
    <link rel="manifest" href="/images/manifest.json">
    <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
    <meta name="theme-color" content="#eeeeee">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
<%= if not is_nil(@conn.assigns[:user]) do %>
    <meta name="bors-current-user" content="<%= @conn.assigns.user.id %>">
<% end %>

      <%= if assigns[:project] do %>
      <div hidden="hidden" id="js--on-project-ping" data-bors-project-id="<%= @project.id %>" role="alert" class="alert js--closable">
      This page is out of date. Reload

      <% end %>
      <%= if not is_nil get_flash(@conn, :ok) do %>

      <%= get_flash(@conn, :ok) %>

      <% end %>
      <%= if not is_nil get_flash(@conn, :error) do %>

      <%= get_flash(@conn, :error) %>

      <% end %>

        <a id=header-logo href="<%= page_path(@conn, :index) %>"><img alt="bors" src='<%= static_path(@conn, "/images/a.svg") %>' width="90" height="25">

          <%= {:safe, get_header_html()} %>

<%= if is_nil @conn.assigns[:user] do %>
          <a class=header-link href='<%= auth_path(@conn, :index, "github") %>'>Log in with GitHub
<% else %>
  <%= if @conn.path_info == ["repositories"] do %>
          Repositories
  <% else %>
          <a class="header-link hide-on-narrow" href="<%= project_path(@conn, :index) %>">Repositories
  <% end %>

            <img width=25 height=25 class="no-outline-on-focus" src="<%= @conn.assigns.avatar_url %>" alt="" role="presentation">
            <%= @conn.assigns.user.login %> ▾

<% end %>
<%= if not is_nil @conn.assigns[:user] do %>

  <%= if @conn.assigns.user.is_admin do %>
            <a href="<%= admin_path(@conn, :index) %>">Admin
  <% end %>
            <a class=show-on-narrow href="<%= project_path(@conn, :index) %>">Repositories
            <a href="<%= auth_path(@conn, :logout) %>">Log out
<% end %>

    <%= @inner_content %>

          <%= {:safe, get_header_html()} %>

          Build:
          <a href="https://github.com/bors-ng/bors-ng/tree/<%= elem(get_version(), 1) %>">
            <%= elem(get_version(), 0) %>

        <%= {:safe, get_footer_html()} %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>bors</title>
    <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
    <link rel="icon" type="image/svg+xml" title="bors eye" href="/images/i.svg">
    <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
    <link rel="manifest" href="/images/manifest.json">
    <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#5bbad5">
    <meta name="theme-color" content="#eeeeee">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
<%= if not is_nil(@conn.assigns[:user]) do %>
    <meta name="bors-current-user" content="<%= @conn.assigns.user.id %>">
<% end %>

      <%= if assigns[:project] do %>
      <div hidden="hidden" id="js--on-project-ping" data-bors-project-id="<%= @project.id %>" role="alert" class="alert js--closable">
      This page is out of date. Reload

      <% end %>
      <%= if not is_nil get_flash(@conn, :ok) do %>

      <%= get_flash(@conn, :ok) %>

      <% end %>
      <%= if not is_nil get_flash(@conn, :error) do %>

      <%= get_flash(@conn, :error) %>

      <% end %>

        <a id=header-logo href="<%= page_path(@conn, :index) %>"><img alt="bors" src='<%= static_path(@conn, "/images/a.svg") %>' width="90" height="25">

          <%= {:safe, get_header_html()} %>

<%= if is_nil @conn.assigns[:user] do %>
          <a class=header-link href='<%= auth_path(@conn, :index, "github") %>'>Log in with GitHub
<% else %>
  <%= if @conn.path_info == ["repositories"] do %>
          Repositories
  <% else %>
          <a class="header-link hide-on-narrow" href="<%= project_path(@conn, :index) %>">Repositories
  <% end %>

            <img width=25 height=25 class="no-outline-on-focus" src="<%= @conn.assigns.avatar_url %>" alt="" role="presentation">
            <%= @conn.assigns.user.login %> ▾

<% end %>
<%= if not is_nil @conn.assigns[:user] do %>

  <%= if @conn.assigns.user.is_admin do %>
            <a href="<%= admin_path(@conn, :index) %>">Admin
  <% end %>
            <a class=show-on-narrow href="<%= project_path(@conn, :index) %>">Repositories
            <a href="<%= auth_path(@conn, :logout) %>">Log out
<% end %>

    <%= render @view_module, @view_template, assigns %>

          <%= {:safe, get_header_html()} %>

          Build:
          <a href="https://github.com/bors-ng/bors-ng/tree/<%= elem(get_version(), 1) %>">
            <%= elem(get_version(), 0) %>

        <%= {:safe, get_footer_html()} %>


Fix lack of the ending tag

Fix lack of the ending tag

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>XEE.JP</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link rel="shortcut icon" href="<%= static_path(@conn, "/favicon.ico") %>">

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/css/materialize.min.css">

実験管理画面

テーマ一覧

<%= link "ログアウト", to: session_path(@conn, :delete) %>

            XEE.JP

              <%= if logged_in?(@conn) do %>

<%= current_user(@conn).name %>

              <% else %>

<%= link "新規登録", to: registration_path(@conn, :new) %>

<%= link "ログイン", to: session_path(@conn, :new) %>

              <% end %>

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

      <%= render @view_module, @view_template, assigns %>

© 2015 Ryohei HAYASHI All Rights Reserved.

Powered by Xee System.


Adds link to Github repository.

Adds link to Github repository.

<!doctype html>
<html lang="<%= @locale %>">

    <%= if @conn.assigns[:user] do %>
      <%= if @user.noindex? do %>
        <meta name="robots" content="noindex">
      <% end %>
    <% end %>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title><%= if @conn.assigns[:user], do: full_name(@conn.assigns[:user]), else: "vutuv" %></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="manifest" href="manifest.json">
        <link rel="shortcut icon" href="/favicon.ico">
        <link rel="icon" href="/favicon.ico">
        <meta name="msapplication-config" content="browserconfig.xml">
        <meta name="theme-color" content="#ffffff">

        <%= embed_css @conn %>

    <body class = "<%= @conn.assigns[:body_class] %>">

    <%= if @conn.assigns[:current_user] do %>
      <%= button to: session_path(@conn, :delete, @current_user), method: "delete", class: "button button--icon navigation__icon", form: [style: "flex: 1;", class: "button button--icon"] do %>
      <i title="<%= gettext("Log Out") %>" class="icon icon--lock">
      <% end %>
    <% else %>
      <%= link to: session_path(@conn, :new), class: "navigation__icon" do %>
      <i title="<%= gettext("Log In") %>" class="icon icon--lock">
      <% end %>
    <% end %>

      <img src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20134.35%2034.65%27%3E%3Ctitle%3Elogo%3C%2Ftitle%3E%3Cpath%20d%3D%27M10.19%2034.05q-2.56-5-5.19-11.7T0%207.75h7.9q.5%202%201.18%204.23t1.41%204.6q.73%202.32%201.46%204.52t1.43%204q.65-1.8%201.4-4t1.48-4.52q.73-2.33%201.41-4.6t1.18-4.23h7.7q-2.36%207.9-5%2014.6t-5.19%2011.7zM52.95%2033.15a41.42%2041.42%200%200%201-4.9%201%2040.27%2040.27%200%200%201-6.3.47%2014.94%2014.94%200%200%201-5.58-.9%208.46%208.46%200%200%201-3.53-2.5%209.85%209.85%200%200%201-1.85-3.88%2020.82%2020.82%200%200%201-.55-5V7.75h7.45V21.5a10.65%2010.65%200%200%200%201%205.2q.95%201.6%203.55%201.6.8%200%201.7-.08t1.6-.17V7.75h7.45zM59.7%201.2L67.15%200v7.75h9v6.2h-9v9.25a7.36%207.36%200%200%200%20.83%203.75q.82%201.4%203.32%201.4a14.2%2014.2%200%200%200%202.48-.23%2012.62%2012.62%200%200%200%202.33-.62l1%205.8a21.08%2021.08%200%200%201-3%20.95%2017.51%2017.51%200%200%201-4.05.4%2013.34%2013.34%200%200%201-5-.82%207.91%207.91%200%200%201-3.2-2.3%208.54%208.54%200%200%201-1.67-3.58%2021%2021%200%200%201-.48-4.65zM117.99%2034.05q-2.56-5-5.19-11.7t-5-14.6h7.9q.5%202%201.18%204.23t1.41%204.6q.73%202.32%201.46%204.52t1.43%204q.65-1.8%201.4-4t1.48-4.52q.73-2.33%201.41-4.6t1.17-4.23h7.7q-2.36%207.9-5%2014.6t-5.19%2011.7zM81.9%2033.15a41.38%2041.38%200%200%200%204.9%201%2040.26%2040.26%200%200%200%206.3.47%2014.94%2014.94%200%200%200%205.58-.9%208.46%208.46%200%200%200%203.53-2.52%209.84%209.84%200%200%200%201.85-3.88%2020.8%2020.8%200%200%200%20.55-5V7.75h-7.46V21.5a10.65%2010.65%200%200%201-1%205.2q-.95%201.6-3.55%201.6-.8%200-1.7-.08t-1.6-.17V7.75h-7.4z%27%20fill%3D%27%231a1918%27%2F%3E%3C%2Fsvg%3E">
      <%= link to: search_query_path(@conn, :new), class: "navigation__icon  navigation__icon--right" do %>
      <i title="<%= gettext "Search" %>" class="icon icon--search">
      <% end %>

  <%= render @view_module, @view_template, assigns %>

      Copyright © 2016 AMOOMA |  Source-Code |
      <%= gettext "Submit a bugreport or a feature request." %> | <%= gettext "Privacy Policy" %> | <%= gettext "About us" %>

<!doctype html>
<html lang="<%= @locale %>">

    <%= if @conn.assigns[:user] do %>
      <%= if @user.noindex? do %>
        <meta name="robots" content="noindex">
      <% end %>
    <% end %>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title><%= if @conn.assigns[:user], do: full_name(@conn.assigns[:user]), else: "vutuv" %></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="manifest" href="manifest.json">
        <link rel="shortcut icon" href="/favicon.ico">
        <link rel="icon" href="/favicon.ico">
        <meta name="msapplication-config" content="browserconfig.xml">
        <meta name="theme-color" content="#ffffff">

        <%= embed_css @conn %>

    <body class = "<%= @conn.assigns[:body_class] %>">

    <%= if @conn.assigns[:current_user] do %>
      <%= button to: session_path(@conn, :delete, @current_user), method: "delete", class: "button button--icon navigation__icon", form: [style: "flex: 1;", class: "button button--icon"] do %>
      <i title="<%= gettext("Log Out") %>" class="icon icon--lock">
      <% end %>
    <% else %>
      <%= link to: session_path(@conn, :new), class: "navigation__icon" do %>
      <i title="<%= gettext("Log In") %>" class="icon icon--lock">
      <% end %>
    <% end %>

      <img src="data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20134.35%2034.65%27%3E%3Ctitle%3Elogo%3C%2Ftitle%3E%3Cpath%20d%3D%27M10.19%2034.05q-2.56-5-5.19-11.7T0%207.75h7.9q.5%202%201.18%204.23t1.41%204.6q.73%202.32%201.46%204.52t1.43%204q.65-1.8%201.4-4t1.48-4.52q.73-2.33%201.41-4.6t1.18-4.23h7.7q-2.36%207.9-5%2014.6t-5.19%2011.7zM52.95%2033.15a41.42%2041.42%200%200%201-4.9%201%2040.27%2040.27%200%200%201-6.3.47%2014.94%2014.94%200%200%201-5.58-.9%208.46%208.46%200%200%201-3.53-2.5%209.85%209.85%200%200%201-1.85-3.88%2020.82%2020.82%200%200%201-.55-5V7.75h7.45V21.5a10.65%2010.65%200%200%200%201%205.2q.95%201.6%203.55%201.6.8%200%201.7-.08t1.6-.17V7.75h7.45zM59.7%201.2L67.15%200v7.75h9v6.2h-9v9.25a7.36%207.36%200%200%200%20.83%203.75q.82%201.4%203.32%201.4a14.2%2014.2%200%200%200%202.48-.23%2012.62%2012.62%200%200%200%202.33-.62l1%205.8a21.08%2021.08%200%200%201-3%20.95%2017.51%2017.51%200%200%201-4.05.4%2013.34%2013.34%200%200%201-5-.82%207.91%207.91%200%200%201-3.2-2.3%208.54%208.54%200%200%201-1.67-3.58%2021%2021%200%200%201-.48-4.65zM117.99%2034.05q-2.56-5-5.19-11.7t-5-14.6h7.9q.5%202%201.18%204.23t1.41%204.6q.73%202.32%201.46%204.52t1.43%204q.65-1.8%201.4-4t1.48-4.52q.73-2.33%201.41-4.6t1.17-4.23h7.7q-2.36%207.9-5%2014.6t-5.19%2011.7zM81.9%2033.15a41.38%2041.38%200%200%200%204.9%201%2040.26%2040.26%200%200%200%206.3.47%2014.94%2014.94%200%200%200%205.58-.9%208.46%208.46%200%200%200%203.53-2.52%209.84%209.84%200%200%200%201.85-3.88%2020.8%2020.8%200%200%200%20.55-5V7.75h-7.46V21.5a10.65%2010.65%200%200%201-1%205.2q-.95%201.6-3.55%201.6-.8%200-1.7-.08t-1.6-.17V7.75h-7.4z%27%20fill%3D%27%231a1918%27%2F%3E%3C%2Fsvg%3E">
      <%= link to: search_query_path(@conn, :new), class: "navigation__icon  navigation__icon--right" do %>
      <i title="<%= gettext "Search" %>" class="icon icon--search">
      <% end %>

  <%= render @view_module, @view_template, assigns %>

      Copyright © 2016 AMOOMA | MIT licensed |
      <%= gettext "Submit a bugreport or a feature request." %> | <%= gettext "Privacy Policy" %> | <%= gettext "About us" %>


Add GA js

Add GA js

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title><%= title %></title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link href='https://fonts.googleapis.com/css?family=Lato:400,300' rel='stylesheet' type='text/css'>

            <%= link "Home", to: page_path(@conn, :index),
                             class: active_class(@conn, page_path(@conn, :index)) %>

            <%= link "Band", to: band_path(@conn, :index),
                             class: active_class(@conn, band_path(@conn, :index)) %>

            <%= link "Music", to: discography_path(@conn, :index),
                              class: active_class(@conn, discography_path(@conn, :index)) %>

      <%= @inner %>


change page title

change page title

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Anna und Philips Blog</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

            <%= if @current_user do %>

Eingeloggt als <%= @current_user.first_name <> " " <> @current_user.last_name %>

              <%= if @current_user.role == "admin" do %>

<%= link "Admin-Bereich", to: admin_article_path(@conn, :index) %>

              <% end %>
            <% end %>

<%= link "Artikel-Übersicht", to: "/" %>

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

<%= get_flash(@conn, :success) %>

        <%= render @view_module, @view_template, assigns %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Hello Scripture!</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">

            <%= if @current_user do %>

Eingeloggt als <%= @current_user.first_name <> " " <> @current_user.last_name %>

              <%= if @current_user.role == "admin" do %>

<%= link "Admin-Bereich", to: admin_article_path(@conn, :index) %>

              <% end %>
            <% end %>

<%= link "Artikel-Übersicht", to: "/" %>

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

<%= get_flash(@conn, :success) %>

        <%= render @view_module, @view_template, assigns %>


Fix overflow in footer heading

Fix overflow in footer heading

     <%= unless @conn.request_path == "/sponsors" do %>

Our Sponsors

          <%= for %{logo_url: logo_path, url: href} <- active_and_founding_sponsors(@sponsors) do %>

              <a href="<%= href %>" class="d-block">
                <img class="img-fluid img-thumbnail borderless sponsor mb-1" src="<%= image_path(@conn, logo_path) %>" alt="">

          <% end %>
          <%= for %{logo_url: logo_path, url: href} <- active_non_founding_sponsors(@sponsors) do %>

              <a href="<%= href %>" class="d-block">
                <img class="img-fluid img-thumbnail borderless sponsor mb-1" src="<%= image_path(@conn, logo_path) %>" alt="">

          <% end %>

          Interested in becoming a sponsor?
          <%= link("Click here to learn more", to: Routes.page_path(@conn, :sponsors), class: "ml-1") %>.

<% end %>

            <img src="<%=  Routes.static_path(@conn, "/images/eef-logo.svg") %>" width="100" alt="">

Supporting the BEAM community

About the EEF

              Membership details

Join us!

Sponsors

Working Groups

Stipends

Bylaws

FAQ

Stay Up-to-Date

News

Events

Get in Touch

Contact Us

Associate Organizations

        <svg version="1.1" id="Final_HIGHT" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="60px" height="20px" viewBox="0 0 1084 300" enable-background="new 0 0 1084 300" xml:space="preserve">
          <g>
            <g>
              <path fill="#009EFF" d="M33.091,184.384c0,68.169,38.449,84.67,102.755,84.67h114.47c64.306,0,103.703-16.501,103.703-84.67
      v-36.971l-75.057,5.935v8.851c0,33.761-6.461,47.329-40.222,47.329h-91.317c-29.542,0-39.438-10.388-41.45-35.603L33.091,184.384z
      " />
              <path fill="#009EFF" d="M105.974,173.925" />
              <path fill="#009EFF" d="M556.172,133.016l-47.036,133.041h-81.993l-40.341-124.95l64.271-3.882l19.8,67.097l23.838-68.191
      L556.172,133.016z M630.73,129.979l25.992,74.343l22.104-76.155l66.859-0.862l-45.234,138.753h-81.993l-48.115-134.504
      L630.73,129.979z" />
            </g>
            <path fill="#FF6600" d="M1046.274,129.801c-5.016,41.647-25.492,50.217-94.402,53.941l-73.633,3.859
    c-29.903,1.607-34.402,7.396-34.402,28.294h207.072v50.161H778.241v-79.1c0-28.615,18.648-47.586,64.63-50.802l81.673-5.146
    c17.455-1.077,29.459-1.901,37.701-3.38L1046.274,129.801z M962.245,127.63" />
            <g>
              <g>
                <path fill="#33BBFF" d="M229.789,30.946h-93.942c-64.307,0-102.755,15.82-102.755,83.986v69.451c0,0.529,0.049,1.062,0.053,1.585
        c23.859-3.808,47.719-7.415,73.01-10.893c-0.32-3.888-0.595-8.215-0.595-12.878v-25.079c0-28.937,8.102-46.646,45.72-46.646
        h83.602c5.188,0,10.159,0.35,14.227,1.002L229.789,30.946z" />
                <path fill="#33BBFF" d="M288.608,146.712l-9.645,6.491v1.786c25.882-2.314,49.175-4.488,75.057-6.52v-33.537
        c0-4.118-0.152-8.037-0.435-11.78L288.608,146.712z" />
              </g>
              <g>
                <path fill="#33BBFF" d="M744.742,129.746l31.271-96.211H706.24l-28.32,97.762C700.018,130.696,722.295,130.133,744.742,129.746z" />
                <path fill="#33BBFF" d="M572.065,134.245c19.56-0.854,39.294-1.191,59.185-1.876l-34.336-98.834h-66.237l-36.476,105.039
        c20.149-1.14,40.511-2.618,61.063-3.571l8.213-23.823L572.065,134.245z" />
                <path fill="#33BBFF" d="M452.609,141.369L421.355,33.535h-69.774l36.498,112.374
        C409.317,144.312,430.836,142.755,452.609,141.369z" />
              </g>
            </g>
            <path fill="#FF8533" d="M845.76,109.466c0-24.115,9.332-29.346,39.555-29.346h47.269c45.656,0,47.587,4.545,47.587,23.518
    c0,18.271-2.294,22.716-29.903,25.34c32.285,0.412,64.248,1.138,95.834,1.991c1.171-8.965,1.594-19.305,1.594-31.709
    c0-48.553-17.363-68.313-84.246-68.313h-93.891c-64.307,0-91.09,15.176-91.09,61.158v26.839h67.292V109.466z" />
            <polygon fill="#FF6600" points="348.557,85.068 330.996,30.96 246.359,30.96 279.503,133.074  " />
          </g>
        </svg>


request form textarea

request form textarea

<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

    <%= label f, :title, class: "control-label" %>
    <%= text_input f, :title, class: "form-control" %>
    <%= error_tag f, :title %>

    <%= label f, :body, class: "control-label" %>
    <%= textarea f, :body, class: "form-control" %>
    <%= error_tag f, :body %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>

<%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

  <% end %>

    <%= label f, :title, class: "control-label" %>
    <%= text_input f, :title, class: "form-control" %>
    <%= error_tag f, :title %>

    <%= label f, :body, class: "control-label" %>
    <%= text_input f, :body, class: "form-control" %>
    <%= error_tag f, :body %>

    <%= submit "Submit", class: "btn btn-primary" %>

<% end %>


modofy templates in entryes

modofy templates in entryes

<%= if !@conn.params["list"] && desktop?(@conn) do %>
  <%= render "_entries_film.html", conn: @conn, entries: @entries %>
<% end %>

<%= if @conn.params["list"] && desktop?(@conn) do %>
  <%= render "_entries_list.html", conn: @conn, entries: @entries %>
<% end %>

<%= if mobile? @conn do %>
  <%= render "_entries_list.html", conn: @conn, entries: @entries %>
<% end %>

<%# Display avobe 5 videos %>
<%# Adsense.main_list_first.immobiled.reorder("created_at").each.with_index(1) do |entry, index| %>
    <%#= render partial: 'entries_film_adsense', locals: {
      adsense: entry,
      index: index,
      adsense_category: defined?(adsense_category) ? adsense_category : 'entries_list'
    } %>
<%# end %>

<%= for entry <- @entries.entries do %>
    <%# entry = EntriesDecorator.new entry %>
    <%#- cache ['film', request.smart_phone?, request.mobile?, entry] do -%>

      <%#
         Film column setting
         - col-md-4: 3 lines
         - col-md-3: 4 lines
      %>

        <meta itemprop="url" content="<%= entry_path @conn, :show, entry.id, entry.title %>" />
        <meta itemprop="name" content="<%= entry.title %>" />
        <meta itemprop="headline" content="<%= entry.title %>" />
        <meta itemprop="description" content="<%= entry.content %>" />
        <meta itemprop="image" content="<%= if length(entry.thumbs) > 0, do: thumb = List.first(entry.thumbs); thumb.__struct__.get_thumb(thumb) %>">
        <meta itemprop="thumbnailUrl" content="<%= if length(entry.thumbs) > 0, do: thumb = List.first(entry.thumbs); thumb.__struct__.get_thumb(thumb) %>" />
        <meta itemprop="timeRequired" content="<%#= Duration.new(entry.time).iso8601 %>" />
        <meta itemprop="datePublished" content="<%#= entry.published_at.iso8601 %>" />
        <meta itemprop="keywords" content="<%= Enum.join(Enum.map(entry.tags, fn(tag) -> tag.name end), ",") %>" />

          <a href="<%= entry_path @conn, :show, entry.id, entry.title %>"
             rel="bookmark"
             data-no-turbolink="1"
          >
            <img
              <%# data-src="holder.js/200x132" %>
              <%# src='data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMjAwIj48cmVjdCB3aWR0aD0iMzAwIiBoZWlnaHQ9IjIwMCIgZmlsbD0iI2VlZSI+PC9yZWN0Pjx0ZXh0IHRleHQtYW5jaG9yPSJtaWRkbGUiIHg9IjE1MCIgeT0iMTAwIiBzdHlsZT0iZmlsbDojYWFhO2ZvbnQtd2VpZ2h0OmJvbGQ7Zm9udC1zaXplOjE5cHg7Zm9udC1mYW1pbHk6QXJpYWwsSGVsdmV0aWNhLHNhbnMtc2VyaWY7ZG9taW5hbnQtYmFzZWxpbmU6Y2VudHJhbCI+MzAweDIwMDwvdGV4dD48L3N2Zz4=' %>
              <%# style="width: 300px; height: 200px;" %>
              style="width: 200px; height: 132px;"
              src="<%= if length(entry.thumbs) > 0, do: thumb = List.first(entry.thumbs); thumb.__struct__.get_thumb(thumb, "size_200x132") %>"
              alt="<%= truncate entry.content, length: 100 %>"
              >

              <%= for tag <- Enum.take(entry.tags, 3) do %>
                <a href="<%#= entries_path tag.name %>"
                  title="<%= gettext "Jump to %{tag}'s video results", tag: tag.name %>"
                    rel="category tag">
                  <%= tag.name %>

              <% end %>

                <a style='color: #333;'
                   href="<%= entry_path @conn, :show, entry.id, entry.title %>"
                   rel="bookmark"
                   data-no-turbolink="1"
                >
                  <%= title_with_link @conn, entry %>

            <%= if false do %>
              <%#= truncate entry.content, length: 50 %>

<%= entry.content %>

            <% end %>

              <%= round(entry.time / 60) %><%= gettext " Min" %>
              <%= time_ago_in_words entry.published_at %><%= gettext " ago" %>

    <%# end  # cache end %>
<% end %>


feat(admin): remove dashboard link (logo does it already)

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Admin</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/admin.css") %>">

      Lyn Admin

        <li class="nav-item <%= active_class(@conn, admin_path(@conn, :index, "objects")) %>">
          <a class="nav-link" href="<%= admin_path(@conn, :index, "objects") %>">Objects (current)

        <li class="nav-item <%= active_class(@conn, admin_path(@conn, :index, "users")) %>">
          <a class="nav-link" href="<%= admin_path(@conn, :index, "users") %>">Users (current)

          System

            <a class="dropdown-item" href="<%= admin_path(@conn, :index, "object_types") %>">Object Types (current)
            <a class="dropdown-item" href="<%= admin_path(@conn, :index, "languages") %>">Languages (current)
            <a class="dropdown-item" href="<%= admin_path(@conn, :index, "domains") %>">Domains (current)
            <a class="dropdown-item" href="<%= admin_path(@conn, :index, "sites") %>">Sites (current)

            <a class="dropdown-item" href="<%= maintenance_path(@conn, :index) %>">Maintenance (current)

      <form class="form-inline pull-xs-right">
        <input class="form-control" type="text" placeholder="Search">
        <button class="btn btn-default" type="submit">Search</button>
      </form>

        <%
          sidebar_file = sidebar(@conn)
        %>
        <%= if sidebar_file do %>

            <%= render Lyn.Admin.SidebarView, sidebar_file, assigns %>

        <% end %>
        <div id="main" <%= if !sidebar_file do %>class="full-width"<% end %>>

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

            <%= render @view_module, @view_template, assigns %>

<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Admin</title>
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/admin.css") %>">

      Lyn Admin

        <li class="nav-item <%= active_class(@conn, admin_path(@conn, :dashboard)) %>">
          <a class="nav-link" href="<%= admin_path(@conn, :dashboard) %>">Dashboard (current)

        <li class="nav-item <%= active_class(@conn, admin_path(@conn, :index, "objects")) %>">
          <a class="nav-link" href="<%= admin_path(@conn, :index, "objects") %>">Objects (current)

        <li class="nav-item <%= active_class(@conn, admin_path(@conn, :index, "users")) %>">
          <a class="nav-link" href="<%= admin_path(@conn, :index, "users") %>">Users (current)

          System

            <a class="dropdown-item" href="<%= admin_path(@conn, :index, "object_types") %>">Object Types (current)
            <a class="dropdown-item" href="<%= admin_path(@conn, :index, "languages") %>">Languages (current)
            <a class="dropdown-item" href="<%= admin_path(@conn, :index, "domains") %>">Domains (current)
            <a class="dropdown-item" href="<%= admin_path(@conn, :index, "sites") %>">Sites (current)

            <a class="dropdown-item" href="<%= maintenance_path(@conn, :index) %>">Maintenance (current)

      <form class="form-inline pull-xs-right">
        <input class="form-control" type="text" placeholder="Search">
        <button class="btn btn-default" type="submit">Search</button>
      </form>

        <%
          sidebar_file = sidebar(@conn)
        %>
        <%= if sidebar_file do %>

            <%= render Lyn.Admin.SidebarView, sidebar_file, assigns %>

        <% end %>
        <div id="main" <%= if !sidebar_file do %>class="full-width"<% end %>>

<%= get_flash(@conn, :info) %>

<%= get_flash(@conn, :error) %>

            <%= render @view_module, @view_template, assigns %>


Use Lato font

Use Lato font

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Yet another chat app!">
    <meta name="author" content="nmilicevic@renderedtext.com">

    <title>ex-chat</title>
    <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link id="favicon" rel="icon" type="image/png" sizes="64x64" href="<%= static_path(@conn, "/images/favicon.png") %>"/>
  </head>

  <body style="font-family: 'Lato', sans-serif;">
    <%= render @view_module, @view_template, assigns %>

    <script src="<%= static_path(@conn, "/js/app.js") %>"></script>
  </body>
</html>

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Yet another chat app!">
    <meta name="author" content="nmilicevic@renderedtext.com">

    <title>Ex Chat</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="<%= static_path(@conn, "/css/app.css") %>">
    <link id="favicon" rel="icon" type="image/png" sizes="64x64" href="<%= static_path(@conn, "/images/favicon.png") %>"/>
  </head>

  <body>
    <%= render @view_module, @view_template, assigns %>

    <script src="<%= static_path(@conn, "/js/app.js") %>"></script>
  </body>
</html>


double navigation is not needed

double navigation is not needed

  <%= render SignDict.SharedView, "navigation.html", conn: @conn, current_user: @current_user, logo: true %>
  <%= render SignDict.SharedView, "alerts.html", conn: @conn %>

<%= gettext("Impressum") %>

      Bodo Tasche

      Richard-Sorge-Str. 59

      10249 Berlin

+49 1512 7533048

    mail@signdict.org

<%= render SignDict.SharedView, "footer.html", conn: @conn %>


Add status to teacher view.

Add status to teacher view.

Show teacher

     Full name:
    <%= @teacher.name %>

     Email:
    <%= @teacher.email %>

     Phone Number:
    <%= @teacher.phone_number %>

     Status:
    <%= @teacher.status %>

<%= link "Edit", to: teacher_path(@conn, :edit, @teacher) %>
<%= link "Back", to: teacher_path(@conn, :index) %>

Show teacher

     Full name:
    <%= @teacher.name %>

     Email:
    <%= @teacher.email %>

     Phone Number:
    <%= @teacher.phone_number %>

<%= link "Edit", to: teacher_path(@conn, :edit, @teacher) %>
<%= link "Back", to: teacher_path(@conn, :index) %>


Fix hidden piece id field in registration form

The field should only be rendered if the piece already has an ID (i.e. when editing a performance). Otherwise, an empty id will be sent, triggering a uniqueness validation error if there are several such pieces in the form.

<piece-panel
  v-for="(piece, index) in pieces"
  v-bind:key="index"
  v-bind:index="index"
  v-bind:piece="pieces[index]"
  v-bind:epoch_options="epoch_options"
  v-bind:errors="(errors.pieces && errors.pieces[index]) || {}"
  v-bind:begins_expanded="expandedPiecePanelIndex === index"
  v-bind:piece_term="vocabulary['piece']"
  v-bind:genre="genre"
  v-on:remove-piece="removePiece"
  inline-template>

          {{panelTitle}}

      <button
        type="button"
        class="btn btn-xs btn-danger pull-right"
        v-on:click.stop="$emit('remove-piece', index)">

      </button>

        <input type="hidden" v-if="piece.id" v-bind:name="fieldName('id')" v-model="piece.id" />

              <%= gettext("Title") %>

            <input
              type="text"
              class="form-control"
              v-bind:id="fieldId('title')"
              v-bind:name="fieldName('title')"
              v-model="piece.title">
            <form-field-error v-bind:errors="errors && errors.title" />

                <%= gettext("Composer") %>

              <input
                type="text"
                class="form-control"
                v-bind:id="fieldId('composer')"
                v-bind:name="fieldName('composer')"
                v-model="piece.composer">
              <form-field-error v-bind:errors="errors && errors.composer" />

                    <%= gettext("Born") %>

                  <input
                    type="text"
                    class="form-control"
                    v-bind:id="fieldId('composer_born')"
                    v-bind:name="fieldName('composer_born')"
                    v-model="piece.composer_born">
                  <form-field-error v-bind:errors="errors && errors.composer_born" />

                    (<%= gettext("Died") %>)

                  <input
                    type="text"
                    class="form-control"
                    v-bind:id="fieldId('composer_died')"
                    v-bind:name="fieldName('composer_died')"
                    v-model="piece.composer_died">
                  <form-field-error v-bind:errors="errors && errors.composer_died" />

                <%= gettext("Artist") %>

              <input
                type="text"
                class="form-control"
                v-bind:id="fieldId('artist')"
                v-bind:name="fieldName('artist')"
                v-model="piece.artist">
              <form-field-error v-bind:errors="errors && errors.artist" />

              <%= gettext("Epoch") %>

            <select
              class="form-control"
              v-bind:id="fieldId('epoch')"
              v-bind:name="fieldName('epoch')"
              v-model="piece.epoch">
              <option disabled value=""><%= gettext("Please choose") %></option>
              <option
                v-for="option in epoch_options"
                v-bind:value="option.id"
                v-text="option.label"></option>
            </select>
            <form-field-error v-bind:errors="errors && errors.epoch" />

              <%= gettext("Duration") %>

                  <input
                    type="number"
                    min="0"
                    max="59"
                    class="form-control"
                    v-bind:id="fieldId('minutes')"
                    v-bind:name="fieldName('minutes')"
                    v-model="piece.minutes">
                  <%= gettext("min") %>

                <form-field-error v-bind:errors="errors && errors.minutes" />

                  <input
                    type="number"
                    min="0"
                    max="59"
                    class="form-control"
                    v-bind:id="fieldId('seconds')"
                    v-bind:name="fieldName('seconds')"
                    v-model="piece.seconds">
                  <%= gettext("sec") %>

                <form-field-error v-bind:errors="errors && errors.seconds" />

</piece-panel>

<piece-panel
  v-for="(piece, index) in pieces"
  v-bind:key="index"
  v-bind:index="index"
  v-bind:piece="pieces[index]"
  v-bind:epoch_options="epoch_options"
  v-bind:errors="(errors.pieces && errors.pieces[index]) || {}"
  v-bind:begins_expanded="expandedPiecePanelIndex === index"
  v-bind:piece_term="vocabulary['piece']"
  v-bind:genre="genre"
  v-on:remove-piece="removePiece"
  inline-template>

          {{panelTitle}}

      <button
        type="button"
        class="btn btn-xs btn-danger pull-right"
        v-on:click.stop="$emit('remove-piece', index)">

      </button>

        <input type="hidden" v-bind:name="fieldName('id')" v-model="piece.id" />

              <%= gettext("Title") %>

            <input
              type="text"
              class="form-control"
              v-bind:id="fieldId('title')"
              v-bind:name="fieldName('title')"
              v-model="piece.title">
            <form-field-error v-bind:errors="errors && errors.title" />

                <%= gettext("Composer") %>

              <input
                type="text"
                class="form-control"
                v-bind:id="fieldId('composer')"
                v-bind:name="fieldName('composer')"
                v-model="piece.composer">
              <form-field-error v-bind:errors="errors && errors.composer" />

                    <%= gettext("Born") %>

                  <input
                    type="text"
                    class="form-control"
                    v-bind:id="fieldId('composer_born')"
                    v-bind:name="fieldName('composer_born')"
                    v-model="piece.composer_born">
                  <form-field-error v-bind:errors="errors && errors.composer_born" />

                    (<%= gettext("Died") %>)

                  <input
                    type="text"
                    class="form-control"
                    v-bind:id="fieldId('composer_died')"
                    v-bind:name="fieldName('composer_died')"
                    v-model="piece.composer_died">
                  <form-field-error v-bind:errors="errors && errors.composer_died" />

                <%= gettext("Artist") %>

              <input
                type="text"
                class="form-control"
                v-bind:id="fieldId('artist')"
                v-bind:name="fieldName('artist')"
                v-model="piece.artist">
              <form-field-error v-bind:errors="errors && errors.artist" />

              <%= gettext("Epoch") %>

            <select
              class="form-control"
              v-bind:id="fieldId('epoch')"
              v-bind:name="fieldName('epoch')"
              v-model="piece.epoch">
              <option disabled value=""><%= gettext("Please choose") %></option>
              <option
                v-for="option in epoch_options"
                v-bind:value="option.id"
                v-text="option.label"></option>
            </select>
            <form-field-error v-bind:errors="errors && errors.epoch" />

              <%= gettext("Duration") %>

                  <input
                    type="number"
                    min="0"
                    max="59"
                    class="form-control"
                    v-bind:id="fieldId('minutes')"
                    v-bind:name="fieldName('minutes')"
                    v-model="piece.minutes">
                  <%= gettext("min") %>

                <form-field-error v-bind:errors="errors && errors.minutes" />

                  <input
                    type="number"
                    min="0"
                    max="59"
                    class="form-control"
                    v-bind:id="fieldId('seconds')"
                    v-bind:name="fieldName('seconds')"
                    v-model="piece.seconds">
                  <%= gettext("sec") %>

                <form-field-error v-bind:errors="errors && errors.seconds" />

</piece-panel>


no flex on postsign

no flex on postsign

<meta name="description" content="<%=@title%>" />
<meta name="keywords" content="<%=@title <> "" <> copyright(@brand)%>" />
<meta name="author" content="copyright(@brand)%>" />
<meta name="copyright" content="copyright(@brand)%>" />

<meta property="og:url" content="<%= core_deployment(@brand) <> "/petition/" <> @slug%>" />
<meta property="og:title" content="<%=@title%>" />
<meta property="og:type" content="article" />
<meta property="og:image" content="<%=@share_image%>" />
<meta property="og:description" content="<%=@content%>" />

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="<%=@title%>" />
<meta name="twitter:description" content="<%=@content%>" />
<meta name="twitter:image" content="<%=@share_image%>" />

    <%= if not @signed do %>

        <%= raw(@content) %>

        <%= if @count do %>

            <div class="count-bar" style="width: <%= @progress %>%;">

             <%= @count %> people have signed. Help us get to <%= @target %>!

        <% end %>

      <%= form_tag("/petition/#{@slug}", method: :post, id: "main-form") %>

          <input type="hidden" name="_csrf_token" value="<%= csrf_token() %>" />

          <fieldset style="margin-top: 20px;">
            <legend style="color:white;">Your Info</legend>

              Name
              <input type="text" name="name" required="required"/>

              Email
              <input type="email" name="email" required="required"/>

            <%= if assigns[:show_phone] != nil and assigns[:show_phone] == "Show" do %>

                Mobile Phone Number
                <input type="tel" name="phone" />

            <% end %>

              Zip
              <input type="text" name="zip" maxlength="5" required="required" />

              <%= if @brand == "jd" do %>
                <button onclick="fbq('track', 'Lead');" type="submit" class="button-block"><%=@sign_button_text%></button>
              <% else %>
                <button type="submit" class="button-block"><%=@sign_button_text%></button>
              <% end %>

          </fieldset>

            By signing this petition, I consent to receiving emails from
            <%= if @slug == "jd-stop-war" do %>
              <a target="_blank" href="<%=homepage(@brand)%>"><%=copyright(@brand)%> and
              Ro Khanna.
            <% else %>
              <a target="_blank" href="<%=homepage(@brand)%>"><%=copyright(@brand)%>.
            <% end %>

      </form>

    <% else %>

        <%= raw(@post_sign_text) %>

 Next Steps

      <fieldset style="margin-top: 20px; color: white;">
        <legend style="color:white;">Help us get to <%= @target %> signatures by sharing on social media</legend>

        <a class="twitter-share-button" href="<%=@twitter_href%>" data-size="large">
          Tweet

        <div class="fb-share-button" data-href="<%=@url%>" data-layout="button_count" data-size="large" style="float:right;">
          <a class="fb-xfbml-parse-ignore" target="_blank"
            style="background-color: #3b5998; color: white; padding: 5px; text-decoration: none; margin-top: 5px;"
            href="<%=@fb_href%>"
          >
            Share on Facebook

      </fieldset>

      <%= if @call_power_campaign_id != nil and @call_power_campaign_id != "" do %>

        <fieldset style="color:white;">
          <legend> <%= @call_power_header %> </legend>

            <%= raw(@call_power_prompt) %>

          <form id="call_form">
            <input id="phone_id" type="hidden" value="<%= @submitted_phone %>"/>
            <input id="location_id" type="hidden" value="<%= @submitted_zip %>" />
            <button type="submit" style="width: 100%; margin-top: 10px;" id="call-power-go"> Call Me At <%= @submitted_phone %> </button>
          </form>

          <%= form_tag("/petition/#{@slug}", method: :post, id: "number-replace-form", style: "margin-top: 10px;") %>
            <input name="name" value="<%= @submitted_name %>" type="hidden" />
            <input name="email" value="<%= @submitted_email %>" type="hidden" />
            <input name="zip" value="<%= @submitted_zip %>" type="hidden" />

              Different Number
              <input type="tel" name="phone" />

              <button id="number-replace-button" class="button-block">Call Me at a Different Number</button>

          </form>
        </fieldset>
      <% end %>

    <% end %>

<%= if @brand == "jd" do %>

<% end %>


fix: use cache controller

fix: use cache controller

Listing mentions

  <%= for mention <- @mentions do %>

Typ

<%= mention.mention_type %>

Source

<%= link mention.source_url, to: mention.source_url %>

Target

<%= link mention.target_url, to: mention.target_url %>

Title

<%= mention.title %>

Excerpt

<%= mention.excerpt %>

Author

          <%= if mention.author_url do %><%= link mention.author, to: mention.author_url %>
          <% else %><%= mention.author %><% end %>

        <%= if String.strip(to_string(mention.author_avatar)) != "" do %>

Avatar

<img alt="" class="avatar" src="<%= cache_path(@conn, :show, url: mention.author_avatar) %>">

            <%= mention.author_avatar %>

        <% end %>

Created

<%= Wwwtech.Mention.inserted_at_timex(mention) |> DateFormat.format!("%Y-%m-%d %H:%M", :strftime) %>

<%= Wwwtech.Mention.updated_at_timex(mention) |> DateFormat.format!("%Y-%m-%d %H:%M", :strftime) %>

        <%= link "Edit", to: mention_path(@conn, :edit, mention) %> /
        <%= link "Delete", to: mention_path(@conn, :delete, mention), method: :delete, data: [confirm: "Are you sure?"] %>

  <% end %>

Listing mentions

  <%= for mention <- @mentions do %>

Typ

<%= mention.mention_type %>

Source

<%= link mention.source_url, to: mention.source_url %>

Target

<%= link mention.target_url, to: mention.target_url %>

Title

<%= mention.title %>

Excerpt

<%= mention.excerpt %>

Author

          <%= if mention.author_url do %><%= link mention.author, to: mention.author_url %>
          <% else %><%= mention.author %><% end %>

        <%= if String.strip(to_string(mention.author_avatar)) != "" do %>

Avatar

<img src="<%= mention.author_avatar %>" class="avatar">

            <%= mention.author_avatar %>

        <% end %>

Created

<%= Wwwtech.Mention.inserted_at_timex(mention) |> DateFormat.format!("%Y-%m-%d %H:%M", :strftime) %>

<%= Wwwtech.Mention.updated_at_timex(mention) |> DateFormat.format!("%Y-%m-%d %H:%M", :strftime) %>

        <%= link "Edit", to: mention_path(@conn, :edit, mention) %> /
        <%= link "Delete", to: mention_path(@conn, :delete, mention), method: :delete, data: [confirm: "Are you sure?"] %>

  <% end %>