Sha256: a0f3fc8c50441d1a7b3e86f85f9201ecf980f8fc36a4f9bbe079a52455df3c92

Contents?: true

Size: 1.45 KB

Versions: 3

Compression:

Stored size: 1.45 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <title>Mxit App</title>

  <meta name="mxit" content="no_prefix,show_progress,clear_on_new,no_heading" />

  <% if request.headers['x-mxit-login'].nil? %>
    <!-- Include a CSS file, but only in a browser/emulator, not on mxit -->
    <%= stylesheet_link_tag "mxit_rails/included" %>
  <% end %>

  <style type="text/css">
    a:hover { <%= mxit_style :link_hover %> }
    a { <%= mxit_style :link %> }
  </style>
</head>

<body style="<%= mxit_style :body %>">

  <table title="mxit:table:full" style="width:100%" name="title_table" cellspacing="0" cellpadding="0">
    <colgroup span="1" width="100%"></colgroup>
    <tr>
      <td style="<%= mxit_style :title %>">
        <b><%= yield :title %></b>
      </td>
    </tr>
  </table>

  <%= yield :navigation %>

  <% if !@_mxit_validated %>
    <%= @_mxit_validation_messages.first %>

  <% else %>
    <%= yield %>
  <% end %>

  <% if @_mxit.input %>
    <%= mxit_proceed @_mxit.input_label %>
    <form method="POST" action="<%= @_mxit.url %>">
        <input type="text" name="<%= @_mxit.input %>" />
        <input type="submit" name="_mxit_rails_submit" value="Proceed" />
    </form>

  <% elsif @_mxit.proceed %>
    <%= mxit_proceed mxit_link(@_mxit.url, @_mxit.proceed.to_s.capitalize, {_mxit_rails_submit: 'Proceed'}) %>
  <% end %>

</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mxit-rails-0.1.0 app/views/layouts/mxit.html.erb
mxit-rails-0.0.9 app/views/layouts/mxit.html.erb
mxit-rails-0.0.8 app/views/layouts/mxit.html.erb