Sha256: 364a95d6e1d43ed5b7b6b433e8637e50c143a9060f32157a39c52bb493b4e810

Contents?: true

Size: 643 Bytes

Versions: 2

Compression:

Stored size: 643 Bytes

Contents

<div class="grid_12 content">
  <header>
    <h2>#{@type.capitalize} entry</h2>
  </header>
  <form method="post" action="/remap/#{defined?(@id) ? 'edit' : 'new'}">
    <p>
      <label for="from">From</label>
      <input type="text" name="from" value="#{@from if defined?(@from)}" style="width: 400px;" />
    </p>
    <p>
      <label for="to">To</label>
      <input type="text" name="to" value="#{@to if defined?(@to)}" style="width: 400px;" />
    </p>
    <input type="submit" value="Save" />
    <input type="hidden" name="type" value="#{@type}" />
    <input type="hidden" name="id" value="#{@id if defined?(@id)}" />
  </form>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ts-admin-0.2.5 view/remap/form.xhtml
ts-admin-0.2.4 view/remap/form.xhtml