public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
mephisto / app / views / admin / sites / show.rhtml
100644 30 lines (28 sloc) 0.976 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<% content_for :action_nav do -%>
<!-- begin action nav -->
<div id="page-nav">
  <ul id="act-nav" class="clear">
    <li><%= link_to "Sites", :action => "index" %></li>
  </ul>
</div>
<!-- /end action nav -->
<% end %>
 
<% form_for :site, :url => { :action => "update", :id => @site } do |f| -%>
<%= f.error_messages %>
<div id="general" class="setgroup">
  <h3><%=h @site.title %> <small>(<%= mail_to @site.email %>)</small></h3>
  <dl class="setform">
    <dt><label for="site_host">Host</label></dt>
    <dd><%= f.text_field :host %></dd>
    <dt><label>Theme Path</label></dt>
    <dd><%=h @site.theme_path %></dd>
    <dt>
      See and update the <%= link_to 'other site settings.', :controller => 'settings', :action => 'index', :host => @site.host %>
    </dt>
  </dl>
  <p class="btns">
    <%= f.submit :Save %> or
    <%= link_to 'Delete', {:action => 'destroy', :id => @site}, :confirm => "Are you sure you wish to delete this site?", :method => :post %>
  </p>
</div>
<% end -%>