a lot of new models ...

Fotogallary, gremien, fetprofil,
This commit is contained in:
Andreas Stephanides
2013-08-19 15:39:56 +02:00
parent a19d708134
commit 34b602e126
107 changed files with 2615 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<%= semantic_form_for @fetprofile do |f| %>
<%= f.inputs do %>
<%= f.input :vorname %>
<%= f.input :nachname %>
<%= f.input :short %>
<%= f.input :fetmailalias %>
<%= f.input :desc %>
<%= f.input :picture %>
<%= f.input :active %>
<% end %>
<%= f.actions do %>
<%= f.action :submit, :as => :input %>
<% end %>
<% end %>

View File

@@ -0,0 +1,6 @@
<h1>Editing fetprofile</h1>
<%= render 'form' %>
<%= link_to 'Show', @fetprofile %> |
<%= link_to 'Back', fetprofiles_path %>

View File

@@ -0,0 +1,35 @@
<h1>Listing fetprofiles</h1>
<table>
<tr>
<th>Vorname</th>
<th>Nachname</th>
<th>Short</th>
<th>Fetmailalias</th>
<th>Desc</th>
<th>Picture</th>
<th>Active</th>
<th></th>
<th></th>
<th></th>
</tr>
<% @fetprofiles.each do |fetprofile| %>
<tr>
<td><%= fetprofile.vorname %></td>
<td><%= fetprofile.nachname %></td>
<td><%= fetprofile.short %></td>
<td><%= fetprofile.fetmailalias %></td>
<td><%= fetprofile.desc %></td>
<td><%= fetprofile.picture %></td>
<td><%= fetprofile.active %></td>
<td><%= link_to 'Show', fetprofile %></td>
<td><%= link_to 'Edit', edit_fetprofile_path(fetprofile) %></td>
<td><%= link_to 'Destroy', fetprofile, method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</table>
<br />
<%= link_to 'New Fetprofile', new_fetprofile_path %>

View File

@@ -0,0 +1,5 @@
<h1>New fetprofile</h1>
<%= render 'form' %>
<%= link_to 'Back', fetprofiles_path %>

View File

@@ -0,0 +1,40 @@
<p id="notice"><%= notice %></p>
<p>
<b>Vorname:</b>
<%= @fetprofile.vorname %>
</p>
<p>
<b>Nachname:</b>
<%= @fetprofile.nachname %>
</p>
<p>
<b>Short:</b>
<%= @fetprofile.short %>
</p>
<p>
<b>Fetmailalias:</b>
<%= @fetprofile.fetmailalias %>
</p>
<p>
<b>Desc:</b>
<%= @fetprofile.desc %>
</p>
<p>
<b>Picture:</b>
<%= @fetprofile.picture %>
</p>
<p>
<b>Active:</b>
<%= @fetprofile.active %>
</p>
<%= link_to 'Edit', edit_fetprofile_path(@fetprofile) %> |
<%= link_to 'Back', fetprofiles_path %>