Sha256: 5202d6ec6f55d55fa79044a6d8f2c9ace0bd5eba806ef4f6e76cbb46de09f27e

Contents?: true

Size: 1.29 KB

Versions: 7

Compression:

Stored size: 1.29 KB

Contents

<div class="tabs">
  <ul>
    <li><a href="#output">Output</a></li>
    <li><a href="#reload_from_file">Reload from file</a></li>
    <li><a href="#reload_from_text">Reload from text</a></li>
  </ul>
  <div id="output">
    <%= raw @rails_info_log.summary %>
    <%= raw @rails_info_log.accordion %>
  </div>
  <div id>
  <div id="reload_from_file">
    <%= form_tag rails_info_rspec_log_path, method: 'put' do %>
      <p> 
        <%= label_tag 'log[rails_root]', raw('<strong>Rails root:</strong>') %> 
        <%= text_field_tag 'log[rails_root]', (params['log']['rails_root'] rescue "#{Rails.root}/"), class: 'auto_width', size: 75 %> &nbsp;&nbsp;  
      </p>
      <p>
        <%= submit_tag 'submit' %>
      </p>
    <% end %>
  </div>
  <div id="reload_from_text">
    <%= form_tag rails_info_rspec_log_path, method: 'put' do %>
      <p> 
        <%= label_tag 'log[rails_root]', raw('<strong>Rails root:</strong>') %> 
        <%= text_field_tag 'log[rails_root]', (params['log']['rails_root'] rescue "#{Rails.root}/"), class: 'auto_width', size: 75 %> &nbsp;&nbsp;  
      </p>
      <p>
        <%= text_area_tag 'log[body]', (params['log']['body'] rescue nil), class: 'auto_width', cols: 150, rows: 15 %>
      </p>
      <p>
        <%= submit_tag 'submit' %>
      </p>
    <% end %>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_info-0.1.1 app/views/rails_info/logs/test/rspec/new.html.erb
rails_info-0.1.0 app/views/rails_info/logs/test/rspec/new.html.erb
rails_info-0.0.9 app/views/rails_info/logs/test/rspec/new.html.erb
rails_info-0.0.8 app/views/rails_info/logs/test/rspec/new.html.erb
rails_info-0.0.7 app/views/rails_info/logs/test/rspec/new.html.erb
rails_info-0.0.6 app/views/rails_info/logs/test/rspec/new.html.erb
rails_info-0.0.5 app/views/rails_info/logs/test/rspec/new.html.erb