learnjin/rewritten

View on GitHub
lib/rewritten/server/views/fields.erb

Summary

Maintainability
Test Coverage

<input type="hidden" name="old" size="80" value="<%= @old_to  %>"/> <br />

<label>
  <h2>Translations (What's seen in the browser's location bar)</h2>
  <p>Last line being the final location in the browser</p>
  <p>Subdomains are to be prefixed with a colon, e.g. my.subdomain:/some/path</p>

  <h3>Flags </h3>
  <p> Modify the above behavior. Flags are appended at the end of a line with brackets like so: /foo/bar [L] </p>
  <dl>
    <dt>[L]</dt>
    <dd>Stop redirecting here and put this in the browser location.</dd>
  </dl>

</label><br/>

<textarea name="translations" cols="80" rows="10"><%= @translations.join("\n") %></textarea> <br />

<p>
<label><h2>Resource (What your app sees)</h2></label><br/>
<textarea name="to" cols="80" rows="2"><%= @to %></textarea>
</p>