forked from bofh/fetsite
small changes
This commit is contained in:
@@ -13,6 +13,6 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
end
|
||||
def default_url_options
|
||||
{locale: I18n.locale, host:"128.131.95.212"}
|
||||
{locale: I18n.locale, host:"glonass.htu.tuwien.ac.at"}
|
||||
end
|
||||
end
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
<li><%= link_to I18n.t(:info,:scope=>'home' ) %></li>
|
||||
<li><%= link_to I18n.t(:studien,:scope=>'home' ), studien_path %>
|
||||
</li>
|
||||
|
||||
<li><%= link_to "wiki intern", page_path(1) %>
|
||||
</li>
|
||||
</ul>
|
||||
<% if user_signed_in? %>
|
||||
<li>Logged in as : <%= current_user.email %>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<%= semantic_form_for @page do |f| %>
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :name %>
|
||||
<%= f.input :body, :as=>:text,:input_html=>{:style=>"width:100%"} %>
|
||||
<%= f.input :body, :as=>:text,:input_html=>{:style=>"width:100%;font-familiy:Times New Roman;"} %>
|
||||
<%= f.input :change_comment %>
|
||||
<% end %>
|
||||
<%= tinymce %>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
= breadcrumbs(@page)
|
||||
|
||||
%h4
|
||||
= "Page name: #{@page.name}"
|
||||
= "#{@page.name}"
|
||||
= link_to '(Edit)', edit_page_path(@page)
|
||||
= link_to '(Destroy)', @page, :remote => true, :confirm => 'Are you sure?', :method => :delete
|
||||
|
||||
|
||||
Reference in New Issue
Block a user